Cargo Features

[dependencies]
stm32f1 = { version = "0.15.1", default-features = false, features = ["rt", "stm32f100", "stm32f101", "stm32f102", "stm32f103", "stm32f107"] }
default = rt

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

rt default

Enables device of cortex-m-rt

stm32f100

Affects stm32f1::stm32f100

stm32f101

Affects stm32f1::stm32f101

stm32f102

Affects stm32f1::stm32f102

stm32f103

Affects stm32f1::stm32f103

stm32f107

Affects stm32f1::stm32f107

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