[package]
edition = "2021"
name = "rustpix-algorithms"
version = "1.0.5"
authors = ["ORNL Neutron Imaging <neutronimaging@ornl.gov>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Clustering algorithms (ABS, DBSCAN, Graph, Grid) with spatial indexing"
documentation = "https://docs.rs/rustpix-core"
readme = "README.md"
keywords = [
"clustering",
"dbscan",
"spatial-indexing",
"neutron-imaging",
"scientific",
]
categories = [
"science",
"algorithms",
]
license = "MIT"
repository = "https://github.com/ornlneutronimaging/rustpix"
[features]
default = []
serde = [
"dep:serde",
"rustpix-core/serde",
]
[lib]
name = "rustpix_algorithms"
path = "src/lib.rs"
[[test]]
name = "correctness"
path = "tests/correctness.rs"
[[test]]
name = "dbscan_min_cluster_size"
path = "tests/dbscan_min_cluster_size.rs"
[[test]]
name = "grid_perf"
path = "tests/grid_perf.rs"
[[test]]
name = "repro_spatial_bounds"
path = "tests/repro_spatial_bounds.rs"
[dependencies.rayon]
version = "1.10"
[dependencies.rustpix-core]
version = "1.0.5"
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dev-dependencies.approx]
version = "0.5"
[lints.clippy]
all = "warn"
pedantic = "warn"
[lints.rust]
unsafe_code = "warn"