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 default-features = false somewhere in the dependency tree.

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

Enables libm of glam and palette

core-simd

Enables core-simd of glam

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.

compact_str drivers
sled_driver_macros drivers