[workspace]
members = ["test-suite"]
[package]
name = "crossfire"
version = "3.0.2"
authors = ["plan <frostyplanet@gmail.com>"]
edition = "2021"
license = "Apache-2.0"
homepage = "https://github.com/frostyplanet/crossfire-rs"
readme = "README.md"
repository = "https://github.com/frostyplanet/crossfire-rs"
documentation = "https://docs.rs/crossfire"
keywords = ["async", "non-blocking", "lock-free", "channel"]
categories = ["concurrency", "data-structures"]
exclude = ["/ci/*", "/bors.toml"]
description = "channels for async and threads"
rust-version = "1.61"
[dependencies]
crossbeam-utils = "0.8"
futures-core = "0.3"
parking_lot = "0"
tokio = { version = "1", features = ["time", "rt"], optional=true }
async-std = {version = "1", optional=true}
log = { version="0", optional=true}
smallvec = "1"
[dev-dependencies]
log = "0"
tokio = { version = "1", features = ["time", "sync", "rt-multi-thread", "rt", "macros"] }
[features]
default = []
compat = []
tokio = ["dep:tokio"]
async_std = ["dep:async-std"]
trace_log = ["dep:log"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]