[package]
edition = "2024"
rust-version = "1.94"
name = "nodedb-wal"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deterministic O_DIRECT write-ahead log with io_uring group commit"
homepage = "https://nodedb.dev"
documentation = "https://docs.rs/nodedb-wal"
readme = "README.md"
keywords = [
"wal",
"write-ahead-log",
"durability",
"io-uring",
"storage",
]
categories = [
"database-implementations",
"filesystem",
]
license = "BUSL-1.1"
repository = "https://github.com/NodeDB-Lab/nodedb"
resolver = "2"
[features]
default = []
io-uring = ["dep:io-uring"]
[lib]
name = "nodedb_wal"
path = "src/lib.rs"
[[test]]
name = "crash_recovery"
path = "tests/crash_recovery.rs"
[[test]]
name = "durability_stress"
path = "tests/durability_stress.rs"
[[test]]
name = "mmap_reader_madvise"
path = "tests/mmap_reader_madvise.rs"
[[test]]
name = "o_direct_alignment"
path = "tests/o_direct_alignment.rs"
[[test]]
name = "wal_collection_tombstone"
path = "tests/wal_collection_tombstone.rs"
[[test]]
name = "wal_encryption"
path = "tests/wal_encryption.rs"
[[bench]]
name = "wal_throughput"
path = "benches/wal_throughput.rs"
harness = false
[dependencies.aes-gcm]
version = "0.10"
[dependencies.crc32c]
version = "0.6"
[dependencies.getrandom]
version = "0.3"
features = ["std"]
[dependencies.io-uring]
version = "0.7"
optional = true
[dependencies.libc]
version = "0.2"
[dependencies.memmap2]
version = "0.9"
[dependencies.thiserror]
version = "2.0"
[dependencies.tracing]
version = "0.1"
[dependencies.zeroize]
version = "1"
features = ["derive"]
[dev-dependencies.fluxbench]
version = "0.1"
[dev-dependencies.io-uring]
version = "0.7"
[dev-dependencies.rand]
version = "0.9"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]