# stac-async
[](https://github.com/stac-utils/stac-rs/actions/workflows/ci.yml)
[](https://docs.rs/stac-async/latest/stac_async/)
[](https://crates.io/crates/stac-async)

[](./CODE_OF_CONDUCT)
Asynchronous I/O for the [SpatioTemporal Asset Catalog (STAC)](https://stacspec.org/) specification.
## Usage
```toml
[dependencies]
stac = "0.5"
stac-async = "0.4"
```
## Examples
```rust
// 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](https://docs.rs/stac-async) for more usage examples.