Cargo Features
[dependencies]
stm32f2 = { version = "0.15.1", default-features = false, features = ["rt", "stm32f215", "stm32f217"] }
- default = rt
-
The
rt
feature is set by default wheneverstm32f2
is added without
somewhere in the dependency tree.default-features = false - rt default
-
Enables device of cortex-m-rt
- stm32f215
-
Affects
stm32f2::stm32f215
… - stm32f217
-
Affects
stm32f2::stm32f217
…
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.