[package]
edition = "2021"
name = "fibre"
version = "0.5.1"
authors = ["Excerion Sun <dev@excsn.com>"]
build = false
exclude = ["/docs/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance, safe, memory-efficient sync/async channels built for real-time, low-overhead communication in concurrent Rust applications."
homepage = "https://github.com/excsn/fibre"
readme = "README.md"
keywords = [
"channel",
"mpmc",
"spsc",
"communication",
"concurrent",
]
categories = [
"concurrency",
"asynchronous",
"data-structures",
]
license = "MPL-2.0"
repository = "https://github.com/excsn/fibre"
[features]
default = ["topic"]
fibre_logging = ["dep:tokio"]
topic = ["dep:papaya"]
[lib]
name = "fibre"
path = "src/lib.rs"
[[example]]
name = "mpmc"
path = "examples/mpmc.rs"
[[example]]
name = "mpsc"
path = "examples/mpsc.rs"
[[example]]
name = "oneshot"
path = "examples/oneshot.rs"
[[example]]
name = "spmc"
path = "examples/spmc.rs"
[[example]]
name = "spsc"
path = "examples/spsc.rs"
[[test]]
name = "mpmc_async"
path = "tests/mpmc_async.rs"
[[test]]
name = "mpmc_repro"
path = "tests/mpmc_repro.rs"
[[test]]
name = "mpmc_sync"
path = "tests/mpmc_sync.rs"
[[test]]
name = "mpsc_async"
path = "tests/mpsc_async.rs"
[[test]]
name = "mpsc_sync"
path = "tests/mpsc_sync.rs"
[[test]]
name = "mpsc_v2_async"
path = "tests/mpsc_v2_async.rs"
[[test]]
name = "mpsc_v2_sync"
path = "tests/mpsc_v2_sync.rs"
[[test]]
name = "spmc_async"
path = "tests/spmc_async.rs"
[[test]]
name = "spmc_repro"
path = "tests/spmc_repro.rs"
[[test]]
name = "spmc_sync"
path = "tests/spmc_sync.rs"
[[test]]
name = "stress"
path = "tests/stress.rs"
[[test]]
name = "topic_spmc_async"
path = "tests/topic_spmc_async.rs"
required-features = ["topic"]
[[test]]
name = "topic_spmc_sync"
path = "tests/topic_spmc_sync.rs"
required-features = ["topic"]
[[bench]]
name = "mpmc_async"
path = "benches/mpmc_async.rs"
harness = false
[[bench]]
name = "mpmc_sync"
path = "benches/mpmc_sync.rs"
harness = false
[[bench]]
name = "mpsc_async"
path = "benches/mpsc_async.rs"
harness = false
[[bench]]
name = "mpsc_sync"
path = "benches/mpsc_sync.rs"
harness = false
[[bench]]
name = "mpsc_v2_async"
path = "benches/mpsc_v2_async.rs"
harness = false
[[bench]]
name = "mpsc_v2_sync"
path = "benches/mpsc_v2_sync.rs"
harness = false
[[bench]]
name = "oneshot"
path = "benches/oneshot.rs"
harness = false
[[bench]]
name = "spmc_async"
path = "benches/spmc_async.rs"
harness = false
[[bench]]
name = "spmc_sync"
path = "benches/spmc_sync.rs"
harness = false
[[bench]]
name = "spsc_async"
path = "benches/spsc_async.rs"
harness = false
[[bench]]
name = "spsc_sync"
path = "benches/spsc_sync.rs"
harness = false
[[bench]]
name = "topic_spmc_async"
path = "benches/topic_spmc_async.rs"
harness = false
required-features = ["topic"]
[[bench]]
name = "topic_spmc_sync"
path = "benches/topic_spmc_sync.rs"
harness = false
required-features = ["topic"]
[dependencies.futures-core]
version = "^0.3"
features = [
"alloc",
"std",
]
default-features = false
[dependencies.futures-intrusive]
version = "^0.5"
[dependencies.futures-util]
version = "^0.3"
features = [
"alloc",
"std",
]
default-features = false
[dependencies.lazy_static]
version = "^1"
[dependencies.papaya]
version = "^0"
optional = true
[dependencies.parking_lot]
version = "^0.12"
[dependencies.tokio]
version = "^1"
features = ["full"]
optional = true
[dev-dependencies.bench_matrix]
version = "0"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.rand]
version = "0.9"
[dev-dependencies.serial_test]
version = "^3"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[profile.dev]
opt-level = 1
debug = 2