-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
54 lines (42 loc) · 1.62 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 = "griddle"
version = "0.6.0"
authors = ["Jon Gjengset <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
description = "A HashMap variant that spreads resize load across inserts"
repository = "https://github.com/jonhoo/griddle.git"
keywords = ["hash", "no_std", "hashmap", "amortized"]
categories = ["data-structures", "no-std"]
[dependencies]
# For the default hasher
ahash_ = { version = "0.8.0", default-features = false, optional = true, package = "ahash" }
hashbrown = { version = "0.14.0", default-features = false, features = ["raw"] }
# For external trait impls
rayon_ = { version = "1.3.0", optional = true, package = "rayon" }
serde_ = { version = "1.0.25", default-features = false, optional = true, package = "serde" }
[dev-dependencies]
lazy_static = "1.4"
rand = { version = "0.8", features = ["small_rng"] }
quickcheck = { version = "1", default-features = false }
rayon_ = { version = "1.0", package = "rayon" }
fnv = "1.0.7"
serde_test = "1.0"
[features]
default = ["ahash", "inline-more"]
ahash-compile-time-rng = ["ahash_/compile-time-rng"]
ahash = [ "ahash_", "hashbrown/ahash" ]
serde = [ "serde_", "hashbrown/serde" ]
rayon = [ "rayon_", "hashbrown/rayon" ]
# Enables usage of `#[inline]` on far more functions than by default in this
# crate. This may lead to a performance increase but often comes at a compile
# time cost.
inline-more = [ "hashbrown/inline-more" ]
[package.metadata.docs.rs]
features = ["rayon", "serde"]
[[bench]]
name = "vroom"
harness = false
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage,coverage_nightly)'] }