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 wheneveroled_async
is added without
somewhere in the dependency tree.default-features = false - 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.