[package]
edition = "2024"
name = "noxu-rep"
version = "7.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Replication and high availability for Noxu DB"
homepage = "https://codeberg.org/gregburd/noxu"
readme = "README.md"
keywords = [
"database",
"embedded",
"transactional",
"btree",
"wal",
]
categories = [
"database-implementations",
"data-structures",
"concurrency",
]
license = "Apache-2.0 OR MIT"
repository = "https://codeberg.org/gregburd/noxu"
resolver = "2"
[package.metadata.docs.rs]
features = ["tls-rustls"]
targets = ["x86_64-unknown-linux-gnu"]
[features]
quic = [
"dep:quinn",
"dep:tokio",
"dep:bytes",
"tls-rustls",
]
test-harness = []
tls-native = ["dep:native-tls"]
tls-rustls = [
"dep:rustls",
"dep:rustls-pemfile",
"dep:rcgen",
]
[lib]
name = "noxu_rep"
path = "src/lib.rs"
[[test]]
name = "acceptor_persistence_test"
path = "tests/acceptor_persistence_test.rs"
[[test]]
name = "arbiter_election_test"
path = "tests/arbiter_election_test.rs"
[[test]]
name = "auto_bootstrap_test"
path = "tests/auto_bootstrap_test.rs"
[[test]]
name = "cc2_feeder_integration_test"
path = "tests/cc2_feeder_integration_test.rs"
[[test]]
name = "cc2b_wal_vlsn_autofeed_test"
path = "tests/cc2b_wal_vlsn_autofeed_test.rs"
[[test]]
name = "chained_replication_test"
path = "tests/chained_replication_test.rs"
[[test]]
name = "chaos_test"
path = "tests/chaos_test.rs"
[[test]]
name = "cluster_integration_test"
path = "tests/cluster_integration_test.rs"
[[test]]
name = "dispatcher_bounds_test"
path = "tests/dispatcher_bounds_test.rs"
[[test]]
name = "election_driver_test"
path = "tests/election_driver_test.rs"
[[test]]
name = "feeder_spawn_test"
path = "tests/feeder_spawn_test.rs"
[[test]]
name = "group_admin_test"
path = "tests/group_admin_test.rs"
[[test]]
name = "inmem_transport_test"
path = "tests/inmem_transport_test.rs"
[[test]]
name = "je_acceptor_test"
path = "tests/je_acceptor_test.rs"
[[test]]
name = "je_ranking_proposer_test"
path = "tests/je_ranking_proposer_test.rs"
[[test]]
name = "je_rep_stream_tck"
path = "tests/je_rep_stream_tck.rs"
[[test]]
name = "je_rep_top_level_tck"
path = "tests/je_rep_top_level_tck.rs"
[[test]]
name = "je_rep_txn_tck"
path = "tests/je_rep_txn_tck.rs"
[[test]]
name = "je_vlsn_index_test"
path = "tests/je_vlsn_index_test.rs"
[[test]]
name = "network_restore_dispatcher_test"
path = "tests/network_restore_dispatcher_test.rs"
[[test]]
name = "peer_allowlist_tls_test"
path = "tests/peer_allowlist_tls_test.rs"
[[test]]
name = "peer_scanner_bounds_test"
path = "tests/peer_scanner_bounds_test.rs"
[[test]]
name = "phi_detector_test"
path = "tests/phi_detector_test.rs"
[[test]]
name = "prop_tests"
path = "tests/prop_tests.rs"
[[test]]
name = "quorum_policy_test"
path = "tests/quorum_policy_test.rs"
[[test]]
name = "rep10_consistency_policy_test"
path = "tests/rep10_consistency_policy_test.rs"
[[test]]
name = "rep1_step5_live_syncup_test"
path = "tests/rep1_step5_live_syncup_test.rs"
[[test]]
name = "rep5_vlsn_dispatch_test"
path = "tests/rep5_vlsn_dispatch_test.rs"
[[test]]
name = "rep6_replica_shared_index_test"
path = "tests/rep6_replica_shared_index_test.rs"
[[test]]
name = "rep7_crash_consistency_test"
path = "tests/rep7_crash_consistency_test.rs"
[[test]]
name = "rep7_live_read_test"
path = "tests/rep7_live_read_test.rs"
[[test]]
name = "rep9_ack_wiring_test"
path = "tests/rep9_ack_wiring_test.rs"
[[test]]
name = "replica_ack_policy_test"
path = "tests/replica_ack_policy_test.rs"
[[test]]
name = "replica_scale_test"
path = "tests/replica_scale_test.rs"
[[test]]
name = "tcp_integration"
path = "tests/tcp_integration.rs"
[[test]]
name = "torture_test"
path = "tests/torture_test.rs"
[[test]]
name = "vlsn_persistence_test"
path = "tests/vlsn_persistence_test.rs"
[dependencies.bytes]
version = "1"
optional = true
[dependencies.crc32fast]
version = "1"
[dependencies.hashbrown]
version = "0.15"
[dependencies.libc]
version = "0.2"
[dependencies.log]
version = "0.4"
[dependencies.native-tls]
version = "0.2"
optional = true
[dependencies.noxu-dbi]
version = "7.2.1"
[dependencies.noxu-engine]
version = "7.2.1"
[dependencies.noxu-log]
version = "7.2.1"
[dependencies.noxu-recovery]
version = "7.2.1"
[dependencies.noxu-sync]
version = "7.2.1"
[dependencies.noxu-tree]
version = "7.2.1"
[dependencies.noxu-txn]
version = "7.2.1"
[dependencies.noxu-util]
version = "7.2.1"
[dependencies.quinn]
version = "0.11"
optional = true
[dependencies.quoracle]
version = "1.2.1"
[dependencies.rcgen]
version = "0.13"
optional = true
[dependencies.rustls]
version = "0.23"
features = [
"ring",
"std",
]
optional = true
default-features = false
[dependencies.rustls-pemfile]
version = "2"
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"io-util",
"time",
]
optional = true
[dev-dependencies.bytes]
version = "1"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
large_stack_frames = "warn"
large_types_passed_by_value = "warn"
or_fun_call = "warn"
redundant_clone = "warn"
undocumented_unsafe_blocks = "warn"
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(noxu_shuttle)"]