[[bench]]
name = "bench"
path = "benches/bench.rs"
[dev-dependencies.getrandom]
version = "0.2"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.wyhash]
version = "0.5"
[features]
alloc = []
default = ["std"]
js = ["std", "getrandom"]
std = ["alloc"]
[lib]
name = "fastrand"
path = "src/lib.rs"
[package]
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["algorithms"]
description = "A simple and fast random number generator"
edition = "2018"
exclude = ["/.*"]
keywords = ["simple", "fast", "rand", "random", "wyrand"]
license = "Apache-2.0 OR MIT"
name = "fastrand"
readme = "README.md"
repository = "https://github.com/smol-rs/fastrand"
rust-version = "1.36"
version = "2.1.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies.getrandom]
features = ["js"]
optional = true
version = "0.2"
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies.getrandom]
features = ["js"]
version = "0.2"
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test]
version = "0.3"
[[test]]
name = "char"
path = "tests/char.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"