linreg-core 0.2.2

Lightweight linear regression (OLS, Ridge, Lasso) with diagnostic tests. Pure Rust - no external math dependencies.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "linreg-core"
version = "0.2.2"
authors = ["Jesse Anderson"]
build = false
exclude = [
    "tmpclaude*",
    ".github/",
    ".gitignore",
    "verification/.venv/",
    "proptest-regressions/",
    "benches/results/",
    "target/criterion/",
    "AIC_BIC_TODO.md",
    "COVERAGE_MATRIX.md",
    "*TODO*.md",
    "generate_test_data.py",
    "core_bench_output.txt",
    "blog-*.md",
    "WASM_Example/",
    "criterion*/",
    "criterion_0_2_0",
    "flame*/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight linear regression (OLS, Ridge, Lasso) with diagnostic tests. Pure Rust - no external math dependencies."
homepage = "https://jesse-anderson.net"
documentation = "https://docs.rs/linreg-core"
readme = "README.md"
keywords = [
    "regression",
    "statistics",
    "linear-regression",
    "ridge",
    "lasso",
]
categories = [
    "science",
    "mathematics",
    "wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jesse-anderson/linreg-core"

[package.metadata.docs.rs]
features = []

[features]
default = ["wasm"]
validation = []
wasm = [
    "dep:wasm-bindgen",
    "dep:web-sys",
    "dep:js-sys",
    "dep:csv",
    "getrandom/js",
]

[lib]
name = "linreg_core"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"

[[example]]
name = "comprehensive_example"
path = "examples/comprehensive_example.rs"

[[example]]
name = "diagnostics"
path = "examples/diagnostics.rs"

[[test]]
name = "unit"
path = "tests/unit/main.rs"

[[test]]
name = "validation"
path = "tests/validation/main.rs"

[[test]]
name = "wasm_tests"
path = "tests/wasm_tests.rs"

[[bench]]
name = "core"
path = "benches/core.rs"
harness = false

[[bench]]
name = "diagnostics"
path = "benches/diagnostics.rs"
harness = false

[[bench]]
name = "distributions"
path = "benches/distributions.rs"
harness = false

[[bench]]
name = "linalg"
path = "benches/linalg.rs"
harness = false

[[bench]]
name = "pressure"
path = "benches/pressure.rs"
harness = false

[[bench]]
name = "runner"
path = "benches/runner.rs"
harness = true

[dependencies.csv]
version = "1.3"
optional = true

[dependencies.getrandom]
version = "0.2"
optional = true

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.web-sys]
version = "0.3"
features = [
    "Window",
    "Location",
]
optional = true

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.csv]
version = "1.3"

[dev-dependencies.humantime]
version = "2.1"

[dev-dependencies.paste]
version = "1.0"

[dev-dependencies.proptest]
version = "1.4"

[dev-dependencies.rustc_version]
version = "0.4"

[dev-dependencies.wasm-bindgen-test]
version = "0.3"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1