-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
60 lines (52 loc) · 1.54 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
[package]
name = "skl"
version = "0.4.0-alpha.1"
edition = "2021"
repository = "https://github.com/al8n/skl-rs"
description = "A lock-free thread-safe concurrent ARENA based (heap backend or memory map backend) skiplist implementation which helps develop MVCC memtable for LSM-Tree."
documentation = "https://docs.rs/skl"
homepage = "https://github.com/al8n/skl-rs"
keywords = ["skiplist", "lock-free", "memtable", "concurrency", "arena"]
categories = ["database", "data-structures", "concurrency", "no-std"]
license = "MIT/Apache-2.0"
[[bench]]
path = "benches/bench.rs"
name = "bench"
harness = false
[[test]]
path = "tests/loom.rs"
name = "loom"
[features]
default = ["std"]
alloc = []
mmap = ["memmapix", "fs4", "std"]
std = ["bytes/std", "rand/std", "rand/std_rng", "inline_more"]
inline_more = []
js = ["getrandom/js"]
[target.'cfg(loom)'.dependencies]
loom = "0.7"
[dependencies]
bytes = { version = "1.5", default-features = false }
crossbeam-utils = { version = "0.8", default-features = false }
fs4 = { version = "0.6", optional = true }
getrandom = { version = "0.2", optional = true }
memmapix = { version = "0.7", optional = true }
rand = { version = "0.8", default-features = false, features = ["getrandom"] }
viewit = "0.1.5"
[dev-dependencies]
criterion = "0.5"
tempfile = "3"
parking_lot = "0.12"
paste = "1"
[profile.bench]
opt-level = 3
debug = false
codegen-units = 1
lto = 'thin'
incremental = false
debug-assertions = false
overflow-checks = false
rpath = false
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]