stac-async

Crates.iostac-async
lib.rsstac-async
version0.5.1
sourcesrc
created_at2022-05-20 20:25:04.454894
updated_at2024-04-29 20:25:01.112756
descriptionAsynchronous I/O for stac-rs
homepage
repositoryhttps://github.com/stac-utils/stac-rs
max_upload_size
id590450
size213,488
Pete Gadomski (gadomski)

documentation

https://docs.rs/stac-async

README

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.

Commit count: 501

cargo fmt