[package]
edition = "2024"
rust-version = "1.85"
name = "backshift"
version = "0.3.0"
authors = ["Markus Mayer"]
build = false
exclude = [
"/ci",
"/docs",
"/.github",
"/bindings",
"/site",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Time-series forecasting checked against R and statsmodels: ARIMA, ETS, Theta, VAR, Croston/TSB, GARCH and changepoint detection, with streaming filters that run without a heap"
homepage = "https://sunsided.github.io/arima-rs/"
documentation = "https://docs.rs/backshift"
readme = "README.md"
keywords = [
"forecasting",
"time-series",
"arima",
"holt-winters",
"no-std",
]
categories = [
"mathematics",
"science",
"no-std",
"no-std::no-alloc",
"embedded",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sunsided/arima-rs"
[features]
alloc = []
default = ["std"]
libm = ["dep:libm"]
rayon = [
"std",
"dep:rayon",
]
std = ["alloc"]
[lib]
name = "backshift"
path = "src/lib.rs"
[[example]]
name = "device_refit"
path = "examples/device_refit.rs"
[[example]]
name = "holidays_outages"
path = "examples/holidays_outages.rs"
required-features = ["alloc"]
[[example]]
name = "prophet_recipe"
path = "examples/prophet_recipe.rs"
required-features = ["alloc"]
[[test]]
name = "it"
path = "tests/it/main.rs"
required-features = ["alloc"]
[[test]]
name = "no_alloc"
path = "tests/no_alloc.rs"
harness = false
[[bench]]
name = "arima"
path = "benches/arima.rs"
harness = false
required-features = ["alloc"]
[dependencies.libm]
version = "0.2.16"
optional = true
[dependencies.rayon]
version = "1.10"
optional = true
[dev-dependencies.criterion]
version = "0.7.0"
default-features = false
[dev-dependencies.float-cmp]
version = "0.9.0"
[dev-dependencies.proptest]
version = "1.12.0"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]