[package]
edition = "2021"
rust-version = "1.71"
name = "caducus"
version = "0.2.2"
authors = ["teeay"]
build = false
exclude = [
"docs/review-memory.md",
"AGENTS.md",
".claude",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bounded MPSC/SPSC channel with expiry"
homepage = "https://teeay.dev/caducus"
documentation = "https://docs.rs/caducus"
readme = "README.md"
keywords = [
"channel",
"async",
"ttl",
"mpsc",
"spsc",
]
categories = [
"asynchronous",
"concurrency",
"data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/teeay/caducus"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "caducus"
path = "src/lib.rs"
[[test]]
name = "caducus"
path = "tests/caducus.rs"
[[test]]
name = "concurrency"
path = "tests/concurrency.rs"
[[test]]
name = "performance"
path = "tests/performance.rs"
[[test]]
name = "ring_buffer"
path = "tests/ring_buffer.rs"
[dependencies.log]
version = "0.4"
[dependencies.tokio]
version = "1.37"
features = [
"sync",
"time",
"rt",
"macros",
]
[dev-dependencies.tokio]
version = "1.37"
features = [
"macros",
"rt",
"rt-multi-thread",
"time",
]