4 releases (breaking)

0.4.0 Apr 4, 2023
0.3.0 Jan 8, 2023
0.2.0 Dec 30, 2022
0.0.1 May 20, 2022

#333 in Science

27 downloads per month
Used in stac-cli

MIT/Apache

180KB
3K SLoC

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.4"
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_async::read(url).await.unwrap();
let item: stac::Item = value.try_into().unwrap();

Please see the documentation for more usage examples.

Dependencies

~8–16MB
~315K SLoC