[dependencies.futures-core]
optional = true
version = "0.3"
[dependencies.lock_api]
version = "0.4"
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.crossbeam]
version = "0.8"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.tokio]
features = ["rt-multi-thread", "test-util", "macros"]
version = "1"
[features]
async = ["futures-core"]
default = ["async"]
std-mutex = []
[lib]
name = "kanal"
path = "src/lib.rs"
[package]
authors = ["Khashayar Fereidani"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["concurrency", "data-structures", "asynchronous"]
description = "The fast sync and async channel that Rust deserves"
documentation = "https://docs.rs/kanal"
edition = "2021"
keywords = ["channel", "mpsc", "mpmc", "async"]
license = "MIT"
name = "kanal"
readme = "README.md"
repository = "https://github.com/fereidani/kanal"
version = "0.1.1"
[[test]]
name = "async_test"
path = "tests/async_test.rs"
[[test]]
name = "sync_test"
path = "tests/sync_test.rs"