| Crates.io | stac-api |
| lib.rs | stac-api |
| version | 0.8.1 |
| created_at | 2023-01-14 14:53:56.716794+00 |
| updated_at | 2025-09-23 22:40:26.241151+00 |
| description | Rust library for the SpatioTemporal Asset Catalog (STAC) API specification |
| homepage | https://stac-utils.github.io/rustac |
| repository | https://github.com/stac-utils/rustac |
| max_upload_size | |
| id | 758894 |
| size | 306,016 |
Rust implementation of the data structures that make up the STAC API specification. This is not a server implementation. For a STAC API server written in Rust, check out our stac-server.
To use the library in your project:
[dependencies]
stac-api = "0.8"
stac-api has one optional feature.
geo enables Search::match:
[dependencies]
stac-api = { version = "0.8", features = ["geo"] }
use stac_api::{Root, Conformance, CORE_URI};
use stac::Catalog;
// Build the root (landing page) endpoint.
let root = Root {
catalog: Catalog::new("an-id", "a description"),
conformance: Conformance {
conforms_to: vec![CORE_URI.to_string()],
}
};
Please see the documentation for more usage examples.
This crate is part of the rustac monorepo, see its README for contributing and license information.