-
Notifications
You must be signed in to change notification settings - Fork 49
/
Cargo.toml
54 lines (44 loc) · 1.42 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
[package]
name = "flurry"
version = "0.5.1"
authors = ["Jon Gjengset <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
description = "Rust port of Java's ConcurrentHashMap"
repository = "https://github.com/jonhoo/flurry.git"
keywords = ["hashmap","concurrent","map"]
categories = ["concurrency", "data-structures"]
exclude = ["/jsr166/**"]
[badges]
azure-devops = { project = "jonhoo/jonhoo", pipeline = "flurry", build = "15" }
codecov = { repository = "jonhoo/flurry", branch = "master", service = "github" }
maintenance = { status = "experimental" }
[dependencies]
parking_lot = "0.12"
num_cpus = "1.12.0"
rayon = {version = "1.3", optional = true}
serde = {version = "1.0.105", optional = true}
seize = "0.3.3"
[dependencies.ahash]
version = "0.8.4"
# NOTE: we enable just compile-time-rng to get a reasonable ahash::RandomState::default
# without _also_ forcing consumers of flurry into using runtime-rng. they can, however,
# still opt into that feature if they wish, which will take precedence over compile-time-rng
# as per the ahash docs.
default-features = false
features = ["compile-time-rng"]
# for minimal-versions
[target.'cfg(any())'.dependencies]
regex = { version = "1.6.0", optional = true }
[dev-dependencies]
rand = "0.8"
rayon = "1.3"
criterion = "0.5"
serde_json = "1.0.50"
[[bench]]
name = "flurry_dashmap"
harness = false
[[bench]]
name = "flurry_hashbrown"
harness = false