stac-async

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

Asynchronous I/O for the SpatioTemporal Asset Catalog (STAC) specification.

Usage

toml [dependencies] stac = "0.4" stac-async = "0.4"

Examples

rust // Read an item. let url = "https://raw.githubusercontent.com/radiantearth/stac-spec/v1.0.0/examples/simple-item.json"; let value = stac_async::read(url).await.unwrap(); let item: stac::Item = value.try_into().unwrap();

Please see the documentation for more usage examples.