# 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" version = "0.11.0" authors = ["Pete Gadomski "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Rust library for the SpatioTemporal Asset Catalog (STAC) specification" homepage = "https://stac-utils.github.io/stac-rs" readme = "README.md" keywords = [ "geospatial", "stac", "metadata", "geo", ] categories = [ "science", "data-structures", ] license = "MIT OR Apache-2.0" repository = "https://github.com/stac-utils/stac-rs" [package.metadata.cargo-all-features] denylist = [ "geoparquet-compression", "object-store-all", "object-store-aws", "object-store-azure", "object-store-gcp", "object-store-http", "reqwest-rustls", "validate-blocking", ] max_combination_size = 2 [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "stac" path = "src/lib.rs" [[test]] name = "examples" path = "tests/examples.rs" required-features = ["validate-blocking"] [[test]] name = "migrate" path = "tests/migrate.rs" required-features = ["validate-blocking"] [dependencies.arrow-array] version = "52.2" optional = true [dependencies.arrow-cast] version = "52.2" optional = true [dependencies.arrow-json] version = "52.2" optional = true [dependencies.arrow-schema] version = "52.2" optional = true [dependencies.bytes] version = "1.7" [dependencies.chrono] version = "0.4.38" features = ["serde"] [dependencies.fluent-uri] version = "0.3.1" optional = true [dependencies.geo] version = "0.28.0" optional = true [dependencies.geo-types] version = "0.7.13" optional = true [dependencies.geoarrow] version = "0.3.0" optional = true [dependencies.geojson] version = "0.24.1" [dependencies.jsonschema] version = "0.22.3" optional = true default-features = false [dependencies.log] version = "0.4.22" [dependencies.object_store] version = "0.11.0" optional = true [dependencies.parquet] version = "52.2" optional = true default-features = false [dependencies.reqwest] version = "0.12.8" features = [ "json", "blocking", ] optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" features = ["preserve_order"] [dependencies.stac-derive] version = "0.1.0" [dependencies.stac-types] version = "0.1.0" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.37" optional = true [dependencies.tracing] version = "0.1.40" [dependencies.url] version = "2.3" [dev-dependencies.assert-json-diff] version = "2.0" [dev-dependencies.bytes] version = "1.7" [dev-dependencies.rstest] version = "0.23.0" [dev-dependencies.tempfile] version = "3.13" [dev-dependencies.tokio] version = "1.37" features = ["macros"] [dev-dependencies.tokio-test] version = "0.4.4" [features] geo = ["dep:geo"] geoarrow = [ "dep:geoarrow", "dep:arrow-array", "dep:arrow-cast", "dep:arrow-json", "dep:arrow-schema", "dep:geo-types", ] geoparquet = [ "geoarrow", "geoarrow/parquet", "dep:parquet", ] geoparquet-compression = [ "geoparquet", "geoarrow/parquet_compression", "parquet/snap", "parquet/brotli", "parquet/flate2", "parquet/lz4", "parquet/zstd", ] object-store = [ "dep:object_store", "dep:tokio", ] object-store-all = [ "object-store-aws", "object-store-azure", "object-store-gcp", "object-store-http", ] object-store-aws = [ "object-store", "object_store/aws", ] object-store-azure = [ "object-store", "object_store/azure", ] object-store-gcp = [ "object-store", "object_store/gcp", ] object-store-http = [ "object-store", "object_store/http", ] reqwest = [ "dep:reqwest", "stac-types/reqwest", ] reqwest-rustls = ["reqwest/rustls-tls"] validate = [ "dep:jsonschema", "dep:reqwest", "dep:tokio", "dep:fluent-uri", ] validate-blocking = [ "validate", "tokio/rt", ]