-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
55 lines (43 loc) · 1.2 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
[package]
name = "hazptr"
description = "hazard pointer based concurrent memory reclamation"
version = "0.2.0"
authors = ["Oliver Giersch"]
license = "MIT/Apache-2.0"
readme = "README.md"
repository = "https://github.com/oliver-giersch/hazptr.git"
documentation = "https://docs.rs/hazptr"
keywords = ["hazard", "pointer", "concurrent", "reclamation", "lock-free"]
edition = "2018"
exclude = [".travis.yml", "ci/*", "DEBUG.md"]
[features]
default = ["std"]
# disable for use in no_std crates (for limitations see README.md)
std = ["arrayvec/std", "conquer-once/std", "reclaim/std"]
# counting towards the scan threshold caused by dropping hazard pointer guards
count-release = []
# for instrumentation with TSAN
sanitize-threads = []
[dependencies]
cfg-if = "0.1.7"
[dependencies.arrayvec]
version = "0.4.11"
default-features = false
[dependencies.conquer-once]
version = "0.1.2"
default-features = false
[dependencies.reclaim]
version = "0.2.2"
default-features = false
[dev-dependencies]
matches = "0.1.8"
rand = "0.6.5"
[[example]]
name = "hash_set"
required-features = ["std"]
[[example]]
name = "treiber"
required-features = ["std"]
[[test]]
name = "integration"
required-features = ["std", "count-release"]