Cargo Features
ESP32 has no features set by default.
[dependencies]
esp32 = { version = "0.33.0", features = ["rt", "impl-register-debug", "defmt", "critical-section"] }
- default
-
These default features are set whenever
esp32
is added without
somewhere in the dependency tree.default-features = false - rt
- impl-register-debug
- defmt
-
Enables defmt
Features from optional dependencies
- critical-section implicit feature
-
Enables critical-section
critical-section:
Cross-platform critical section