Cargo Features

[dependencies]
hidapi-rusb = { version = "1.3.3", default-features = false, features = ["linux-static-hidraw", "linux-static-rusb", "linux-shared-hidraw", "illumos-shared-libusb"] }
default = linux-static-rusb

The linux-static-rusb feature is set by default whenever hidapi-rusb is added without default-features = false somewhere in the dependency tree.

linux-static-libusb linux-static-hidraw
linux-static-rusb default = rusb
linux-shared-libusb linux-shared-hidraw
illumos-static-libusb illumos-shared-libusb

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

rusb linux-static-rusb