spart 0.6.1

A collection of space partitioning tree data structures for Rust
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.85.0"
name = "spart"
version = "0.6.1"
authors = ["Hassan Abedi <hassan.abedi.t@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A collection of space partitioning tree data structures for Rust"
homepage = "https://github.com/habedi/spart"
documentation = "https://docs.rs/spart"
readme = "README.md"
keywords = [
    "quadtree",
    "kdtree",
    "r-tree",
    "octree",
    "spatial-index",
]
categories = [
    "data-structures",
    "algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/habedi/spart"
resolver = "2"

[package.metadata.rustfmt]
hard_tabs = false
max_width = 100
tab_spaces = 4

[features]
default = []
enable_log = ["tracing/log"]
serde = [
    "dep:serde",
    "dep:bincode",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bincode]
version = "=1.3.3"
optional = true

[dependencies.ordered-float]
version = "5.0.0"

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

[dependencies.tracing]
version = "0.1.41"

[dev-dependencies.anyhow]
version = "1.0.86"

[dev-dependencies.bincode]
version = "=1.3.3"

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

[dev-dependencies.proptest]
version = "1.5.0"

[profile.bench]
inherits = "release"

[profile.release]
lto = true
codegen-units = 1
panic = "unwind"
strip = "symbols"

[profile.test]
debug = 2