-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
46 lines (41 loc) · 1.25 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
[package]
name = "wyrand"
version = "0.2.1"
edition = "2021"
authors = ["Gonçalo Rica Pais da Silva <[email protected]>"]
description = "A fast & portable non-cryptographic pseudorandom number generator and hashing algorithm"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/Bluefinger/wyrand-rs"
keywords = ["fast", "random", "wyrand", "hash", "wyhash"]
categories = ["algorithms", "no-std"]
exclude = ["/.*"]
include = ["src/", "LICENSE-*", "README.md"]
autobenches = true
resolver = "2"
rust-version = "1.70.0"
[features]
debug = []
default = ["rand_core", "debug"]
hash = []
rand_core = ["dep:rand_core"]
serde1 = ["dep:serde"]
wyhash = []
randomised_wyhash = ["wyhash", "dep:getrandom"]
fully_randomised_wyhash = ["randomised_wyhash"]
threadrng_wyhash = ["dep:rand", "randomised_wyhash"]
legacy_v4 = []
[dependencies]
getrandom = { version = "0.2", optional = true }
rand = { version = "0.8", optional = true }
rand_core = { version = "0.6", default-features = false, optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
[dev-dependencies]
criterion = "0.5"
serde_test = "1.0"
rand = "0.8"
[[bench]]
name = "rand_bench"
path = "benches/rand_bench.rs"
harness = false
[package.metadata.docs.rs]
all-features = true