Cargo Features

ESP32 has no features set by default.

[dependencies]
esp32 = { version = "0.34.0", features = ["rt", "impl-register-debug", "defmt", "critical-section"] }
rt
impl-register-debug
defmt

Enables defmt

Features from optional dependencies

critical-section implicit feature

Enables critical-section

critical-section:

Cross-platform critical section