Cargo Features

[dependencies]
stm32g4 = { version = "0.15.1", default-features = false, features = ["rt", "stm32g431", "stm32g441", "stm32g471", "stm32g473", "stm32g474", "stm32g483", "stm32g484", "stm32g491", "stm32g4a1"] }
default = rt

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

rt default

Enables device of cortex-m-rt

stm32g431

Affects stm32g4::stm32g431

stm32g441

Affects stm32g4::stm32g441

stm32g471

Affects stm32g4::stm32g471

stm32g473

Affects stm32g4::stm32g473

stm32g474

Affects stm32g4::stm32g474

stm32g483

Affects stm32g4::stm32g483

stm32g484

Affects stm32g4::stm32g484

stm32g491

Affects stm32g4::stm32g491

stm32g4a1

Affects stm32g4::stm32g4a1

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