[package]
edition = "2021"
name = "kanal-plus"
version = "0.2.0"
authors = ["Khashayar Fereidani"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fork of kanal with extra features (drain_into_blocking, into_stream)"
documentation = "https://docs.rs/kanal-plus"
readme = "README.md"
keywords = [
"channel",
"mpsc",
"mpmc",
"async",
]
categories = [
"concurrency",
"data-structures",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/acking-you/kanal"
[features]
async = ["futures-core"]
default = ["async"]
std-mutex = []
[lib]
name = "kanal_plus"
path = "src/lib.rs"
[[test]]
name = "async_test"
path = "tests/async_test.rs"
[[test]]
name = "sync_test"
path = "tests/sync_test.rs"
[[bench]]
name = "async"
path = "benches/async.rs"
harness = false
[[bench]]
name = "common"
path = "benches/common.rs"
[[bench]]
name = "sync"
path = "benches/sync.rs"
harness = false
[dependencies.branches]
version = "0.3"
[dependencies.cacheguard]
version = "0.1"
[dependencies.futures-core]
version = "0.3"
optional = true
[dependencies.lock_api]
version = "0.4"
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.criterion]
version = "0.4"
[dev-dependencies.crossbeam]
version = "0.8"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"test-util",
"macros",
]