2019-03-27 16:12:09 +00:00
|
|
|
[package]
|
|
|
|
name = "rand_distr"
|
2020-12-14 16:06:33 +00:00
|
|
|
version = "0.4.0"
|
2019-03-27 16:12:09 +00:00
|
|
|
authors = ["The Rand Project Developers"]
|
2019-08-08 11:44:35 +03:00
|
|
|
license = "MIT OR Apache-2.0"
|
2019-03-27 16:12:09 +00:00
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/rust-random/rand"
|
2020-12-15 10:08:34 +00:00
|
|
|
documentation = "https://docs.rs/rand_distr"
|
2020-12-15 10:13:17 +00:00
|
|
|
homepage = "https://rust-random.github.io/book"
|
2019-03-27 16:12:09 +00:00
|
|
|
description = """
|
|
|
|
Sampling from random number distributions
|
|
|
|
"""
|
|
|
|
keywords = ["random", "rng", "distribution", "probability"]
|
|
|
|
categories = ["algorithms"]
|
|
|
|
edition = "2018"
|
2020-05-31 23:18:05 +08:00
|
|
|
include = ["src/", "LICENSE-*", "README.md", "CHANGELOG.md", "COPYRIGHT"]
|
2019-03-27 16:12:09 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2020-12-14 16:04:34 +00:00
|
|
|
rand = { path = "..", version = "0.8.0", default-features = false }
|
2020-08-01 16:34:37 +03:00
|
|
|
num-traits = { version = "0.2", default-features = false, features = ["libm"] }
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["std"]
|
2021-03-13 16:38:42 -03:00
|
|
|
std = ["alloc", "rand/std", "num-traits/std"]
|
2020-08-02 00:32:53 +03:00
|
|
|
alloc = ["rand/alloc"]
|
2019-05-16 11:56:54 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-12-07 16:41:29 +00:00
|
|
|
rand_pcg = { version = "0.3.0", path = "../rand_pcg" }
|
2020-08-01 16:34:37 +03:00
|
|
|
# For inline examples
|
2020-12-14 16:04:34 +00:00
|
|
|
rand = { path = "..", version = "0.8.0", default-features = false, features = ["std_rng", "std"] }
|
2019-05-16 11:56:54 +02:00
|
|
|
# Histogram implementation for testing uniformity
|
2019-09-02 14:48:21 +02:00
|
|
|
average = "0.10.3"
|