# 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"
name = "stac-api"
version = "0.4.1"
authors = ["Pete Gadomski <pete.gadomski@gmail.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust library for the SpatioTemporal Asset Catalog (STAC) API specification"
homepage = "https://github.com/stac-utils/stac-rs"
readme = "README.md"
keywords = [
    "geospatial",
    "stac",
    "metadata",
    "geo",
    "raster",
]
categories = [
    "science",
    "data-structures",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/stac-utils/stac-rs"

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

[dependencies.chrono]
version = "0.4"

[dependencies.geo]
version = "0.28"
optional = true

[dependencies.geojson]
version = "0.24"

[dependencies.serde]
version = "1"

[dependencies.serde_json]
version = "1"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.stac]
version = "0.8"

[dependencies.thiserror]
version = "1"

[dependencies.url]
version = "2.3"

[dev-dependencies.geojson]
version = "0.24"

[features]
geo = [
    "dep:geo",
    "stac/geo",
]
