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.5" 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::Item = tokio_test::block_on(async { stac_async::read(url).await.unwrap() });

Please see the documentation for more usage examples.