-
Notifications
You must be signed in to change notification settings - Fork 31
/
Cargo.toml
59 lines (50 loc) · 1.46 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
[package]
name = "arc-swap"
version = "1.7.1"
authors = ["Michal 'vorner' Vaner <[email protected]>"]
description = "Atomically swappable Arc"
documentation = "https://docs.rs/arc-swap"
repository = "https://github.com/vorner/arc-swap"
readme = "README.md"
keywords = ["atomic", "Arc"]
categories = ["data-structures", "memory-management"]
license = "MIT OR Apache-2.0"
edition = "2018"
[badges]
maintenance = { status = "actively-developed" }
[features]
# ArcSwapWeak (for std::sycn::Weak) support
weak = []
# Some strategies used for testing few internal cornercases. *DO NOT USE* (no stability guarantees and their performance is likely very bad).
internal-test-strategies = []
# Possibly some strategies we are experimenting with. Currently empty. No stability guarantees are included about them.
experimental-strategies = []
# Use the nightly "thread_local" feature, to allow no_std builds. No stability
# guarantees with this feature.
experimental-thread-local = []
[dependencies]
serde = { version = "1", features = ["rc"], optional = true }
[dev-dependencies]
adaptive-barrier = "~1"
criterion = "~0.5"
crossbeam-utils = "~0.8"
itertools = "0.12"
num_cpus = "~1"
once_cell = "~1"
parking_lot = "~0.12"
proptest = "1"
serde_derive = "1.0.130"
serde_test = "1.0.177"
[profile.bench]
debug = true
[package.metadata.docs.rs]
features = ["serde", "weak"]
[[bench]]
name = "background"
harness = false
[[bench]]
name = "int-access"
harness = false
[[bench]]
name = "track"
harness = false