Cargo Features
[dependencies]
efm32pg-pac = { version = "0.1.4", default-features = false, features = ["rt", "critical-section", "efm32pg12b500", "efm32pg1b100", "efm32pg1b200"] }
- default = rt
-
The
rt
feature is set by default wheneverefm32pg-pac
is added without
somewhere in the dependency tree.default-features = false - rt default
-
Enables device of cortex-m-rt
- critical-section
-
Enables critical-section
- efm32pg12b500
-
Affects
efm32pg-pac::efm32pg12b500
… - efm32pg1b100
-
Affects
efm32pg-pac::efm32pg1b100
… - efm32pg1b200
-
Affects
efm32pg-pac::efm32pg1b200
…
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.