[package]
edition = "2021"
rust-version = "1.85.0"
name = "wyrand"
version = "0.4.0"
authors = ["Gonçalo Rica Pais da Silva <bluefinger@gmail.com>"]
build = false
exclude = ["/.*"]
include = [
"src/",
"LICENSE-*",
"README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast & portable non-cryptographic pseudorandom number generator and hashing algorithm"
readme = "README.md"
keywords = [
"fast",
"random",
"wyrand",
"hash",
"wyhash",
]
categories = [
"algorithms",
"no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/Bluefinger/wyrand-rs"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
[features]
debug = []
default = [
"rand_core",
"debug",
]
fully_randomised_wyhash = ["randomised_wyhash"]
hash = []
legacy_v4 = []
rand_core = ["dep:rand_core"]
randomised_wyhash = [
"wyhash",
"dep:getrandom",
]
serde1 = ["dep:serde"]
threadrng_wyhash = [
"dep:rand",
"randomised_wyhash",
]
wyhash = []
[lib]
name = "wyrand"
path = "src/lib.rs"
[dependencies.getrandom]
version = "0.4.0"
optional = true
[dependencies.rand]
version = "0.10.0"
optional = true
[dependencies.rand_core]
version = "0.10.0"
optional = true
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.rand]
version = "0.10.0"
[dev-dependencies.serde_test]
version = "1.0"