# 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-terms"
version = "0.3.144"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Smooth-term basis construction and penalty assembly for the gam penalized-likelihood engine"
readme = false
license = "AGPL-3.0-or-later"
repository = "https://github.com/SauersML/gam"

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

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

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

[dependencies.faer]
version = "0.24.0"

[dependencies.gam-data]
version = "=0.3.144"

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

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

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

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

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

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

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

[dependencies.log]
version = "0.4.29"

[dependencies.memmap2]
version = "0.9.10"

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

[dependencies.pest]
version = "2.8.6"

[dependencies.pest_derive]
version = "2.8.6"

[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.smallvec]
version = "1"

[dependencies.statrs]
version = "0.18.0"

[dependencies.wide]
version = "0.7"

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

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

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

[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"
