[dependencies.num-traits]
default-features = false
features = ["libm"]
version = "0.2"
[dependencies.rand]
default-features = false
version = "0.9.0"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.103"
[dependencies.serde_with]
optional = true
version = ">= 3.0, <= 3.11"
[dev-dependencies.average]
features = ["std"]
version = "0.15"
[dev-dependencies.rand]
features = ["small_rng"]
version = "0.9.0"
[dev-dependencies.rand_pcg]
version = "0.9.0"
[dev-dependencies.special]
version = "0.11.0"
[features]
alloc = ["rand/alloc"]
default = ["std"]
serde = ["dep:serde", "dep:serde_with", "rand/serde"]
std = ["alloc", "rand/std"]
std_math = ["num-traits/std"]
[lib]
name = "rand_distr"
path = "src/lib.rs"
[package]
authors = ["The Rand Project Developers"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["algorithms", "no-std"]
description = """
Sampling from random number distributions
"""
documentation = "https://docs.rs/rand_distr"
edition = "2021"
homepage = "https://rust-random.github.io/book"
include = ["/src", "LICENSE-*", "README.md", "CHANGELOG.md", "COPYRIGHT"]
keywords = ["random", "rng", "distribution", "probability"]
license = "MIT OR Apache-2.0"
name = "rand_distr"
readme = "README.md"
repository = "https://github.com/rust-random/rand_distr"
rust-version = "1.63"
version = "0.5.1"
[package.metadata.docs.rs]
features = ["serde"]
rustdoc-args = ["--generate-link-to-definition"]