Cargo Features
[dependencies]
neon-rtos = { version = "0.1.4", default-features = false, features = ["cortex_m3", "riscv"] }
- default = cortex_m3
-
The
cortex_m3
feature is set by default wheneverneon-rtos
is added without
somewhere in the dependency tree.default-features = false - cortex_m3 default = alloc-cortex-m, cortex-m, cortex-m-rt, spin
- riscv = embedded-alloc, riscv-rt
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.