[package]
edition = "2024"
rust-version = "1.86.0"
name = "asyncband"
version = "0.7.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Composable, runtime-agnostic concurrency building blocks for async Rust."
homepage = "https://asyncband.apache.org"
documentation = "https://docs.rs/asyncband"
readme = "README.md"
keywords = [
"async",
"concurrency",
"synchronization",
"coordination",
"runtime-agnostic",
]
categories = [
"asynchronous",
"concurrency",
]
license = "Apache-2.0"
repository = "https://github.com/apache/asyncband"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
barrier = []
blocking = []
broadcast = []
completion = []
condvar = ["mutex"]
default = []
event = []
latch = []
lazy-cell = ["mutex"]
mpsc = []
mutex = []
once = ["semaphore"]
once-cell = ["semaphore"]
once-map = [
"dep:hashbrown",
"once-cell",
]
oneshot = []
pool = ["semaphore"]
rwlock = []
semaphore = []
shutdown = [
"latch",
"waitgroup",
]
singleflight = [
"dep:hashbrown",
"once-cell",
]
waitgroup = []
watch = []
[lib]
name = "asyncband"
path = "src/lib.rs"
[dependencies.hashbrown]
version = "0.17.1"
features = ["inline-more"]
optional = true
default-features = false
[dev-dependencies.tokio]
version = "1.53.1"
features = ["full"]
[lints.clippy]
dbg_macro = "deny"
module_inception = "allow"
[lints.rust]
unknown_lints = "deny"