Cargo Features
[dependencies]
emcell = { version = "0.0.3", default-features = false, features = ["build-rs", "rt-crate-cortex-m-rt"] }
- default = rt-crate-cortex-m-rt
-
The
rt-crate-cortex-m-rt
feature is set by default wheneveremcell
is added without
somewhere in the dependency tree.default-features = false - build-rs
- rt-crate-cortex-m-rt default = cortex-m
-
Affects
build_rs::build_rs
,device::init_memory
,device::switch_vectors
…
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.