Cargo Features
[dependencies]
spatial_led = { version = "0.1.1", default-features = false, features = ["drivers", "scheduler", "named_colors"] }
- default = drivers, scheduler
-
These default features are set whenever
spatial_led
is added without
somewhere in the dependency tree.default-features = false - drivers default = compact_str, sled_driver_macros
-
Affects
spatial_led::driver
… - scheduler default = spin_sleep
-
Affects
spatial_led::scheduler
… - named_colors
-
Affects
color::consts
…
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.