spatio 0.1.7

A high-performance, embedded spatio-temporal database for modern applications
Documentation
[[bench]]
harness = false
name = "spatial_benchmarks"
path = "benches/spatial_benchmarks.rs"

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

[dependencies.bytes]
version = "1.5"

[dependencies.geo]
version = "0.31.0"

[dependencies.geojson]
version = "0.24.1"

[dependencies.geozero]
features = ["with-geojson", "with-geo"]
optional = true
version = "0.14.0"

[dependencies.log]
version = "0.4"

[dependencies.once_cell]
version = "1.19"

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.rstar]
version = "0.11.0"

[dependencies.rustc-hash]
version = "1.1"

[dependencies.s2]
version = "0.0.13"

[dependencies.serde]
features = ["derive"]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.smallvec]
version = "1.11"

[dependencies.spatio-types]
version = "0.1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.toml]
optional = true
version = "0.8"

[dependencies.uuid]
features = ["v4"]
version = "1.0"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.tempfile]
version = "3.8"

[[example]]
name = "3d_spatial_tracking"
path = "examples/3d_spatial_tracking.rs"

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

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

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

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

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

[[example]]
doc-scrape-examples = true
name = "getting_started"
path = "examples/getting_started.rs"

[[example]]
name = "persistence_lifecycle"
path = "examples/persistence_lifecycle.rs"
required-features = ["aof"]

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

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

[features]
aof = ["dep:bincode"]
bench-prof = []
default = ["snapshot", "geojson", "time-index"]
full = ["geojson", "aof", "snapshot", "toml", "time-index", "sync"]
geojson = ["dep:geozero", "geozero/with-geojson"]
snapshot = ["dep:bincode"]
sync = []
time-index = []
toml = ["dep:toml"]

[lib]
crate-type = ["rlib", "cdylib"]
name = "spatio"
path = "src/lib.rs"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["database-implementations", "science::geo"]
description = "A high-performance, embedded spatio-temporal database for modern applications"
documentation = "https://docs.rs/spatio"
edition = "2024"
homepage = "https://github.com/pkvartsianyi/spatio"
keywords = ["spatial", "database", "geospatial", "embedded", "temporal"]
license = "MIT"
name = "spatio"
readme = "README.md"
repository = "https://github.com/pkvartsianyi/spatio"
rust-version = "1.90.0"
version = "0.1.7"

[profile.release]
codegen-units = 1
lto = "thin"
opt-level = 3
panic = "abort"
strip = "symbols"

[[test]]
name = "aof_rewrite_test"
path = "tests/aof_rewrite_test.rs"
required-features = ["aof"]

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

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