[package]
edition = "2024"
rust-version = "1.85"
name = "situs"
version = "0.1.0"
authors = ["Justin Erlick"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Static and dynamic R-trees over f64 boxes with no false negatives, and nearest-neighbor search by certified bounds"
documentation = "https://docs.rs/situs"
readme = "README.md"
keywords = [
"spatial-index",
"r-tree",
"bounding-box",
"no_std",
]
categories = [
"data-structures",
"no-std",
"science::geo",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/JustinGeoSci/situs"
[package.metadata.docs.rs]
features = ["exact-nearest"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
exact-nearest = ["dep:arithmetica"]
[lib]
name = "situs"
path = "src/lib.rs"
[dependencies.arithmetica]
version = "0.1.1"
optional = true
default-features = false
[dev-dependencies.proptest]
version = "=1.5.0"
[lints.clippy]
doc_markdown = "allow"
inline_always = "allow"
items_after_statements = "allow"
many_single_char_names = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
redundant_closure_for_method_calls = "allow"
similar_names = "allow"
single_match_else = "allow"
too_many_lines = "warn"
uninlined_format_args = "allow"
unwrap_used = "deny"
wildcard_imports = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]