[dependencies.cfg-if]
version = "1.0.0"
[dependencies.critical-section]
version = "1.1"
[dependencies.defmt]
optional = true
version = "0.3"
[dependencies.embedded-io-async]
version = "0.6.1"
[dependencies.futures-sink]
default-features = false
features = []
version = "0.3"
[dependencies.futures-util]
default-features = false
version = "0.3.17"
[dependencies.heapless]
version = "0.8"
[dependencies.log]
optional = true
version = "0.4.14"
[dev-dependencies.critical-section]
features = ["std"]
version = "1.1"
[dev-dependencies.futures-executor]
features = ["thread-pool"]
version = "0.3.17"
[dev-dependencies.futures-test]
version = "0.3.17"
[dev-dependencies.futures-timer]
version = "3.0.2"
[dev-dependencies.futures-util]
features = ["channel", "sink"]
version = "0.3.17"
[dev-dependencies.static_cell]
version = "2"
[features]
std = ["critical-section/std"]
turbowakers = []
[lib]
name = "embassy_sync"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
categories = ["embedded", "no-std", "concurrency", "asynchronous"]
description = "no-std, no-alloc synchronization primitives with async support"
documentation = "https://docs.embassy.dev/embassy-sync"
edition = "2021"
license = "MIT OR Apache-2.0"
name = "embassy-sync"
readme = "README.md"
repository = "https://github.com/embassy-rs/embassy"
version = "0.6.1"
[package.metadata.embassy_docs]
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-sync-v$VERSION/embassy-sync/src/"
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-sync/src/"
target = "thumbv7em-none-eabi"