rand/rand_distr/Cargo.toml

33 lines
1.0 KiB
TOML
Raw Normal View History

[package]
name = "rand_distr"
2020-12-14 16:06:33 +00:00
version = "0.4.0"
authors = ["The Rand Project Developers"]
2019-08-08 11:44:35 +03:00
license = "MIT OR Apache-2.0"
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"
description = """
Sampling from random number distributions
"""
keywords = ["random", "rng", "distribution", "probability"]
categories = ["algorithms"]
edition = "2018"
Reduce packaged crate size by 5kb using `cargo diet -r` (#983) * Reduce packaged crate size by 5kb using `cargo diet -r` It converted excludes into includes, removing the following files from the package. ┌───────────────────────────────────────────┬─────────────┐ │ File │ Size (Byte) │ ├───────────────────────────────────────────┼─────────────┤ │ .gitignore │ 77 │ │ .github/ISSUE_TEMPLATE/other.md │ 80 │ │ .github/ISSUE_TEMPLATE/feature_request.md │ 274 │ │ .github/ISSUE_TEMPLATE/compile-issue.md │ 488 │ │ utils/ci/install_cargo_web.sh │ 536 │ │ COPYRIGHT │ 569 │ │ utils/ci/miri.sh │ 815 │ │ rustfmt.toml │ 863 │ │ benches/weighted.rs │ 1088 │ │ utils/ci/install.sh │ 1381 │ │ utils/ci/script.sh │ 1583 │ │ examples/monte-carlo.rs │ 1611 │ │ appveyor.yml │ 2098 │ │ SECURITY.md │ 2822 │ │ .travis.yml │ 2952 │ │ utils/ziggurat_tables.py │ 3929 │ │ examples/monty-hall.rs │ 4004 │ │ benches/misc.rs │ 4524 │ │ benches/seq.rs │ 5410 │ │ benches/generators.rs │ 5490 │ └───────────────────────────────────────────┴─────────────┘ * Include COPIRIGHT in package * Ignore benchmarks and tests in rand_distr * prefer using 'src/' instead of 'src/**/*'
2020-05-31 23:18:05 +08:00
include = ["src/", "LICENSE-*", "README.md", "CHANGELOG.md", "COPYRIGHT"]
[dependencies]
2020-12-14 16:04:34 +00:00
rand = { path = "..", version = "0.8.0", default-features = false }
num-traits = { version = "0.2", default-features = false, features = ["libm"] }
[features]
default = ["std"]
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" }
# 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
average = "0.10.3"