stac-server 0.4.6

SpatioTemporal Asset Catalog (STAC) API server
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.88"
name = "stac-server"
version = "0.4.6"
authors = ["Pete Gadomski <pete.gadomski@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SpatioTemporal Asset Catalog (STAC) API server"
homepage = "https://stac-utils.github.io/rustac"
readme = "README.md"
keywords = [
    "geospatial",
    "stac",
    "metadata",
    "geo",
    "server",
]
categories = [
    "science",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/stac-utils/rustac"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
axum = [
    "dep:axum",
    "dep:bytes",
    "dep:mime",
    "dep:tower-http",
]
duckdb = [
    "dep:stac-duckdb",
    "dep:bb8",
]
pgstac = [
    "dep:bb8",
    "dep:bb8-postgres",
    "dep:pgstac",
    "dep:rustls",
    "dep:tokio-postgres",
    "dep:tokio-postgres-rustls",
]

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

[dependencies.axum]
version = "0.8.1"
optional = true

[dependencies.bb8]
version = "0.9.0"
optional = true

[dependencies.bb8-postgres]
version = "0.9.0"
optional = true

[dependencies.bytes]
version = "1.7"
optional = true

[dependencies.http]
version = "1.1"

[dependencies.mime]
version = "0.3.17"
optional = true

[dependencies.pgstac]
version = "0.4.6"
optional = true

[dependencies.rustls]
version = "0.23.22"
optional = true

[dependencies.serde]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_urlencoded]
version = "0.7.1"

[dependencies.stac]
version = "0.16.3"

[dependencies.stac-duckdb]
version = "0.3.5"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio-postgres]
version = "0.7.12"
optional = true

[dependencies.tokio-postgres-rustls]
version = "0.13.0"
optional = true

[dependencies.tower-http]
version = "0.6.1"
features = [
    "cors",
    "trace",
]
optional = true

[dependencies.tracing]
version = "0.1.40"

[dependencies.url]
version = "2.3"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tokio]
version = "1.44"
features = ["macros"]

[dev-dependencies.tokio-test]
version = "0.4.4"

[dev-dependencies.tower]
version = "0.5.1"
features = ["util"]