7 releases (4 breaking)

0.5.1 Apr 29, 2024
0.5.0 Apr 7, 2024
0.4.1 Sep 25, 2023
0.4.0 Apr 4, 2023
0.0.1 May 20, 2022

#823 in Science

Download history 8/week @ 2024-02-19 16/week @ 2024-02-26 15/week @ 2024-03-04 24/week @ 2024-03-11 25/week @ 2024-03-18 48/week @ 2024-03-25 128/week @ 2024-04-01 57/week @ 2024-04-08 1/week @ 2024-04-15 4/week @ 2024-04-22 230/week @ 2024-04-29

390 downloads per month
Used in 2 crates

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-async = "0.5"

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.

Other info

This crate is part of the stac-rs monorepo, see its README for contributing and license information.

Dependencies

~9–23MB
~315K SLoC