[package]
edition = "2024"
rust-version = "1.85"
name = "rust-tango"
version = "0.1.2"
build = false
exclude = ["Cargo.lock"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lock-free, high-performance IPC channel inspired by Firedancer's Tango"
homepage = "https://github.com/0xfinetuned/rust-tango"
documentation = "https://docs.rs/rust-tango"
readme = "README.md"
keywords = [
"lock-free",
"channel",
"ipc",
"spsc",
"zero-copy",
]
categories = [
"concurrency",
"data-structures",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/0xfinetuned/rust-tango"
[features]
default = ["std"]
loom = ["dep:loom"]
std = []
[lib]
name = "rust_tango"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "flow_control"
path = "examples/flow_control.rs"
[[example]]
name = "metrics"
path = "examples/metrics.rs"
[[test]]
name = "loom"
path = "tests/loom.rs"
required-features = ["loom"]
[[test]]
name = "proptest"
path = "tests/proptest.rs"
[[bench]]
name = "channel_comparison"
path = "benches/channel_comparison.rs"
harness = false
[dependencies.loom]
version = "0.7"
optional = true
[dependencies.thiserror]
version = "2.0.18"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.crossbeam-channel]
version = "0.5"
[dev-dependencies.loom]
version = "0.7"
[dev-dependencies.proptest]
version = "1.5"
[dev-dependencies.ringbuf]
version = "0.4"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]