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