Files

101 lines
2.1 KiB
TOML

# 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 = "2021"
rust-version = "1.60"
name = "async-channel"
version = "2.5.0"
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
build = false
exclude = ["/.*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async multi-producer multi-consumer channel"
readme = "README.md"
keywords = [
"mpmc",
"mpsc",
"spmc",
"chan",
"futures",
]
categories = [
"asynchronous",
"concurrency",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/smol-rs/async-channel"
[features]
default = ["std"]
portable-atomic = [
"concurrent-queue/portable-atomic",
"event-listener-strategy/portable-atomic",
"dep:portable-atomic-util",
"dep:portable-atomic",
]
std = [
"concurrent-queue/std",
"event-listener-strategy/std",
]
[lib]
name = "async_channel"
path = "src/lib.rs"
[[test]]
name = "bounded"
path = "tests/bounded.rs"
[[test]]
name = "unbounded"
path = "tests/unbounded.rs"
[dependencies.concurrent-queue]
version = "2.5"
default-features = false
[dependencies.event-listener-strategy]
version = "0.5.4"
default-features = false
[dependencies.futures-core]
version = "0.3.5"
default-features = false
[dependencies.pin-project-lite]
version = "0.2.11"
[dependencies.portable-atomic]
version = "1"
features = ["require-cas"]
optional = true
default-features = false
[dependencies.portable-atomic-util]
version = "0.2"
features = ["alloc"]
optional = true
default-features = false
[dev-dependencies.easy-parallel]
version = "3"
[dev-dependencies.futures-lite]
version = "2"
[target.'cfg(target_family = "wasm")'.dev-dependencies.wasm-bindgen-test]
version = "0.3.37"