[package]
edition = "2024"
name = "noxu-db"
version = "4.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Noxu DB - An embedded transactional database engine"
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]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
[features]
default = []
observability = [
"dep:noxu-observe",
"dep:tracing",
"dep:metrics",
]
[lib]
name = "noxu_db"
path = "src/lib.rs"
[[bin]]
name = "crash_worker"
path = "src/bin/crash_worker.rs"
[[test]]
name = "compat_tests"
path = "tests/compat_tests.rs"
[[test]]
name = "concurrency_test"
path = "tests/concurrency_test.rs"
[[test]]
name = "concurrent_commits_stress"
path = "tests/concurrent_commits_stress.rs"
[[test]]
name = "concurrent_reads_during_splits"
path = "tests/concurrent_reads_during_splits.rs"
[[test]]
name = "crash_recovery_test"
path = "tests/crash_recovery_test.rs"
[[test]]
name = "cursor_test"
path = "tests/cursor_test.rs"
[[test]]
name = "db_iter_test"
path = "tests/db_iter_test.rs"
[[test]]
name = "disk_ordered_cursor_test"
path = "tests/disk_ordered_cursor_test.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "isolation_test"
path = "tests/isolation_test.rs"
[[test]]
name = "je_atomic_put_test"
path = "tests/je_atomic_put_test.rs"
[[test]]
name = "je_cursor_delete_test"
path = "tests/je_cursor_delete_test.rs"
[[test]]
name = "je_cursor_edge_test"
path = "tests/je_cursor_edge_test.rs"
[[test]]
name = "je_database_entry_test"
path = "tests/je_database_entry_test.rs"
[[test]]
name = "je_database_test"
path = "tests/je_database_test.rs"
[[test]]
name = "je_db_cursor_test"
path = "tests/je_db_cursor_test.rs"
[[test]]
name = "je_dup_cursor_test"
path = "tests/je_dup_cursor_test.rs"
[[test]]
name = "je_recovery_sr_test"
path = "tests/je_recovery_sr_test.rs"
[[test]]
name = "je_recovery_test"
path = "tests/je_recovery_test.rs"
[[test]]
name = "je_search_range_test"
path = "tests/je_search_range_test.rs"
[[test]]
name = "je_sr_regression_test"
path = "tests/je_sr_regression_test.rs"
[[test]]
name = "je_tree_test"
path = "tests/je_tree_test.rs"
[[test]]
name = "je_truncate_test"
path = "tests/je_truncate_test.rs"
[[test]]
name = "power_loss_sweep"
path = "tests/power_loss_sweep.rs"
[[test]]
name = "prop_tests"
path = "tests/prop_tests.rs"
[[test]]
name = "recovery_correctness_test"
path = "tests/recovery_correctness_test.rs"
[[test]]
name = "secondary_decisions_test"
path = "tests/secondary_decisions_test.rs"
[[test]]
name = "sorted_dup_test"
path = "tests/sorted_dup_test.rs"
[[test]]
name = "sustained_load_test"
path = "tests/sustained_load_test.rs"
[[test]]
name = "ttl_bin_split_regression_test"
path = "tests/ttl_bin_split_regression_test.rs"
[[test]]
name = "txn_config_test"
path = "tests/txn_config_test.rs"
[[test]]
name = "txn_wiring_test"
path = "tests/txn_wiring_test.rs"
[[test]]
name = "wave11n_secondary_dup_test"
path = "tests/wave11n_secondary_dup_test.rs"
[[test]]
name = "wave1a_f12_residuals_test"
path = "tests/wave1a_f12_residuals_test.rs"
[[bench]]
name = "api_bench"
path = "benches/api_bench.rs"
harness = false
[dependencies.bytes]
version = "1"
[dependencies.hashbrown]
version = "0.15"
[dependencies.log]
version = "0.4"
[dependencies.metrics]
version = "0.24"
optional = true
[dependencies.noxu-cleaner]
version = "4.0.0"
[dependencies.noxu-config]
version = "4.0.0"
[dependencies.noxu-dbi]
version = "4.0.0"
[dependencies.noxu-engine]
version = "4.0.0"
[dependencies.noxu-log]
version = "4.0.0"
[dependencies.noxu-observe]
version = "4.0.0"
optional = true
[dependencies.noxu-recovery]
version = "4.0.0"
[dependencies.noxu-sync]
version = "4.0.0"
[dependencies.noxu-txn]
version = "4.0.0"
[dependencies.noxu-util]
version = "4.0.0"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.noxu-dbi]
version = "4.0.0"
features = ["testing"]
[dev-dependencies.proptest]
version = "1"
[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"