[package]
name = "mindb"
version = "0.1.2"
edition = "2024"
rust-version = "1.85"
description = "Lightweight embedded key–value store with write-ahead log and zstd compression."
license = "MIT"
readme = "README.md"
documentation = "https://docs.rs/mindb"
keywords = ["kv", "database", "embedded", "storage"]
categories = ["database-implementations", "data-structures"]
exclude = [
"/.gitignore",
"/.github/*",
"/target/*",
"/benches/*",
"/benchmarks/*",
"/examples/*",
"/scripts/*",
"/tests/data/*",
"/docs/*",
]
[features]
default = []
bench_alloc = []
jammdb_bench = []
native_db_bench = []
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
xxhash-rust = { version = "0.8", features = ["xxh3"] }
zstd = "0.12"
sha2 = "0.10"
uuid = { version = "1", features = ["v4"] }
crossbeam-skiplist = "0.1"
crossbeam-utils = "0.8"
parking_lot = "0.12"
libc = "0.2"
smallvec = "1.13"
ahash = "0.8"
hashbrown = "0.14"
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
tempfile = "3"
rusqlite = { version = "0.29", features = ["bundled"] }
sled = "0.34"
jammdb = "0.8"
native_db = "0.8.1"
native_model = "0.4.20"
once_cell = "1"
[profile.bench]
opt-level = 3
codegen-units = 1
lto = "thin"
[[bench]]
name = "config_bench"
harness = false
[[bench]]
name = "group_commit_bench"
harness = false
[[bench]]
name = "rusqlite_compare"
harness = false
[[bench]]
name = "kv_variants"
harness = false
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[badges]
docsrs = { repository = "https://docs.rs/mindb" }