2019-03-27 16:12:09 +00:00
|
|
|
[package]
|
|
|
|
name = "rand_distr"
|
2022-12-06 19:01:10 +00:00
|
|
|
version = "0.5.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"]
|
2021-03-13 19:07:59 -03:00
|
|
|
categories = ["algorithms", "no-std"]
|
2022-12-06 19:01:10 +00:00
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.56"
|
2020-05-31 23:18:05 +08:00
|
|
|
include = ["src/", "LICENSE-*", "README.md", "CHANGELOG.md", "COPYRIGHT"]
|
2019-03-27 16:12:09 +00:00
|
|
|
|
2020-08-01 16:34:37 +03:00
|
|
|
[features]
|
|
|
|
default = ["std"]
|
2021-03-20 14:25:15 -03:00
|
|
|
std = ["alloc", "rand/std"]
|
2020-08-02 00:32:53 +03:00
|
|
|
alloc = ["rand/alloc"]
|
2021-03-27 00:19:45 -03:00
|
|
|
std_math = ["num-traits/std"]
|
2021-07-08 15:09:53 +01:00
|
|
|
serde1 = ["serde", "rand/serde1"]
|
2021-07-08 14:51:55 +01:00
|
|
|
|
|
|
|
[dependencies]
|
2022-12-06 19:01:10 +00:00
|
|
|
rand = { path = "..", version = "0.9.0", default-features = false }
|
2021-07-08 14:51:55 +01:00
|
|
|
num-traits = { version = "0.2", default-features = false, features = ["libm"] }
|
|
|
|
serde = { version = "1.0.103", features = ["derive"], optional = true }
|
2023-03-18 05:21:59 -04:00
|
|
|
serde_with = { version = "1.14.0", optional = true }
|
2019-05-16 11:56:54 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-12-06 19:01:10 +00:00
|
|
|
rand_pcg = { version = "0.4.0", path = "../rand_pcg" }
|
2020-08-01 16:34:37 +03:00
|
|
|
# For inline examples
|
2022-12-06 19:01:10 +00:00
|
|
|
rand = { path = "..", version = "0.9.0", default-features = false, features = ["std_rng", "std", "small_rng"] }
|
2019-05-16 11:56:54 +02:00
|
|
|
# Histogram implementation for testing uniformity
|
2021-05-07 17:44:08 -03:00
|
|
|
average = { version = "0.13", features = [ "std" ] }
|
2021-09-05 21:06:52 +02:00
|
|
|
# Special functions for testing distributions
|
2021-09-09 21:08:55 +02:00
|
|
|
special = "0.8.1"
|