splimes 1.1.0

Resample irregularly sampled time series onto a regular grid with local spline interpolation, on CPU (rayon) or GPU (wgpu), with BigDecimal or f64 values.
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.95"
name = "splimes"
version = "1.1.0"
authors = ["Justin Icenhour"]
build = false
exclude = [
    ".github/",
    "assets/",
    "deny.toml",
    "rustfmt.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Resample irregularly sampled time series onto a regular grid with local spline interpolation, on CPU (rayon) or GPU (wgpu), with BigDecimal or f64 values."
documentation = "https://docs.rs/splimes"
readme = "README.md"
keywords = [
    "spline",
    "interpolation",
    "timeseries",
    "resampling",
    "gpu",
]
categories = [
    "mathematics",
    "science",
    "algorithms",
]
license = "MIT"
repository = "https://github.com/basic-automation/splimes"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = [
    "gpu",
    "serde",
]
gpu = [
    "dep:wgpu",
    "dep:bytemuck",
    "dep:pollster",
]
serde = [
    "dep:serde",
    "bigdecimal/serde",
    "chrono/serde",
]
tokio = ["dep:tokio"]

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

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

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

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

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

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

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

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

[[test]]
name = "spawn_exit"
path = "tests/spawn_exit.rs"
harness = false

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

[dependencies.bigdecimal]
version = "0.4.3"

[dependencies.bytemuck]
version = "1.22"
optional = true

[dependencies.chrono]
version = "0.4.35"
features = [
    "std",
    "clock",
]
default-features = false

[dependencies.log]
version = "0.4.29"

[dependencies.pollster]
version = "0.4"
optional = true

[dependencies.rayon]
version = "1.11"

[dependencies.serde]
version = "1.0.166"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokio]
version = "1"
features = ["rt"]
optional = true

[dependencies.wgpu]
version = "30"
optional = true

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

[dev-dependencies.naga]
version = "30"
features = ["wgsl-in"]

[dev-dependencies.serde_json]
version = "1.0.100"
features = ["float_roundtrip"]

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]

[profile.dev.package."*"]
opt-level = 2