stac-utils / stac-rs

Tools and libraries for the SpatioTemporal Asset Catalog (STAC) specification, written in Rust
https://stac-utils.github.io/stac-rs/
Apache License 2.0
81 stars 11 forks source link

Allow `stac-api` and `stac-duckdb` to compile and run och WebAssembly #218

Open 02JanDal opened 8 months ago

02JanDal commented 8 months ago

Might be as simple as putting tokio::fs behind a conditional ("Only features sync,macros,io-util,rt,time are supported on wasm.").

gadomski commented 1 month ago

I've had a little bit of time to look into this, and I'm not sure what the win would be — we already have https://github.com/m-mohr/stac-js/ to work w/ STAC in javascript. Unless there's specific functionality that's missing from that repo, I don't know if the effort to create WASM bindings here is worth it.

gadomski commented 2 days ago

Re-opening, as I think Search.to_duckdb_query or some-such would be helpful to have all over the place.