Crates.io | object-store-wasm |
lib.rs | object-store-wasm |
version | 0.0.6 |
source | src |
created_at | 2024-04-11 14:45:08.153418 |
updated_at | 2024-09-09 23:58:53.995438 |
description | WebAssembly object_store implementation |
homepage | |
repository | https://github.com/H-Plus-Time/object-store-wasm |
max_upload_size | |
id | 1205018 |
size | 75,221 |
A wasm-first implementation of the ObjectStore trait, accounting for the fundamentally non-Send nature of wasm_bindgen_futures::JsFuture (and therefore tacitly assuming single-threaded usage).
Why not just contribute this back to the object_store crate at apache/arrow-rs?
I'd like to, but that would require optionalizing most of the Send constraints on the traits in client and http (discounting the several thousand lines of code in aws, gcp, azure), behind a default on feature flag (threadsafe, multithread, whatever).
I expect there's a few parts of this that could be upstreamed, but I seriously doubt all of this belongs upstream. If that turns out to be incorrect, consider this repo an exercise in exterior refactoring.
Roadmap