[package]
edition = "2024"
rust-version = "1.85"
name = "oxigdal-analytics"
version = "0.1.3"
authors = ["COOLJAPAN OU (Team Kitasan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Advanced geospatial analytics for OxiGDAL - Time series, clustering, hotspot analysis, and interpolation"
homepage = "https://github.com/cool-japan/oxigdal"
documentation = "https://docs.rs/oxigdal-analytics"
readme = "README.md"
keywords = [
"gdal",
"science",
"gis",
"analytics",
"statistics",
]
categories = [
"science",
"algorithms",
"mathematics",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxigdal"
resolver = "2"
[features]
all_analytics = [
"interpolation",
"clustering",
"timeseries",
"hotspot",
"change_detection",
"zonal",
]
change_detection = []
clustering = []
default = ["std"]
hotspot = []
interpolation = []
parallel = ["dep:rayon"]
std = [
"thiserror/std",
"serde/std",
]
timeseries = []
zonal = []
[lib]
name = "oxigdal_analytics"
path = "src/lib.rs"
[[test]]
name = "analytics_test"
path = "tests/analytics_test.rs"
[[bench]]
name = "clustering"
path = "benches/clustering.rs"
harness = false
required-features = ["clustering"]
[[bench]]
name = "interpolation"
path = "benches/interpolation.rs"
harness = false
required-features = ["interpolation"]
[[bench]]
name = "timeseries"
path = "benches/timeseries.rs"
harness = false
required-features = ["timeseries"]
[dependencies.approx]
version = "0.5"
[dependencies.num-traits]
version = "0.2"
[dependencies.oxigdal-core]
version = "0.1"
[dependencies.rayon]
version = "1"
optional = true
[dependencies.scirs2-core]
version = "0.3.4"
features = [
"array",
"array_stats",
"linalg",
"random",
]
[dependencies.serde]
version = "1"
features = [
"derive",
"alloc",
]
default-features = false
[dependencies.thiserror]
version = "2"
default-features = false
[dependencies.tracing]
version = "0.1"
[dev-dependencies.approx]
version = "0.5"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
expect_used = "warn"
manual_midpoint = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
panic = "deny"
similar_names = "allow"
suboptimal_flops = "allow"
unwrap_used = "deny"
[lints.rust]
missing_docs = "warn"
unsafe_code = "warn"