baselines 0.1.0

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.0"
build = false
exclude = ["/docs/assets/ruviz/**"]
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"

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

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

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

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

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

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

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

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

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

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

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

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

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

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