[package]
name = "libsync"
version = "0.3.0"
edition = "2024"
license = "MIT OR Apache-2.0"
description = "A channels library"
repository = "https://github.com/coruscateor/libsync"
homepage = "https://coruscateor.com/projects/libsync"
keywords = ["crossbeam_queue", "scc", "tokio", "async", "channel"]
categories = ["asynchronous"]
[dependencies]
crossbeam = { version = "0.8.4", optional = true }
crossbeam-queue = { version = "0.3.12", optional = true }
tokio = { version = "1.49.0", features = ["sync", "time", "rt", "macros", "rt-multi-thread"], optional = true }
delegate = "0.13.5"
futures = "0.3.31"
parking_lot = { version = "0.12.5", optional = true }
paste = "1.0.15"
accessorise = "0.2.0"
inc_dec = "0.1.0"
scc = { version = "3.6.2", optional = true }
[features]
std = []
use_std_sync = []
use_parking_lot_sync = ["dep:parking_lot"]
use_parking_lot_fair_sync = ["dep:parking_lot"]
[package.metadata.docs.rs]
features = ["crossbeam", "crossbeam-queue", "tokio", "scc", "std", "use_parking_lot_sync"]
rustdoc-args = ["--cfg", "docsrs"]