Cargo Features
[dependencies]
jcm = { version = "0.2.3", default-features = false, features = ["usb", "e2e-tests", "jcm-service"] }
- default = usb
-
The
usb
feature is set by default wheneverjcm
is added without
somewhere in the dependency tree.default-features = false - usb default e2e-tests? jcm-service? = crossbeam, futures-lite, nusb, smol-timeout
-
Affects
jcm::usb
… - e2e-tests = usb
- jcm-service = usb
-
Affects
usb::JCM_REQUEST_EP
,usb::JCM_RESPONSE_EP
…
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.