Cargo Features

[dependencies]
stm32c0 = { version = "0.16.0", default-features = false, features = ["rt", "atomics", "stm32c011", "stm32c031", "stm32c071", "critical-section", "defmt"] }
default = critical-section, rt

These default features are set whenever stm32c0 is added without default-features = false somewhere in the dependency tree.

rt default

Enables device of cortex-m-rt

atomics

Enables portable-atomic

stm32c011

Affects stm32c0::stm32c011

stm32c031

Affects stm32c0::stm32c031

stm32c071

Affects stm32c0::stm32c071

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
defmt implicit feature