6 releases (breaking)

0.5.0 Apr 7, 2024
0.4.1 Sep 25, 2023
0.4.0 Apr 4, 2023
0.3.0 Jan 8, 2023
0.0.1 May 20, 2022

#665 in Science

Download history 4/week @ 2024-02-16 13/week @ 2024-02-23 15/week @ 2024-03-01 18/week @ 2024-03-08 33/week @ 2024-03-15 46/week @ 2024-03-22 28/week @ 2024-03-29 138/week @ 2024-04-05

247 downloads per month
Used in stac-cli

MIT/Apache

1.5MB
4K 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.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.

Dependencies

~8–21MB
~293K SLoC