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 wheneverhidapi-rusb
is added without
somewhere in the dependency tree.default-features = false - linux-static-libusb linux-static-hidraw
- linux-static-rusb default = rusb
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.