-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
65 lines (55 loc) · 1.8 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
[package]
name = "concread"
version = "0.5.1"
authors = ["William Brown <william@blackhats.net.au>"]
edition = "2021"
description = "Concurrently Readable Data-Structures for Rust"
documentation = "https://docs.rs/concread/latest/concread/"
homepage = "https://github.com/kanidm/concread/"
repository = "https://github.com/kanidm/concread/"
readme = "README.md"
keywords = ["concurrency", "lru", "mvcc", "copy-on-write", "transactional-memory"]
categories = ["data-structures", "memory-management", "caching", "concurrency"]
license = "MPL-2.0"
[lib]
name = "concread"
path = "src/lib.rs"
[features]
# Features to add/remove contents.
asynch = ["tokio"]
ebr = ["crossbeam-epoch"]
maps = ["crossbeam-utils", "smallvec"]
tcache = []
arcache = ["maps", "lru", "crossbeam-queue"]
# ahash is another feature here
# Internal features for tweaking some alighn/perf behaviours.
skinny = []
hashtrie_skinny = []
default = ["asynch", "ahash", "ebr", "maps", "arcache"]
[dependencies]
ahash = { version = "0.8", optional = true }
crossbeam-utils = { version = "0.8.12", optional = true }
crossbeam-epoch = { version = "0.9.11", optional = true }
crossbeam-queue = { version = "0.3.6", optional = true }
lru = { version = "0.12", optional = true }
serde = { version = "1.0", optional = true }
smallvec = { version = "1.4", optional = true }
sptr = "0.3"
arc-swap = "1.0"
tokio = { version = "1", features = ["sync"], optional = true }
tracing = "0.1"
[dev-dependencies]
criterion = { version = "0.3", features = ["html_reports"] }
rand = "0.8"
time = "0.3"
tracing-subscriber = { version = "0.3", features = ["env-filter", "std", "fmt"] }
uuid = "1.0"
function_name = "0.3"
serde_json = "1.0"
tokio = { version = "1", features = ["rt", "macros"] }
[[bench]]
name = "hashmap_benchmark"
harness = false
[[bench]]
name = "arccache"
harness = false