Cargo Features
shared-bus has no features set by default.
[dependencies]
shared-bus = { version = "0.3.1", features = ["std", "xtensa", "cortex-m", "eh-alpha"] }
- std = once_cell
-
Affects
shared-bus::BusManagerStd
… - xtensa = spin, xtensa-lx
-
Affects
shared-bus::BusManagerXtensa
,mutex::XtensaMutex
… - cortex-m = atomic-polyfill
-
Enables cortex-m
Affects
shared-bus::BusManagerCortexM
,shared-bus::BusManagerAtomicCheck
,mutex::CortexMMutex
,mutex::AtomicCheckMutex
… - eh-alpha = embedded-hal-alpha
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.