Cargo Features

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

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

rt default

stm32f042-hal has 2 features without comments.