Crates.io | stac-async |
lib.rs | stac-async |
version | 0.5.1 |
source | src |
created_at | 2022-05-20 20:25:04.454894 |
updated_at | 2024-04-29 20:25:01.112756 |
description | Asynchronous I/O for stac-rs |
homepage | |
repository | https://github.com/stac-utils/stac-rs |
max_upload_size | |
id | 590450 |
size | 213,488 |
Asynchronous I/O for the SpatioTemporal Asset Catalog (STAC) specification.
[dependencies]
stac-async = "0.5"
// 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.
This crate is part of the stac-rs monorepo, see its README for contributing and license information.