[package]
edition = "2024"
name = "gamlss"
version = "0.4.0"
authors = ["hexqnt <hexqntlab@gmail.com>"]
build = false
include = [
"src/**/*",
"doc-assets/*",
"docs/**/*",
"examples/**/*",
"Cargo.toml",
"README.md",
"LICENSE*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-driven Rust crates for GAMLSS modeling"
documentation = "https://docs.rs/gamlss"
readme = "README.md"
keywords = [
"gamlss",
"statistics",
"regression",
"distributional",
]
categories = [
"algorithms",
"mathematics",
"science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hexqnt/gamlss"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--html-in-header",
"doc-assets/katex-header.html",
]
[features]
bayes = ["dep:gamlss-bayes"]
default = ["formula"]
formula = ["dep:gamlss-formula"]
multivariate = ["gamlss-family/multivariate"]
rand = ["gamlss-family/rand"]
[lib]
name = "gamlss"
path = "src/lib.rs"
[[example]]
name = "a1_skew_normal"
path = "examples/a1_skew_normal.rs"
[[example]]
name = "custom_family"
path = "examples/custom_family.rs"
[[example]]
name = "faithful_mixture_fit"
path = "examples/faithful_mixture_fit.rs"
required-features = ["multivariate"]
[[example]]
name = "gas_like"
path = "examples/gas_like.rs"
[[example]]
name = "simple_fit"
path = "examples/simple_fit.rs"
[[example]]
name = "simple_multivariate_fit"
path = "examples/simple_multivariate_fit.rs"
required-features = [
"multivariate",
"rand",
]
[dependencies.gamlss-bayes]
version = "0.4.0"
optional = true
[dependencies.gamlss-core]
version = "0.4.0"
[dependencies.gamlss-diagnostics]
version = "0.4.0"
[dependencies.gamlss-family]
version = "0.4.0"
[dependencies.gamlss-formula]
version = "0.4.0"
optional = true
[dependencies.gamlss-special]
version = "0.4.0"
[dependencies.gamlss-spline]
version = "0.4.0"
[dependencies.gamlss-transform]
version = "0.4.0"
[dev-dependencies.approx]
version = "0.5.1"
[dev-dependencies.argmin]
version = "0.11.0"
[dev-dependencies.argmin-math]
version = "0.5.1"
features = ["vec"]
[dev-dependencies.gamlss-datasets]
version = "0.4.0"
features = ["rand"]
[dev-dependencies.rand]
version = "0.10.2"
[lints.clippy]
all = "warn"
cargo = "warn"
nursery = "warn"
pedantic = "warn"
[lints.clippy.many_single_char_names]
level = "allow"
priority = 1
[lints.clippy.missing_errors_doc]
level = "allow"
priority = 1
[lints.clippy.too_many_lines]
level = "allow"
priority = 1
[lints.clippy.used_underscore_binding]
level = "allow"
priority = 1
[lints.rust]
unsafe_code = "forbid"