-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathCargo.toml
56 lines (48 loc) · 1.3 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
[package]
name = "sharded-slab"
version = "0.1.7"
authors = ["Eliza Weisman <[email protected]>"]
edition = "2018"
documentation = "https://docs.rs/sharded-slab/"
homepage = "https://github.com/hawkw/sharded-slab"
repository = "https://github.com/hawkw/sharded-slab"
readme = "README.md"
rust-version = "1.42.0"
license = "MIT"
keywords = ["slab", "allocator", "lock-free", "atomic"]
categories = ["memory-management", "data-structures", "concurrency"]
description = """
A lock-free concurrent slab.
"""
exclude = [
"flake.nix",
"flake.lock",
".envrc",
".clog.toml",
".cargo",
".github",
".direnv",
"bin",
]
[badges]
maintenance = { status = "experimental" }
[[bench]]
name = "bench"
harness = false
[dependencies]
lazy_static = "1"
[dev-dependencies]
proptest = "1"
criterion = "0.3"
slab = "0.4.2"
memory-stats = "1"
indexmap = "1" # newer versions lead to "candidate versions found which didn't match" on 1.42.0
[target.'cfg(loom)'.dependencies]
loom = { version = "0.5", features = ["checkpoint"], optional = true }
[target.'cfg(loom)'.dev-dependencies]
loom = { version = "0.5", features = ["checkpoint"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)', 'cfg(slab_print)'] }