Cargo Features

[dependencies]
stm32l0x1-hal = { version = "0.11.0", default-features = false, features = ["STM32L011x4", "STM32L031x6", "rt"] }
default = rt

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

STM32L011x3 STM32L011x4

Affects i2c::stm32l011x3_4, serial::stm32l011x3_4

STM32L031x4 STM32L031x6

Affects i2c::stm32l031x4_6, serial::stm32l031x4_6

rt default

Enables stm32l0