-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
35 lines (30 loc) · 943 Bytes
/
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
[package]
name = "power-consistent-hash"
version = "0.1.0"
authors = ["Rinat Shigapov <rinatshigapov@gmail.com>"]
edition = "2021"
description = "Power consistent hash - constant expected time constant memory consistent hash"
readme = "README.md"
repository = "https://github.com/DXist/power-consistent-hash"
license = "Apache-2.0"
keywords = ["consistent-hashing", "load-balancing", "sharding"]
categories = ["algorithms"]
exclude = ["*.svg"]
[dependencies]
thiserror = "1"
tracing = { version = "0.1", features = ["release_max_level_debug"] }
seahash = { version = "4.1", optional = true }
uuid = { version = "1", features = ["v4"], optional = true }
[features]
seahash = ["dep:seahash"]
seahash-bench = ["seahash", "dep:uuid"]
[dev-dependencies]
tracing-subscriber = "0.3"
criterion = "0.5"
[[bench]]
name = "pch_benchmark"
harness = false
[[bench]]
name = "seahash_pch_benchmark"
harness = false
required-features = ["seahash-bench"]