cloud-storage-rs icon indicating copy to clipboard operation
cloud-storage-rs copied to clipboard

feat(wasm): added wasm support

Open benni-tec opened this issue 4 months ago • 0 comments

Hey everybody, the basic types from wasm_bindgen, which are used by reqwest etc. when compiling for wasm, are neither Send nor Sync.

Since wasm is inherently single-threaded it is safe to send objects across "thread"-boundaries that do not implement these.

asnyc_traits however forces the parameters to be Sync + Send by default, this merge requests disables this only for wasm targets and should thus not effect anything else.

PS: I also bumped the versions of the dependencies

benni-tec avatar Oct 14 '24 16:10 benni-tec