Cargo Features

[dependencies]
stm32f042 = { version = "0.6.3", default-features = false, features = ["rt"] }
default = rt

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

rt default

Enables device of cortex-m-rt ^0.6.1

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

Enables cortex-m-rt ^0.6.1