2019-09-14 09:06:23 +00:00
|
|
|
[package]
|
|
|
|
name = "sled"
|
2023-07-29 10:31:26 +00:00
|
|
|
version = "1.0.0-alpha.103"
|
2023-07-28 12:13:32 +00:00
|
|
|
edition = "2021"
|
|
|
|
authors = ["Tyler Neely <tylerneely@gmail.com>"]
|
|
|
|
documentation = "https://docs.rs/sled/"
|
2020-11-13 12:30:56 +00:00
|
|
|
description = "Lightweight high-performance pure-rust transactional embedded database."
|
2019-09-14 09:06:23 +00:00
|
|
|
license = "MIT/Apache-2.0"
|
|
|
|
homepage = "https://github.com/spacejam/sled"
|
|
|
|
repository = "https://github.com/spacejam/sled"
|
2020-11-13 12:30:56 +00:00
|
|
|
keywords = ["redis", "mongo", "sqlite", "lmdb", "rocksdb"]
|
2019-09-14 09:06:23 +00:00
|
|
|
categories = ["database-implementations", "concurrency", "data-structures", "algorithms", "caching"]
|
2019-10-16 15:42:59 +00:00
|
|
|
readme = "README.md"
|
2019-12-25 11:44:30 +00:00
|
|
|
exclude = ["benchmarks", "examples", "bindings", "scripts", "experiments"]
|
2018-09-22 21:47:17 +00:00
|
|
|
|
2023-07-30 11:38:18 +00:00
|
|
|
[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 = []
|
|
|
|
|
2019-09-14 09:06:23 +00:00
|
|
|
[dependencies]
|
2023-07-28 12:13:32 +00:00
|
|
|
bincode = "1.3.3"
|
|
|
|
cache-advisor = "1.0.12"
|
|
|
|
concurrent-map = { version = "5.0.27", features = ["serde"] }
|
2023-07-29 09:54:26 +00:00
|
|
|
crc32fast = "1.3.2"
|
2023-07-28 12:13:32 +00:00
|
|
|
ebr = "0.2.8"
|
2023-07-29 09:54:26 +00:00
|
|
|
inline-array = { version = "0.1.11", features = ["serde", "concurrent_map_minimum"] }
|
|
|
|
fs2 = "0.4.3"
|
2023-07-28 12:13:32 +00:00
|
|
|
log = "0.4.19"
|
2023-07-29 09:54:26 +00:00
|
|
|
pagetable = "0.4.3"
|
2023-07-28 12:13:32 +00:00
|
|
|
parking_lot = { version = "0.12.1", features = ["arc_lock"] }
|
2023-07-29 09:54:26 +00:00
|
|
|
rayon = "1.7.0"
|
2023-07-28 12:13:32 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
stack-map = { version = "1.0.3", features = ["serde"] }
|
|
|
|
zstd = "0.12.4"
|
2023-07-29 09:54:26 +00:00
|
|
|
fnv = "1.0.7"
|
|
|
|
fault-injection = "1.0.9"
|
|
|
|
crossbeam-queue = "0.3.8"
|
|
|
|
crossbeam-channel = "0.5.8"
|
2019-09-14 09:06:23 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-07-28 12:13:32 +00:00
|
|
|
env_logger = "0.10.0"
|
|
|
|
heed = "0.11.0"
|
|
|
|
num-format = "0.4.4"
|
|
|
|
rocksdb = "0.21.0"
|
|
|
|
rusqlite = "0.29.0"
|
2023-07-28 12:25:08 +00:00
|
|
|
old_sled = { version = "0.34", package = "sled" }
|
2023-07-30 11:38:18 +00:00
|
|
|
rand = "0.8.5"
|
|
|
|
quickcheck = "1.0.3"
|
|
|
|
rand_distr = "0.4.3"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "test_crash_recovery"
|
|
|
|
path = "tests/test_crash_recovery.rs"
|
|
|
|
harness = false
|
|
|
|
|