[package]
edition = "2024"
rust-version = "1.94"
name = "nodedb-bridge"
version = "0.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lock-free SPSC ring buffer bridging Tokio (Send) and Thread-per-Core (! Send) runtimes"
homepage = "https://nodedb.dev"
readme = "README.md"
license = "BUSL-1.1"
repository = "https://github.com/NodeDB-Lab/nodedb"
resolver = "2"
[features]
default = []
tokio = ["dep:tokio"]
[lib]
name = "nodedb_bridge"
path = "src/lib.rs"
[[test]]
name = "cross_runtime"
path = "tests/cross_runtime.rs"
[[test]]
name = "send_safety"
path = "tests/send_safety.rs"
[[test]]
name = "throughput"
path = "tests/throughput.rs"
[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false
[dependencies.libc]
version = "0.2"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1"
features = ["full"]
optional = true
[dependencies.tracing]
version = "0.1"
[dev-dependencies.fluxbench]
version = "0.1"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]