-
Notifications
You must be signed in to change notification settings - Fork 27
/
Cargo.toml
68 lines (58 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
57
58
59
60
61
62
63
64
65
66
67
68
[package]
name = "gxhash"
authors = ["Olivier Giniaux"]
version = "3.4.1"
edition = "2021"
description = "GxHash non-cryptographic algorithm"
license = "MIT"
readme = "README.md"
repository = "https://github.com/ogxd/gxhash"
documentation = "https://docs.rs/gxhash/latest/gxhash"
keywords = ["hash", "hasher", "hashmap", "no-std", "crypto"]
categories = ["algorithms", "data-structures", "no-std"]
exclude = ["article/*"]
[features]
default = ["std"]
std = []
# Only relevant for throughput benchmarks
bench-csv = []
bench-md = []
bench-plot = []
hybrid = []
[dependencies]
rustversion = "1.0" # Compile-time cfg based on rustc version for compatibility
[dev-dependencies]
rand = "0.8"
lazy_static = { version = "1.5" }
itertools = "0.12.1"
# Benchmarks
criterion = { version = "0.5.1" }
# Other hash algorithms, for comparison.
ahash = "0.8.11"
t1ha = "0.1.2"
twox-hash = "1.6.3"
highway = "1.2.0"
seahash = "4.1.0"
metrohash = "1.0.6"
fnv = "1.0.7"
[dev-dependencies.plotters]
version = "0.3.7"
default-features = false
features = ["plotters-svg", "line_series"]
[[bench]]
name = "throughput"
harness = false
[[bench]]
name = "throughput_criterion"
harness = false
[[bench]]
name = "ilp"
harness = false
[[bench]]
name = "hashset"
harness = false
[[bench]]
name = "quality"
harness = false
[[example]]
name = "hello_world"