[package]
edition = "2024"
rust-version = "1.94"
name = "nodedb-cluster"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Distributed coordination layer for NodeDB — vShards, QUIC transport, and replication"
homepage = "https://nodedb.dev"
documentation = "https://docs.rs/nodedb-cluster"
readme = "README.md"
keywords = [
"cluster",
"distributed",
"vshard",
"quic",
"replication",
]
categories = [
"network-programming",
"database-implementations",
]
license = "BUSL-1.1"
repository = "https://github.com/NodeDB-Lab/nodedb"
resolver = "2"
[lib]
name = "nodedb_cluster"
path = "src/lib.rs"
[[test]]
name = "bootstrap_listener_join"
path = "tests/bootstrap_listener_join.rs"
[[test]]
name = "calvin_3node_normal"
path = "tests/calvin_3node_normal.rs"
[[test]]
name = "calvin_3node_shard_failover"
path = "tests/calvin_3node_shard_failover.rs"
[[test]]
name = "calvin_e2e_ollp"
path = "tests/calvin_e2e_ollp.rs"
[[test]]
name = "calvin_e2e_pgwire"
path = "tests/calvin_e2e_pgwire.rs"
[[test]]
name = "calvin_sequencer_failover"
path = "tests/calvin_sequencer_failover.rs"
[[test]]
name = "calvin_sequencer_starvation"
path = "tests/calvin_sequencer_starvation.rs"
[[test]]
name = "cluster_join"
path = "tests/cluster_join.rs"
[[test]]
name = "cluster_join_idempotent"
path = "tests/cluster_join_idempotent.rs"
[[test]]
name = "cluster_join_leader_crash"
path = "tests/cluster_join_leader_crash.rs"
[[test]]
name = "cluster_join_race"
path = "tests/cluster_join_race.rs"
[[test]]
name = "cluster_join_redirect"
path = "tests/cluster_join_redirect.rs"
[[test]]
name = "decommission_flow"
path = "tests/decommission_flow.rs"
[[test]]
name = "distributed_validation"
path = "tests/distributed_validation.rs"
[[test]]
name = "elastic_scaling"
path = "tests/elastic_scaling.rs"
[[test]]
name = "elastic_scaling_churn"
path = "tests/elastic_scaling_churn.rs"
[[test]]
name = "install_snapshot_basic"
path = "tests/install_snapshot_basic.rs"
[[test]]
name = "install_snapshot_chunked"
path = "tests/install_snapshot_chunked.rs"
[[test]]
name = "metadata_replication"
path = "tests/metadata_replication.rs"
[[test]]
name = "migration_crash_recovery"
path = "tests/migration_crash_recovery.rs"
[[test]]
name = "reachability_loop"
path = "tests/reachability_loop.rs"
[[test]]
name = "rebalancer_loop"
path = "tests/rebalancer_loop.rs"
[[test]]
name = "swim_routing_invalidation"
path = "tests/swim_routing_invalidation.rs"
[[test]]
name = "swim_udp_convergence"
path = "tests/swim_udp_convergence.rs"
[[test]]
name = "transport_security"
path = "tests/transport_security.rs"
[[test]]
name = "wire_version_handshake"
path = "tests/wire_version_handshake.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.crc32c]
version = "0.6"
[dependencies.futures]
version = "0.3"
[dependencies.hmac]
version = "0.12"
[dependencies.nexar]
version = "0.1"
[dependencies.nodedb-raft]
version = "0.2"
[dependencies.nodedb-types]
version = "0.2"
[dependencies.quinn]
version = "0.11"
[dependencies.rand]
version = "0.9"
[dependencies.redb]
version = "2"
[dependencies.rkyv]
version = "0.8"
features = ["alloc"]
[dependencies.rustls]
version = "0.23"
features = ["ring"]
default-features = false
[dependencies.rustls-pemfile]
version = "2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
features = ["oid"]
[dependencies.sonic-rs]
version = "0.5"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = [
"v4",
"v7",
"serde",
"js",
]
[dependencies.x509-parser]
version = "0.16"
[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]
[dependencies.zerompk]
version = "0.5"
features = [
"std",
"derive",
]
[dev-dependencies.rcgen]
version = "0.13"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"test-util",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]
[target.'cfg(target_os = "linux")'.dependencies.sd-notify]
version = "0.4"