-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathCargo.toml
More file actions
89 lines (79 loc) · 2.79 KB
/
Copy pathCargo.toml
File metadata and controls
89 lines (79 loc) · 2.79 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
[package]
name = "concread"
version = "0.5.7"
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]
default = ["std", "asynch", "foldhash", "ebr", "maps", "arcache-is-hashtrie"]
# Features to add/remove contents.
ahash = ["dep:ahash"]
foldhash = ["dep:foldhash"]
arcache = ["maps", "lru", "crossbeam-queue"]
asynch = ["dep:tokio", "std"]
ebr = ["std"]
maps = ["dep:crossbeam-utils", "smallvec"]
tcache = []
std = ["ahash/std", "ahash/runtime-rng", "crossbeam-epoch/std", "crossbeam-queue/std", "crossbeam-utils/std", "tracing/std", "dep:parking_lot", "smallvec/write"]
no_std = ["crossbeam-epoch/alloc", "crossbeam-queue/alloc", "serde/alloc", "ahash"]
# Internal features for tweaking some align/perf behaviours.
dhat-heap = ["dep:dhat"]
skinny = []
hashtrie_skinny = []
arcache-is-hashmap = ["arcache"]
arcache-is-hashtrie = ["arcache"]
simd_support = []
[dependencies]
ahash = { version = "0.8", default-features = false, optional = true}
foldhash = { version = "0.1.5",default-features = false, optional = true }
crossbeam-utils = { version = "0.8.21", optional = true, default-features = false, features = []}
crossbeam-epoch = { version = "0.9.11", optional = true, default-features = false, features = [] }
crossbeam-queue = { version = "0.3.12", optional = true, default-features = false, features = [] }
dhat = { version = "0.3.3", optional = true }
lru = { version = "0.16", optional = true }
serde = { version = "1.0", optional = true }
smallvec = { version = "1.14", optional = true }
sptr = "0.3"
tokio = { version = "1", features = ["sync"], optional = true }
tracing = {version = "0.1", default-features = false}
lock_api = "0.4"
parking_lot = {version = "0.12.3", optional = true }
hashbrown = {version = "0.15.2", default-features = false}
cfg-if = "1.0.0"
[dev-dependencies]
criterion = { version = "0.6.0", features = ["html_reports"] }
rand = "0.9"
tracing-subscriber = { version = "0.3", features = [
"env-filter",
"std",
"fmt",
] }
uuid = "1"
function_name = "0.3"
serde_json = "1"
tokio = { version = "1", features = ["rt", "macros"] }
proptest = "1.0.0"
spin = {version = "0.10.0", default-features = false, features = ["lock_api", "spin_mutex", "rwlock"]}
[[bench]]
name = "hashmap_benchmark"
harness = false
[[bench]]
name = "arccache"
harness = false
required-features = ["tcache"]