Cargo Features
[dependencies]
spatial_led = { version = "0.2.0", default-features = false, features = ["std", "drivers", "scheduler", "named_colors", "libm", "core-simd", "async", "spin_sleep"] }
- default = drivers, scheduler, spin_sleep, std
-
These default features are set whenever
spatial_led
is added without
somewhere in the dependency tree.default-features = false - std default spin_sleep
-
Enables std of glam and palette
glam:
enable support for the standard library
Affects
driver::Driver
,scheduler::Scheduler
,time::StdSleeper
,scheduler::Scheduler
… - drivers default = compact_str, sled_driver_macros
-
Affects
spatial_led::driver
… - scheduler default
-
Affects
spatial_led::scheduler
… - named_colors
-
Affects
color::consts
… - libm
- core-simd
-
glam:
experimental nightly portable-simd support
- async
- spin_sleep default = std
-
Enables spin_sleep
Affects
time::SpinSleeper
,scheduler::Scheduler
…
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.