stac-rs icon indicating copy to clipboard operation
stac-rs copied to clipboard

Compile and run some functionality in WebAssembly

Open 02JanDal opened this issue 1 year ago • 2 comments

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

02JanDal avatar Feb 10 '24 09:02 02JanDal

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 avatar Sep 19 '24 19:09 gadomski

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

gadomski avatar Oct 17 '24 11:10 gadomski

Closing, we've got https://www.npmjs.com/package/stac-wasm now

gadomski avatar Aug 05 '25 16:08 gadomski