Cargo Features
[dependencies]
pac22 = { version = "0.1.2", default-features = false, features = ["rt", "atomics", "pac22140", "critical-section"] }
- default = critical-section, rt
-
These default features are set whenever
pac22
is added without
somewhere in the dependency tree.default-features = false - rt default
-
Enables device of cortex-m-rt
- atomics
-
Enables portable-atomic
- pac22140
-
Affects
pac22::pac22140
…
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.
- critical-section default
- cortex-m-rt rt