2019-09-14 09:06:23 +00:00
|
|
|
[package]
|
|
|
|
name = "sled"
|
2024-04-14 17:35:49 +00:00
|
|
|
version = "1.0.0-alpha.121"
|
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."
|
2023-08-05 08:32:23 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2019-09-14 09:06:23 +00:00
|
|
|
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
|
2023-08-05 13:34:47 +00:00
|
|
|
testing-shred-allocator = []
|
2023-07-30 11:38:18 +00:00
|
|
|
# use a counting global allocator that provides the sled::alloc::{allocated, freed, resident, reset} functions
|
2023-08-05 13:34:47 +00:00
|
|
|
testing-count-allocator = []
|
|
|
|
for-internal-testing-only = []
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
debug = true
|
|
|
|
opt-level = 3
|
|
|
|
overflow-checks = true
|
|
|
|
panic = "abort"
|
2023-07-30 11:38:18 +00:00
|
|
|
|
2023-08-26 09:24:14 +00:00
|
|
|
[profile.test]
|
|
|
|
debug = true
|
|
|
|
overflow-checks = true
|
2023-12-27 02:25:11 +00:00
|
|
|
panic = "abort"
|
2023-08-26 09:24:14 +00:00
|
|
|
|
2019-09-14 09:06:23 +00:00
|
|
|
[dependencies]
|
2023-07-28 12:13:32 +00:00
|
|
|
bincode = "1.3.3"
|
2023-08-06 14:29:23 +00:00
|
|
|
cache-advisor = "1.0.16"
|
2023-09-03 20:45:13 +00:00
|
|
|
concurrent-map = { version = "5.0.31", features = ["serde"] }
|
2023-07-29 09:54:26 +00:00
|
|
|
crc32fast = "1.3.2"
|
2023-11-11 23:00:42 +00:00
|
|
|
ebr = "0.2.11"
|
2023-08-06 14:29:23 +00:00
|
|
|
inline-array = { version = "0.1.12", features = ["serde", "concurrent_map_minimum"] }
|
2023-07-29 09:54:26 +00:00
|
|
|
fs2 = "0.4.3"
|
2023-07-28 12:13:32 +00:00
|
|
|
log = "0.4.19"
|
2023-08-06 14:29:23 +00:00
|
|
|
pagetable = "0.4.5"
|
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"] }
|
2023-08-06 14:29:23 +00:00
|
|
|
stack-map = { version = "1.0.5", features = ["serde"] }
|
2023-07-28 12:13:32 +00:00
|
|
|
zstd = "0.12.4"
|
2023-07-29 09:54:26 +00:00
|
|
|
fnv = "1.0.7"
|
2023-08-06 14:29:23 +00:00
|
|
|
fault-injection = "1.0.10"
|
2023-07-29 09:54:26 +00:00
|
|
|
crossbeam-queue = "0.3.8"
|
|
|
|
crossbeam-channel = "0.5.8"
|
2023-08-05 07:20:21 +00:00
|
|
|
tempdir = "0.3.7"
|
2019-09-14 09:06:23 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-07-28 12:13:32 +00:00
|
|
|
env_logger = "0.10.0"
|
|
|
|
num-format = "0.4.4"
|
2023-08-05 13:38:28 +00:00
|
|
|
# heed = "0.11.0"
|
2023-08-05 13:34:47 +00:00
|
|
|
# rocksdb = "0.21.0"
|
2023-08-05 13:38:28 +00:00
|
|
|
# rusqlite = "0.29.0"
|
|
|
|
# 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"
|
2023-08-06 18:27:29 +00:00
|
|
|
libc = "0.2.147"
|
2023-07-30 11:38:18 +00:00
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "test_crash_recovery"
|
|
|
|
path = "tests/test_crash_recovery.rs"
|
|
|
|
harness = false
|
|
|
|
|