stac-async 0.5.0

Asynchronous I/O for stac-rs
Documentation

stac-async

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

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

Usage

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

Examples

// 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.