crossfire 2.0.25

channels for async and threads
Documentation
[[bench]]
harness = false
name = "async_channel"
path = "benches/async_channel.rs"

[[bench]]
name = "common"
path = "benches/common.rs"

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

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

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

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

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

[dependencies.async-std]
optional = true
version = "1"

[dependencies.crossbeam]
version = "0.8"

[dependencies.enum_dispatch]
version = "0.3"

[dependencies.futures]
version = "0.3"

[dependencies.parking_lot]
version = "0"

[dependencies.tokio]
features = ["time"]
optional = true
version = "1"

[dev-dependencies.async-channel]
version = "2.5.0"

[dev-dependencies.captains-log]
features = ["ringfile"]
version = "0.8"

[dev-dependencies.criterion2]
features = ["async_tokio"]
version = "3.0.2"

[dev-dependencies.flume]
features = ["async"]
version = "0.11"

[dev-dependencies.kanal]
version = "0.1"

[dev-dependencies.log]
version = "0"

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.rstest]
version = "0"

[dev-dependencies.tokio]
features = ["time", "sync", "rt-multi-thread", "rt", "macros"]
version = "1"

[features]
async_std = ["dep:async-std"]
default = []
tokio = ["dep:tokio"]

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

[package]
authors = ["plan <frostyplanet@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["concurrency", "data-structures"]
description = "channels for async and threads"
documentation = "https://docs.rs/crossfire"
edition = "2021"
exclude = ["/ci/*", "/bors.toml"]
homepage = "https://github.com/frostyplanet/crossfire-rs"
keywords = ["async", "non-blocking", "lock-free", "channel"]
license = "Apache-2.0"
name = "crossfire"
readme = "README.md"
repository = "https://github.com/frostyplanet/crossfire-rs"
rust-version = "1.61"
version = "2.0.25"

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

[package.metadata.playground]
features = ["tokio"]