/stac-rs

Rust implementation of the SpatioTemporal Asset Catalog (STAC) specification

Primary LanguageRustApache License 2.0Apache-2.0

stac-rs

GitHub Workflow Status Crates.io Contributor Covenant

Rust implementation of the SpatioTemporal Asset Catalog (STAC) specification, spread over several crates.

Crate Description Badges
stac Core data structures and synchronous I/O docs.rs
Crates.io
stac-validate Validate STAC data structures with jsonschema docs.rs
Crates.io
stac-api Data structures for the STAC API specification docs.rs
Crates.io
stac-async Asynchronous I/O with tokio docs.rs
Crates.io
stac-cli Command line interface docs.rs
Crates.io

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:

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.