stac-api

GitHub Workflow Status docs.rs Crates.io Crates.io Contributor Covenant

Rust implementation of the data structures that make up the STAC API specification. This is not a server implementation. For an (experimental) STAC API server written in Rust, check out stac-server-rs.

Usage

To use the library in your project:

toml [dependencies] stac-api = "0.2"

Examples

rust // Build the root (landing page) endpoint. let root = stac_api::Root { catalog: stac::Catalog::new("an-id", "a description"), conformsTo: vec!["https://api.stacspec.org/v1.0.0-rc.2/core".to_string()], };

Please see the documentation for more usage examples.