| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.65.0" |
| 15 |
name = "statrs" |
| 16 |
version = "0.18.0" |
| 17 |
authors = ["Michael Ma"] |
| 18 |
build = false |
| 19 |
include = [ |
| 20 |
"CHANGELOG.md", |
| 21 |
"LICENSE.md", |
| 22 |
"src/", |
| 23 |
"tests/", |
| 24 |
] |
| 25 |
autobins = false |
| 26 |
autoexamples = false |
| 27 |
autotests = false |
| 28 |
autobenches = false |
| 29 |
description = "Statistical computing library for Rust" |
| 30 |
homepage = "https://github.com/statrs-dev/statrs" |
| 31 |
readme = "README.md" |
| 32 |
keywords = [ |
| 33 |
"probability", |
| 34 |
"statistics", |
| 35 |
"stats", |
| 36 |
"distribution", |
| 37 |
"math", |
| 38 |
] |
| 39 |
categories = ["science"] |
| 40 |
license = "MIT" |
| 41 |
repository = "https://github.com/statrs-dev/statrs" |
| 42 |
|
| 43 |
[package.metadata.docs.rs] |
| 44 |
all-features = true |
| 45 |
rustdoc-args = [ |
| 46 |
"--cfg", |
| 47 |
"docsrs", |
| 48 |
] |
| 49 |
|
| 50 |
[lib] |
| 51 |
name = "statrs" |
| 52 |
path = "src/lib.rs" |
| 53 |
|
| 54 |
[[test]] |
| 55 |
name = "nist_tests" |
| 56 |
path = "tests/nist_tests.rs" |
| 57 |
|
| 58 |
[dependencies.approx] |
| 59 |
version = "0.5.0" |
| 60 |
|
| 61 |
[dependencies.nalgebra] |
| 62 |
version = "0.33" |
| 63 |
features = ["std"] |
| 64 |
optional = true |
| 65 |
default-features = false |
| 66 |
|
| 67 |
[dependencies.num-traits] |
| 68 |
version = "0.2.14" |
| 69 |
|
| 70 |
[dependencies.rand] |
| 71 |
version = "0.8" |
| 72 |
optional = true |
| 73 |
|
| 74 |
[dev-dependencies.anyhow] |
| 75 |
version = "1.0" |
| 76 |
|
| 77 |
[dev-dependencies.criterion] |
| 78 |
version = "0.5" |
| 79 |
|
| 80 |
[dev-dependencies.nalgebra] |
| 81 |
version = "0.33" |
| 82 |
features = ["macros"] |
| 83 |
default-features = false |
| 84 |
|
| 85 |
[features] |
| 86 |
default = [ |
| 87 |
"nalgebra", |
| 88 |
"rand", |
| 89 |
] |
| 90 |
nalgebra = ["dep:nalgebra"] |
| 91 |
rand = [ |
| 92 |
"dep:rand", |
| 93 |
"nalgebra?/rand", |
| 94 |
] |
| 95 |
|
| 96 |
[lints.rust.unexpected_cfgs] |
| 97 |
level = "warn" |
| 98 |
priority = 0 |
| 99 |
check-cfg = ["cfg(coverage_nightly)"] |