[package]
edition = "2021"
rust-version = "1.75"
name = "robust-rs"
version = "0.1.0"
authors = ["coes300 <matthewbcoe@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Robust statistics for Rust: M/S/MM regression and robust scale, built on the M-estimator abstraction."
documentation = "https://docs.rs/robust-rs"
readme = "README.md"
keywords = [
"statistics",
"robust",
"regression",
"outliers",
]
categories = [
"science",
"mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/coes300/robust-rs"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
rayon = ["dep:rayon"]
serde = ["dep:serde"]
[lib]
name = "robust_rs"
path = "src/lib.rs"
[[example]]
name = "demo"
path = "examples/demo.rs"
[[example]]
name = "mcd_outliers"
path = "examples/mcd_outliers.rs"
[[example]]
name = "stars_mm"
path = "examples/stars_mm.rs"
[[test]]
name = "anchors"
path = "tests/anchors.rs"
[[test]]
name = "equivariance"
path = "tests/equivariance.rs"
[[test]]
name = "golden_covmcd"
path = "tests/golden_covmcd.rs"
[[test]]
name = "golden_lmrob"
path = "tests/golden_lmrob.rs"
[[test]]
name = "golden_rlm"
path = "tests/golden_rlm.rs"
[[test]]
name = "lts_regression"
path = "tests/lts_regression.rs"
[[test]]
name = "median_of_pairwise"
path = "tests/median_of_pairwise.rs"
[[test]]
name = "mm_regression"
path = "tests/mm_regression.rs"
[[test]]
name = "multivariate"
path = "tests/multivariate.rs"
[dependencies.faer]
version = "0.22"
[dependencies.libm]
version = "0.2"
[dependencies.ndarray]
version = "0.16"
[dependencies.ndarray-stats]
version = "0.6"
[dependencies.rand]
version = "0.9"
[dependencies.rand_chacha]
version = "0.9"
[dependencies.rand_distr]
version = "0.5"
[dependencies.rayon]
version = "1.10"
optional = true
[dependencies.robust-rs-core]
version = "0.1.0"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dev-dependencies.approx]
version = "0.5"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"