Cargo Features
embassy-executor has no features set by default.
[dependencies]
embassy-executor = { version = "0.3.3", features = ["arch-std", "arch-cortex-m", "arch-xtensa", "arch-riscv32", "arch-wasm", "executor-thread", "executor-interrupt", "nightly", "turbowakers", "integrated-timers", "rtos-trace-interrupt", "defmt", "log"] }
- arch-std
-
Enables std of critical-section
- arch-cortex-m
-
Enables cortex-m
arch-cortex-m dependencies
- arch-xtensa
- arch-riscv32
-
Enables portable-atomic
needed for riscv remove when https://github.com/rust-lang/rust/pull/114499 is merged
- arch-wasm
-
Enables js-sys and wasm-bindgen
wasm-bindgen:
arch-wasm dependencies
- executor-thread
-
Enable the thread-mode executor (using WFE/SEV in Cortex-M, WFI in other embedded archs)
- executor-interrupt
-
Enable the interrupt-mode executor (available in Cortex-M only)
- nightly
-
Enable nightly-only features
- turbowakers
- integrated-timers
-
Enables embassy-time
- rtos-trace-interrupt = rtos-trace
-
Trace interrupt invocations with rtos-trace.
Enables rtos-trace-interrupt of embassy-macros
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features.
- defmt implicit feature
- log implicit feature
- rtos-trace rtos-trace-interrupt?
-
With default (trace_impl)