# 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 = "2024"
rust-version = "1.93"
name = "gam-solve"
version = "0.3.136"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "REML/LAML outer solver and PIRLS inner engine for the gam penalized-likelihood engine"
readme = false
license = "AGPL-3.0-or-later"
repository = "https://github.com/SauersML/gam"

[lib]
name = "gam_solve"
path = "src/lib.rs"

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

[dependencies.dyn-stack]
version = "0.13.2"

[dependencies.faer]
version = "0.24.0"

[dependencies.gam-geometry]
version = "=0.3.136"

[dependencies.gam-gpu]
version = "=0.3.136"

[dependencies.gam-identifiability]
version = "=0.3.136"

[dependencies.gam-linalg]
version = "=0.3.136"

[dependencies.gam-math]
version = "=0.3.136"

[dependencies.gam-model-api]
version = "=0.3.136"

[dependencies.gam-problem]
version = "=0.3.136"

[dependencies.gam-runtime]
version = "=0.3.136"

[dependencies.gam-spec]
version = "=0.3.136"

[dependencies.gam-terms]
version = "=0.3.136"

[dependencies.log]
version = "0.4.29"

[dependencies.ndarray]
version = "0.17.2"
features = [
    "serde",
    "rayon",
]

[dependencies.opt]
version = "0.5.2"

[dependencies.rayon]
version = "1.12.0"

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

[dependencies.serde_json]
version = "1.0.149"
features = ["float_roundtrip"]

[dependencies.statrs]
version = "0.18.0"

[dev-dependencies.approx]
version = "0.5.1"

[dev-dependencies.num-dual]
version = "0.13.6"

[dev-dependencies.rand]
version = "0.10.1"

[dev-dependencies.tempfile]
version = "3.27.0"

[target.'cfg(target_os = "linux")'.dependencies.cudarc]
version = "0.19.6"
features = [
    "std",
    "driver",
    "runtime",
    "nvrtc",
    "cublas",
    "cublaslt",
    "cusparse",
    "cusolver",
    "cusolvermg",
    "curand",
    "nvtx",
    "cupti",
    "fallback-dynamic-loading",
    "cuda-12080",
]
default-features = false

[lints.rust]
warnings = "deny"
