melange_db 0.2.2

基于 sled 架构深度优化的下一代高性能嵌入式数据库,支持 ARM64 NEON SIMD 优化、多级缓存和布隆过滤器
Documentation
[[bench]]
harness = false
name = "basic_benchmark"
path = "benches/basic_benchmark.rs"

[dependencies.bincode]
version = "1.3.3"

[dependencies.cache-advisor]
version = "1.0.16"

[dependencies.chrono]
features = ["serde"]
version = "0.4"

[dependencies.concurrent-map]
features = ["serde"]
version = "5.0.31"

[dependencies.crc32fast]
version = "1.3.2"

[dependencies.crossbeam-channel]
version = "0.5.8"

[dependencies.crossbeam-queue]
version = "0.3.8"

[dependencies.dashmap]
version = "5.5.3"

[dependencies.ebr]
version = "0.2.13"

[dependencies.fault-injection]
version = "1.0.10"

[dependencies.fnv]
version = "1.0.7"

[dependencies.fs2]
version = "0.4.3"

[dependencies.inline-array]
features = ["serde", "concurrent_map_minimum"]
version = "0.1.13"

[dependencies.lz4_flex]
version = "0.11"

[dependencies.mimalloc]
optional = true
version = "0.1"

[dependencies.pagetable]
version = "0.4.5"

[dependencies.parking_lot]
features = ["arc_lock"]
version = "0.12.1"

[dependencies.rat_logger]
version = "0.2.8"

[dependencies.rayon]
version = "1.7.0"

[dependencies.serde]
features = ["derive"]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.stack-map]
features = ["serde"]
version = "1.0.5"

[dependencies.tempdir]
version = "0.3.7"

[dependencies.tempfile]
version = "3.0"

[dependencies.zstd]
version = "0.12.4"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.env_logger]
version = "0.10.0"

[dev-dependencies.libc]
version = "0.2.147"

[dev-dependencies.num-format]
version = "0.4.4"

[dev-dependencies.quickcheck]
version = "1.0.3"

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.rand_distr]
version = "0.5"

[[example]]
name = "accurate_timing_demo"
path = "examples/accurate_timing_demo.rs"

[[example]]
name = "atomic_worker_test"
path = "examples/atomic_worker_test.rs"

[[example]]
name = "best_practices"
path = "examples/best_practices.rs"

[[example]]
name = "high_pressure_segqueue_test"
path = "examples/high_pressure_segqueue_test.rs"

[[example]]
name = "macbook_air_m1_compression_lz4"
path = "examples/macbook_air_m1_compression_lz4.rs"

[[example]]
name = "macbook_air_m1_compression_none"
path = "examples/macbook_air_m1_compression_none.rs"

[[example]]
name = "macbook_air_m1_compression_zstd"
path = "examples/macbook_air_m1_compression_zstd.rs"

[[example]]
name = "no_logger_test"
path = "examples/no_logger_test.rs"

[[example]]
name = "performance_demo"
path = "examples/performance_demo.rs"

[[example]]
name = "rat_logger_demo"
path = "examples/rat_logger_demo.rs"

[[example]]
name = "segqueue_unified_test"
path = "examples/segqueue_unified_test.rs"

[[example]]
name = "verify_atomic_operations"
path = "examples/verify_atomic_operations.rs"

[features]
compression-lz4 = []
compression-none = []
compression-zstd = []
default = []
for-internal-testing-only = []
mimalloc = ["dep:mimalloc"]
monotonic-behavior = []
testing-count-allocator = []
testing-shred-allocator = []

[lib]
name = "melange_db"
path = "src/lib.rs"

[package]
authors = ["0ldm0s <oldmos@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["database-implementations", "concurrency", "data-structures", "development-tools::profiling", "embedded"]
description = "基于 sled 架构深度优化的下一代高性能嵌入式数据库,支持 ARM64 NEON SIMD 优化、多级缓存和布隆过滤器"
documentation = "https://docs.rs/melange_db"
edition = "2024"
homepage = "https://github.com/0ldm0s/melange_db"
keywords = ["database", "embedded-database", "key-value-store", "performance", "optimization"]
license = "LGPL-3.0"
name = "melange_db"
readme = "README.md"
repository = "https://github.com/0ldm0s/melange_db"
version = "0.2.2"

[profile.release]
debug = 2
opt-level = 3
overflow-checks = true
panic = "abort"

[profile.test]
debug = 2
overflow-checks = true

[[test]]
name = "accurate_perf_test"
path = "tests/accurate_perf_test.rs"

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[[test]]
name = "low_end_x86_perf_test"
path = "tests/low_end_x86_perf_test.rs"

[[test]]
name = "macbook_air_m1_perf_test"
path = "tests/macbook_air_m1_perf_test.rs"

[[test]]
name = "mmap_performance_test"
path = "tests/mmap_performance_test.rs"

[[test]]
name = "optimization_performance_test"
path = "tests/optimization_performance_test.rs"

[[test]]
name = "performance_test"
path = "tests/performance_test.rs"

[[test]]
name = "raspberry_pi_perf_test"
path = "tests/raspberry_pi_perf_test.rs"

[[test]]
name = "smart_flush_test"
path = "tests/smart_flush_test.rs"

[[test]]
name = "surface_book_2_perf_test"
path = "tests/surface_book_2_perf_test.rs"