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 whenever neon-rtos is added without default-features = false somewhere in the dependency tree.

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.

alloc-cortex-m cortex_m3
cortex-m cortex_m3
cortex-m-rt cortex_m3
embedded-alloc riscv?
riscv-rt riscv?

Enables riscv-rt ^0.12.2

spin cortex_m3