embassy-sync 0.8.0

no-std, no-alloc synchronization primitives with async support
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "embassy-sync"
version = "0.8.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "no-std, no-alloc synchronization primitives with async support"
documentation = "https://docs.embassy.dev/embassy-sync"
readme = "README.md"
categories = [
    "embedded",
    "no-std",
    "concurrency",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/embassy-rs/embassy"

[[package.metadata.embassy.build]]
target = "thumbv6m-none-eabi"
features = ["defmt"]

[[package.metadata.embassy.build]]
group = "xtensa"
build-std = [
    "core",
    "alloc",
]
target = "xtensa-esp32s2-none-elf"
features = ["defmt"]

[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"

[features]
defmt = ["dep:defmt"]
log = ["dep:log"]
std = []
turbowakers = []

[lib]
name = "embassy_sync"
path = "src/lib.rs"

[[test]]
name = "ui"
path = "tests/ui.rs"

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.critical-section]
version = "1.1"

[dependencies.defmt]
version = "1.0.1"
optional = true

[dependencies.embedded-io-async]
version = "0.7.0"

[dependencies.futures-core]
version = "0.3.31"
default-features = false

[dependencies.futures-sink]
version = "0.3"
features = []
default-features = false

[dependencies.heapless]
version = "0.9"

[dependencies.log]
version = "0.4.14"
optional = true

[dev-dependencies.critical-section]
version = "1.1"
features = ["std"]

[dev-dependencies.futures-executor]
version = "0.3.17"
features = ["thread-pool"]

[dev-dependencies.futures-test]
version = "0.3.17"

[dev-dependencies.futures-timer]
version = "3.0.2"

[dev-dependencies.futures-util]
version = "0.3.17"
features = [
    "channel",
    "sink",
]

[dev-dependencies.static_cell]
version = "2"

[dev-dependencies.trybuild]
version = "1.0.105"