Crate stac_async

source ·
Expand description

Asynchronous I/O for STAC, built on stac-rs

This is just a small library that provides an async version of stac::read. It also includes a thin wrapper around reqwest::Client for efficiently getting multiple STAC items in the same session.

Examples

let value = stac_async::read("data/simple-item.json").await.unwrap();

Structs

A thin wrapper around reqwest::Client.

Enums

Crate-specific error type. Just a wrapper around a couple of different errors that could occur.

Functions

Reads a STAC Value from an href.
Reads a serde_json::Value from an href.
Writes any serializable value to a path.