unsync 0.2.0

Unsynchronized synchronization primitives for async Rust.
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"
rust-version = "1.85.0"
name = "unsync"
version = "0.2.0"
authors = ["John-John Tedro <udoprog@tedro.se>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unsynchronized synchronization primitives for async Rust."
homepage = "https://github.com/udoprog/unsync"
documentation = "https://docs.rs/unsync"
readme = "README.md"
keywords = [
    "async",
    "futures",
    "io",
    "non-blocking",
]
categories = ["asynchronous"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/udoprog/unsync"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
alloc = ["dep:slab"]
default = [
    "std",
    "alloc",
]
std = []

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

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

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

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

[[bench]]
name = "channels"
path = "benches/channels.rs"
harness = false

[dependencies.slab]
version = "0.4.8"
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.4.0"

[dev-dependencies.tokio]
version = "1.27.0"
features = [
    "macros",
    "rt",
    "sync",
]