-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
76 lines (68 loc) · 2.15 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
71
72
73
74
75
76
[package]
name = "sled"
version = "0.34.6"
authors = ["Tyler Neely <t@jujit.su>"]
description = "Lightweight high-performance pure-rust transactional embedded database."
license = "MIT/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"]
documentation = "https://docs.rs/sled/"
readme = "README.md"
edition = "2018"
exclude = ["benchmarks", "examples", "bindings", "scripts", "experiments"]
[package.metadata.docs.rs]
features = ["docs", "metrics"]
[badges]
maintenance = { status = "actively-developed" }
[profile.release]
debug = true
opt-level = 3
overflow-checks = true
[features]
default = []
# Do not use the "testing" feature in your own testing code, this is for
# internal testing use only. It injects many delays and performs several
# test-only configurations that cause performance to drop significantly.
# It will cause your tests to take much more time, and possibly time out etc...
testing = ["event_log", "lock_free_delays", "compression", "failpoints", "backtrace"]
compression = ["zstd"]
lock_free_delays = []
failpoints = []
event_log = []
metrics = ["num-format"]
no_logs = ["log/max_level_off"]
no_inline = []
measure_allocs = []
pretty_backtrace = ["color-backtrace"]
io_uring = ["rio"]
docs = []
miri_optimizations = []
mutex = []
[dependencies]
libc = "0.2.81"
zstd = { version = "0.6.0", optional = true }
crc32fast = "1.2.1"
log = "0.4.11"
parking_lot = "0.11.1"
color-backtrace = { version = "0.5.0", optional = true }
num-format = { version = "0.4.0", optional = true }
rio = { version = "0.9.4", optional = true }
backtrace = { version = "0.3.55", optional = true }
im = "15.0.0"
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os="windows"))'.dependencies]
fs2 = "0.4.3"
[dev-dependencies]
rand = "0.7.0"
rand_chacha = "0.3.0"
rand_distr = "0.3.0"
quickcheck = "0.9.2"
log = "0.4.11"
env_logger = "0.8.2"
zerocopy = "0.3.0"
byteorder = "1.3.4"
[[test]]
name = "test_crash_recovery"
path = "tests/test_crash_recovery.rs"
harness = false