Cargo Features

[dependencies]
stm32l5 = { version = "0.15.1", default-features = false, features = ["rt", "stm32l552", "stm32l562"] }
default = rt

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

rt default

Enables device of cortex-m-rt

stm32l552

Affects stm32l5::stm32l552

stm32l562

Affects stm32l5::stm32l562

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