| 1 |
[package] |
| 2 |
name = "foldhash" |
| 3 |
version = "0.2.0" |
| 4 |
authors = ["Orson Peters <[email protected]>"] |
| 5 |
license = "Zlib" |
| 6 |
repository = "https://github.com/orlp/foldhash" |
| 7 |
readme = "README.md" |
| 8 |
keywords = ["hash", "hasher", "no-std"] |
| 9 |
categories = ["algorithms", "no-std"] |
| 10 |
description = "A fast, non-cryptographic, minimally DoS-resistant hashing algorithm." |
| 11 |
edition = "2021" |
| 12 |
exclude = ["benches", "tools", "assets"] |
| 13 |
rust-version = "1.60" |
| 14 |
|
| 15 |
[features] |
| 16 |
default = ["std"] |
| 17 |
std = [] |
| 18 |
nightly = [] |
| 19 |
|
| 20 |
[dependencies] |
| 21 |
|
| 22 |
[dev-dependencies] |
| 23 |
criterion = "0.5" |
| 24 |
hashbrown = "0.15" |
| 25 |
uuid = "1.8" |
| 26 |
rand = "0.8" |
| 27 |
ahash = "0.8" |
| 28 |
fxhash = "0.2" |
| 29 |
rapidhash = "3.1.0" |
| 30 |
chrono = "0.4" |
| 31 |
|
| 32 |
[lib] |
| 33 |
bench = false |
| 34 |
|
| 35 |
[[bench]] |
| 36 |
name = "bench" |
| 37 |
path = "benches/bench.rs" |
| 38 |
harness = false |
| 39 |
|
| 40 |
[[bench]] |
| 41 |
name = "avalanche" |
| 42 |
path = "benches/avalanche.rs" |
| 43 |
harness = false |
| 44 |
|
| 45 |
[profile.release] |
| 46 |
lto = "thin" |