ferristseng / rust-ipfs-api

IPFS HTTP client in Rust
Apache License 2.0
247 stars 68 forks source link

Reqwest support #69

Closed SionoiS closed 2 years ago

SionoiS commented 3 years ago

I've been looking at reqwest and it would allow async multipart #58 and browser support.

I don't know if it was considered before, since reqwest is built on hyper could be an easy switch.

I'll start a draft PR #70.

edit: browser support not just WASM

ferristseng commented 3 years ago

The only reason it wasn't supported is because at the time I started this there was only basic support for async

ferristseng commented 3 years ago

That being said, if Hyper supports WASM, then I think this should as well?

SionoiS commented 3 years ago

Well I guess WASM support is not exactly what I need and yes I believe both Hyper and Reqwest compile to WASM but what I'm after is browser support.