Cargo Features

[dependencies]
oled_async = { version = "0.1.0-alpha1", default-features = false, features = ["graphics", "stm32f1", "stm32f4", "stm32g4", "embassy-stm32", "i2c"] }
default = graphics

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

graphics default = embedded-graphics-core
stm32f1 = stm32f1xx-hal

These features are for development/testing

stm32f4 = stm32f4xx-hal
stm32g4 = stm32g4xx-hal
embassy-stm32

Enables embassy-stm32 and embassy-time

spi i2c

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.

embedded-graphics-core graphics
stm32f1xx-hal stm32f1?

Enables stm32f1xx-hal ^0.7.0

stm32f4xx-hal stm32f4?

Enables stm32f4xx-hal ^0.9

stm32g4xx-hal stm32g4?