[package] name = "sled" version = "1.0.0-alpha.124" edition = "2021" authors = ["Tyler Neely "] documentation = "https://docs.rs/sled/" description = "Lightweight high-performance pure-rust transactional embedded database." license = "MIT OR Apache-2.0" homepage = "https://github.com/spacejam/sled" repository = "https://github.com/spacejam/sled" keywords = ["redis", "mongo", "sqlite", "lmdb", "rocksdb"] categories = ["database-implementations", "concurrency", "data-structures", "algorithms", "caching"] readme = "README.md" exclude = ["benchmarks", "examples", "bindings", "scripts", "experiments"] [features] # initializes allocated memory to 0xa1, writes 0xde to deallocated memory before freeing it testing-shred-allocator = [] # use a counting global allocator that provides the sled::alloc::{allocated, freed, resident, reset} functions testing-count-allocator = [] for-internal-testing-only = [] # turn off re-use of object IDs and heap slots, disable tree leaf merges, disable heap file truncation. monotonic-behavior = [] [profile.release] debug = true opt-level = 3 overflow-checks = true panic = "abort" [profile.test] debug = true overflow-checks = true panic = "abort" [dependencies] bincode = "1.3.3" cache-advisor = "1.0.16" concurrent-map = { version = "5.0.31", features = ["serde"] } crc32fast = "1.3.2" ebr = "0.2.13" inline-array = { version = "0.1.13", features = ["serde", "concurrent_map_minimum"] } fs2 = "0.4.3" log = "0.4.19" pagetable = "0.4.5" parking_lot = { version = "0.12.1", features = ["arc_lock"] } rayon = "1.7.0" serde = { version = "1.0", features = ["derive"] } stack-map = { version = "1.0.5", features = ["serde"] } zstd = "0.12.4" fnv = "1.0.7" fault-injection = "1.0.10" crossbeam-queue = "0.3.8" crossbeam-channel = "0.5.8" tempdir = "0.3.7" [dev-dependencies] env_logger = "0.10.0" num-format = "0.4.4" # heed = "0.11.0" # rocksdb = "0.21.0" # rusqlite = "0.29.0" # old_sled = { version = "0.34", package = "sled" } rand = "0.8.5" quickcheck = "1.0.3" rand_distr = "0.4.3" libc = "0.2.147" [[test]] name = "test_crash_recovery" path = "tests/test_crash_recovery.rs" harness = false