Cargo Features

embassy-sync has no features set by default.

[dependencies]
embassy-sync = { version = "0.6.1", features = ["std", "turbowakers", "defmt", "log"] }
std

Enables std of critical-section

Enable critical-section implementation for std, for tests

turbowakers

Features from optional dependencies

defmt implicit feature
log implicit feature

Enables log

log:

A lightweight logging facade for Rust