baselines 0.1.1

Baseline correction algorithms for signals, spectra, and images
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 = "2024"
rust-version = "1.92"
name = "baselines"
version = "0.1.1"
build = false
exclude = [
    "/.github/**",
    "/.githooks/**",
    "/.gitignore",
    "/benches/**",
    "/bindings/**",
    "/docs/assets/**",
    "/docs/performance/**",
    "/scripts/**",
    "/tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Baseline correction algorithms for signals, spectra, and images"
readme = "README.md"
keywords = [
    "baseline",
    "spectroscopy",
    "signal-processing",
    "whittaker",
]
categories = [
    "algorithms",
    "science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Ameyanagi/baselines"

[package.metadata.precommit]
fmt = "cargo fmt --all --check"
clippy = "cargo clippy --workspace --all-targets --all-features -- -D warnings"
test = "cargo test --workspace --all-features"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["std"]
faer = ["dep:faer"]
gpu-wgpu = [
    "dep:cubecl",
    "cubecl/wgpu",
]
rayon = ["dep:rayon"]
std = []

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.cubecl]
version = "0.10"
features = ["std"]
optional = true
default-features = false

[dependencies.faer]
version = "0.24"
features = ["std"]
optional = true
default-features = false

[dependencies.libm]
version = "0.2"

[dependencies.rayon]
version = "1.11"
optional = true

[dependencies.thiserror]
version = "2.0"

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

[dev-dependencies.criterion]
version = "0.8"
default-features = false

[dev-dependencies.ruviz]
version = "0.4.18"
default-features = false

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

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