Source code

Revision control

Copy as Markdown

Other Tools

# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2018"
name = "rand_distr"
version = "0.4.3"
authors = ["The Rand Project Developers"]
include = ["src/", "LICENSE-*", "README.md", "CHANGELOG.md", "COPYRIGHT"]
description = "Sampling from random number distributions\n"
documentation = "https://docs.rs/rand_distr"
readme = "README.md"
keywords = ["random", "rng", "distribution", "probability"]
categories = ["algorithms", "no-std"]
license = "MIT OR Apache-2.0"
[dependencies.num-traits]
version = "0.2"
features = ["libm"]
default-features = false
[dependencies.rand]
version = "0.8.0"
default-features = false
[dependencies.serde]
version = "1.0.103"
features = ["derive"]
optional = true
[dev-dependencies.average]
version = "0.13"
features = ["std"]
[dev-dependencies.rand]
version = "0.8.0"
features = ["std_rng", "std", "small_rng"]
default-features = false
[dev-dependencies.rand_pcg]
version = "0.3.0"
[dev-dependencies.special]
version = "0.8.1"
[features]
alloc = ["rand/alloc"]
default = ["std"]
serde1 = ["serde", "rand/serde1"]
std = ["alloc", "rand/std"]
std_math = ["num-traits/std"]