forked from spacejam/sled
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
70 lines (62 loc) · 1.73 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[package]
name = "sled"
version = "0.32.0-rc1"
authors = ["Tyler Neely <[email protected]>"]
description = "a modern embedded database"
license = "MIT/Apache-2.0"
homepage = "https://github.com/spacejam/sled"
repository = "https://github.com/spacejam/sled"
keywords = ["database", "embedded", "concurrent", "persistent", "lock-free"]
categories = ["database-implementations", "concurrency", "data-structures", "algorithms", "caching"]
documentation = "https://docs.rs/sled/"
readme = "README.md"
edition = "2018"
exclude = ["benchmarks", "examples", "bindings", "scripts", "experiments"]
[badges]
maintenance = { status = "actively-developed" }
[profile.release]
debug = true
opt-level = 3
[features]
default = ["no_metrics"]
testing = ["event_log", "lock_free_delays", "compression", "failpoints"]
compression = ["zstd"]
lock_free_delays = []
failpoints = []
event_log = []
no_metrics = []
no_logs = ["log/max_level_off"]
no_inline = []
measure_allocs = []
pretty_backtrace = ["color-backtrace"]
io_uring = ["rio"]
docs = []
[dependencies]
crossbeam-epoch = "0.8.2"
crossbeam-utils = "0.7.2"
fxhash = "0.2.1"
libc = "0.2.70"
zstd = { version = "0.5.2", optional = true }
crc32fast = "1.2.0"
log = "0.4.8"
parking_lot = "0.10.2"
color-backtrace = { version = "0.4.2", optional = true }
rio = { version = "0.9.3", optional = true }
backtrace = "0.3.48"
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os="windows"))'.dependencies]
fs2 = "0.4.3"
[dev-dependencies]
rand = "0.7.3"
rand_chacha = "0.2.2"
rand_distr = "0.2.2"
quickcheck = "0.9.2"
log = "0.4.8"
env_logger = "0.7.1"
zerocopy = "0.3.0"
byteorder = "1.3.4"
[package.metadata.docs.rs]
features = ["docs"]
[[test]]
name = "test_crash_recovery"
path = "tests/test_crash_recovery.rs"
harness = false