Cargo Features

[dependencies]
aemics-stm32g4xx-hal = { version = "0.1.0", default-features = false, features = ["rt", "stm32g431", "stm32g441", "stm32g471", "stm32g473", "stm32g474", "stm32g483", "stm32g484", "stm32g491", "stm32g4a1", "log-itm", "log-rtt", "log-semihost", "defmt-logging"] }
default = rt, stm32g473

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

rt default

Enables rt of stm32g4

stm32g431

Enables stm32g431 of stm32g4

stm32g441

Enables stm32g441 of stm32g4

stm32g471

Enables stm32g471 of stm32g4

stm32g473 default

Enables stm32g473 of stm32g4

stm32g474

Enables stm32g474 of stm32g4

stm32g483

Enables stm32g483 of stm32g4

stm32g484

Enables stm32g484 of stm32g4

stm32g491

Enables stm32g491 of stm32g4

stm32g4a1

Enables stm32g4a1 of stm32g4

log-itm dev

Enables itm of cortex-m-log

log-rtt
log-semihost dev

Enables semihosting of cortex-m-log

defmt-logging = defmt

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.

[overflow_checks]

See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

defmt defmt-logging?