[package]
name = "rand"
version = "0.8.5"
authors = ["The Rand Project Developers", "The Rust Project Developers"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/rust-random/rand"
documentation = "https://docs.rs/rand"
homepage = "https://rust-random.github.io/book"
description = """
Random number generators and other randomness functionality.
"""
keywords = ["random", "rng"]
categories = ["algorithms", "no-std"]
autobenches = true
edition = "2018"
include = ["src/", "LICENSE-*", "README.md", "CHANGELOG.md", "COPYRIGHT"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "doc_cfg"]
[package.metadata.playground]
features = ["small_rng", "serde1"]
[features]
default = ["std", "std_rng"]
nightly = []
serde1 = ["serde", "rand_core/serde1"]
std = ["rand_core/std", "rand_chacha/std", "alloc", "getrandom", "libc"]
alloc = ["rand_core/alloc"]
getrandom = ["rand_core/getrandom"]
simd_support = ["packed_simd"]
std_rng = ["rand_chacha"]
small_rng = []
min_const_gen = []
[workspace]
members = [
"rand_core",
"rand_distr",
"rand_chacha",
"rand_pcg",
]
[dependencies]
rand_core = { path = "rand_core", version = "0.6.0" }
log = { version = "0.4.4", optional = true }
serde = { version = "1.0.103", features = ["derive"], optional = true }
rand_chacha = { path = "rand_chacha", version = "0.3.0", default-features = false, optional = true }
[dependencies.packed_simd]
package = "packed_simd_2"
version = "0.3.7"
optional = true
features = ["into_bits"]
[target.'cfg(unix)'.dependencies]
libc = { version = "0.2.22", optional = true, default-features = false }
[dev-dependencies]
rand_pcg = { path = "rand_pcg", version = "0.3.0" }
bincode = "1.2.1"