[package]
edition = "2024"
rust-version = "1.90.0"
name = "spatio"
version = "0.3.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance, embedded spatio-temporal database for modern applications"
homepage = "https://github.com/pkvartsianyi/spatio"
documentation = "https://docs.rs/spatio"
readme = "README.md"
keywords = [
"spatial",
"database",
"geospatial",
"embedded",
"temporal",
]
categories = [
"database-implementations",
"science::geo",
]
license = "MIT"
repository = "https://github.com/pkvartsianyi/spatio"
resolver = "2"
[features]
bench-prof = []
default = [
"geojson",
"time-index",
]
full = [
"geojson",
"toml",
"time-index",
"sync",
]
geojson = ["dep:geozero"]
sync = []
time-index = []
toml = ["dep:toml"]
[lib]
name = "spatio"
path = "lib.rs"
[[example]]
name = "3d_spatial_tracking"
path = "examples/3d_spatial_tracking.rs"
[[example]]
name = "getting_started"
path = "examples/getting_started.rs"
doc-scrape-examples = true
[[example]]
name = "spatial_queries"
path = "examples/spatial_queries.rs"
[[example]]
name = "trajectory_tracking"
path = "examples/trajectory_tracking.rs"
[[test]]
name = "hot_state_recovery_test"
path = "tests/hot_state_recovery_test.rs"
[[test]]
name = "spatial_3d_performance"
path = "tests/spatial_3d_performance.rs"
[dependencies.bytes]
version = "1.11"
features = ["serde"]
[dependencies.dashmap]
version = "5.5"
[dependencies.geo]
version = "0.31.0"
[dependencies.geojson]
version = "0.24.1"
[dependencies.geozero]
version = "0.14.0"
features = [
"with-geojson",
"with-geo",
]
optional = true
[dependencies.log]
version = "0.4"
[dependencies.once_cell]
version = "1.19"
[dependencies.parking_lot]
version = "0.12.5"
[dependencies.rstar]
version = "0.12.2"
[dependencies.rustc-hash]
version = "2.1.1"
[dependencies.s2]
version = "0.0.13"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.smallvec]
version = "1.11"
[dependencies.spatio-types]
version = "0.2.0"
features = ["geojson"]
[dependencies.thiserror]
version = "2.0.17"
[dependencies.toml]
version = "0.9.8"
optional = true
[dependencies.uuid]
version = "1.0"
features = ["v4"]
[dev-dependencies.criterion]
version = "0.7.0"
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.tempfile]
version = "3.8"