Cargo Features

[dependencies]
efm32pg22-pac = { version = "0.1.4", default-features = false, features = ["rt", "critical-section", "efm32pg22c200"] }
default = rt

The rt feature is set by default whenever efm32pg22-pac is added without default-features = false somewhere in the dependency tree.

rt default

Enables device of cortex-m-rt

critical-section

Enables critical-section

efm32pg22c200

Affects efm32pg22-pac::efm32pg22c200

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.

cortex-m-rt rt