Cargo Features
[dependencies]
adi = { version = "0.13.0-pre2", default-features = false, features = ["screen", "speaker", "mic", "hid", "sensor", "gpio", "checks"] }
- default = hid, mic, screen, speaker
-
These default features are set whenever
adi
is added without
somewhere in the dependency tree.default-features = false - screen default = afi, ami, barg, dl_api, hid
-
Affects
adi::screen
… - speaker default = dl_api
-
Affects
adi::speaker
… - mic default
-
Affects
adi::mic
… - hid default screen
-
Affects
adi::hid
… - net drive usb bluetooth cam gps sensor
- gpio
- checks
-
Vulkan validation layers
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.