nodedb-bridge 0.2.0

Lock-free SPSC ring buffer bridging Tokio (Send) and Thread-per-Core (! Send) runtimes
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.94"
name = "nodedb-bridge"
version = "0.2.0"
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"
documentation = "https://docs.rs/nodedb-bridge"
readme = "README.md"
keywords = [
    "spsc",
    "ring-buffer",
    "lock-free",
    "ipc",
    "bridge",
]
categories = [
    "concurrency",
    "data-structures",
]
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

[[bench]]
name = "wfq_fairness"
path = "benches/wfq_fairness.rs"
harness = false

[dependencies.libc]
version = "0.2"

[dependencies.nodedb-types]
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",
]