Rust implementation of the SpatioTemporal Asset Catalog (STAC) specification.
We are stac on crates.io. To use the library in your project:
toml
[dependencies]
stac = "0.3"
Please see the documentation for usage examples.
There are two opt-in features: jsonschema
and reqwest
.
The jsonschema
feature enables validation against json-schema definitions:
toml
[dependencies]
stac = { version = "0.3", features = ["jsonschema"]}
The jsonschema
feature also enables the reqwest
feature.
If you'd like to use the library with reqwest
for blocking remote reads:
toml
[dependencies]
stac = { version = "0.3", features = ["reqwest"]}
If reqwest
is not enabled, stac::read
will throw an error if you try to read from a url.