Cargo Features

[dependencies]
stm32g0 = { version = "0.15.1", default-features = false, features = ["rt", "stm32g030", "stm32g031", "stm32g041", "stm32g050", "stm32g051", "stm32g061", "stm32g070", "stm32g071", "stm32g081", "stm32g0b0", "stm32g0b1", "stm32g0c1"] }
default = rt

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

rt default

Enables device of cortex-m-rt

stm32g030

Affects stm32g0::stm32g030

stm32g031

Affects stm32g0::stm32g031

stm32g041

Affects stm32g0::stm32g041

stm32g050

Affects stm32g0::stm32g050

stm32g051

Affects stm32g0::stm32g051

stm32g061

Affects stm32g0::stm32g061

stm32g070

Affects stm32g0::stm32g070

stm32g071

Affects stm32g0::stm32g071

stm32g081

Affects stm32g0::stm32g081

stm32g0b0

Affects stm32g0::stm32g0b0

stm32g0b1

Affects stm32g0::stm32g0b1

stm32g0c1

Affects stm32g0::stm32g0c1

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