[package]
edition = "2024"
rust-version = "1.89"
name = "mmdb"
version = "3.2.2"
authors = ["hui.fan@mail.ru"]
build = false
exclude = [".github/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The storage engine behind vsdb — a pure-Rust LSM-Tree key-value store"
homepage = "https://github.com/rust-util-collections/mmdb"
documentation = "https://docs.rs/mmdb"
readme = "README.md"
keywords = [
"rocksdb",
"leveldb",
"kv",
"database",
"db",
]
categories = ["database-implementations"]
license = "MIT"
repository = "https://github.com/rust-util-collections/mmdb"
[features]
default = []
test-utils = []
[lib]
name = "mmdb"
path = "src/lib.rs"
[[example]]
name = "test_iter_perf"
path = "examples/test_iter_perf.rs"
[[example]]
name = "test_rev"
path = "examples/test_rev.rs"
[[example]]
name = "test_rev2"
path = "examples/test_rev2.rs"
[[test]]
name = "bidi_debug"
path = "tests/bidi_debug.rs"
[[test]]
name = "crash_recovery"
path = "tests/crash_recovery.rs"
[[test]]
name = "e2e_scenarios"
path = "tests/e2e_scenarios.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "lazy_delete"
path = "tests/lazy_delete.rs"
[[test]]
name = "proptest_db"
path = "tests/proptest_db.rs"
[[test]]
name = "scale_profile"
path = "tests/scale_profile.rs"
[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
[dependencies.arc-swap]
version = "1.8.2"
[dependencies.crc32fast]
version = "1"
[dependencies.lz4_flex]
version = "0.13"
[dependencies.moka]
version = "0.12"
features = ["sync"]
[dependencies.parking_lot]
version = "0.12"
[dependencies.ruc]
version = "10.0.0"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dependencies.zstd]
version = "0.13"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1