Cargo Features

[dependencies]
stm32l1xx-hal = { version = "0.1.0", default-features = false, features = ["rt", "stm32l100", "stm32l152", "stm32l162"] }
default = rt, stm32l162

These default features are set whenever stm32l1xx-hal is added without default-features = false somewhere in the dependency tree.

rt default

Enables rt of stm32l1 ^0.5.0

stm32l100

Enables stm32l100 of stm32l1 ^0.5.0

stm32l151 stm32l152

Enables stm32l151 of stm32l1 ^0.5.0

stm32l162 default

Enables stm32l162 of stm32l1 ^0.5.0

stm32l1xx-hal has 5 features without comments.