5 个版本
新版本 0.0.5 | 2024 年 8 月 14 日 |
---|---|
0.0.4 | 2024 年 6 月 22 日 |
0.0.3 | 2024 年 4 月 14 日 |
0.0.2 | 2024 年 4 月 14 日 |
0.0.1 | 2024 年 4 月 11 日 |
#485 在 WebAssembly
258 每月下载量
63KB
1.5K SLoC
object-store-wasm
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).
为什么不直接将其贡献给 apache/arrow-rs 中的 object_store crate 呢?
我想这样做,但是 这将需要在 client 和 http 中的 trait 上的大多数 Send 约束进行可选化(不考虑 aws、gcp、azure 中几万个代码行),在功能标志(线程安全、多线程等)的默认设置下。
我预计这里的一些部分可以上移,但我严重怀疑 所有 这些都属于上游。如果结果证明是错误的,请将此仓库视为外部重构的练习。
路线图
- 通过 http/s 获取 opts
- 尝试实际的流式响应
- 避免/提供配置选项以交换 HEAD 请求与零范围 GET 请求
- JS 绑定(在标志之后)
- AWS 只读操作
- wasm-exposed get,list
依赖项
~16–34MB
~526K SLoC