Cargo Features

[dependencies]
stm32f0 = { version = "0.15.1", default-features = false, features = ["rt", "stm32f0x0", "stm32f0x1", "stm32f0x2", "stm32f0x8"] }
default = rt

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

rt default

Enables device of cortex-m-rt

stm32f0x0

Affects stm32f0::stm32f0x0

stm32f0x1

Affects stm32f0::stm32f0x1

stm32f0x2

Affects stm32f0::stm32f0x2

stm32f0x8

Affects stm32f0::stm32f0x8

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

cortex-m-rt rt