# 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 = "2021" rust-version = "1.80" name = "stac-server" version = "0.3.2" authors = ["Pete Gadomski "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "SpatioTemporal Asset Catalog (STAC) API server" homepage = "https://stac-utils.github.io/stac-rs" 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/stac-rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "stac_server" path = "src/lib.rs" [dependencies.axum] version = "0.7.7" optional = true [dependencies.bb8] version = "0.8.5" optional = true [dependencies.bb8-postgres] version = "0.8.1" 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.2.2" features = ["tls"] optional = true [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0" [dependencies.serde_urlencoded] version = "0.7.1" [dependencies.stac] version = "0.11.0" [dependencies.stac-api] version = "0.6.2" features = ["geo"] [dependencies.stac-types] version = "0.1.0" [dependencies.thiserror] version = "1.0" [dependencies.tokio-postgres] version = "0.7.12" 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.stac] version = "0.11.0" features = ["validate"] [dev-dependencies.tokio] version = "1.37" features = ["macros"] [dev-dependencies.tokio-test] version = "0.4.4" [dev-dependencies.tower] version = "0.5.1" features = ["util"] [features] axum = [ "dep:axum", "dep:bytes", "dep:mime", "dep:tower-http", ] pgstac = [ "dep:pgstac", "dep:bb8", "dep:bb8-postgres", "dep:tokio-postgres", ]