stac-rs
Rust implementation of the SpatioTemporal Asset Catalog (STAC) specification, spread over several crates.
Crate | Description | Badges |
---|---|---|
stac | Core data structures and synchronous I/O | |
stac-validate | Validate STAC data structures with jsonschema | |
stac-api | Data structures for the STAC API specification | |
stac-async | Asynchronous I/O with tokio | |
stac-cli | Command line interface | |
Usage
To use our command-line interface (CLI), first install Rust, e.g. with rustup. Then:
cargo install stac-cli
You can download assets from a STAC item:
stac download https://raw.githubusercontent.com/radiantearth/stac-spec/master/examples/simple-item.json .
To see a full list of available commands:
stac --help
The other crates in this repository are libraries — see their respective READMEs and documentation for details on their usage.
Development
See CONTRIBUTING.md for information about contributing to this project. See RELEASING.md for a checklist to use when releasing a new version.
Ecosystem
Here's some related projects that use this repo:
- pgstac-rs: Rust interface for pgstac, PostgreSQL schema and functions for STAC
- stac-server-rs: A STAC API server implementation
License
stac-rs is dual-licensed under both the MIT license and the Apache license (Version 2.0). See LICENSE-APACHE and LICENSE-MIT for details.