You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
octocrab enables hyper/tcp by default, it uses socket2, which does not compile on wasm. I am unsure about the necessity of enabling hyper/tcp. Is it possible to remove or find an alternative for it to resolve the compilation issue?
The text was updated successfully, but these errors were encountered:
Thank you for your issue! This is something I want to address, but right now I'm not sure of the best way to resolve it I think ideally this library would be HTTP client agnostic to avoid this situation, and that's the solution I'd like to pursue long term, but right now I'm not sure how to achieve that yet.
looking forward for this feature!
Did you check https://crates.io/crates/octocrab_wasi ?
I got it compiling under wasm32-wasi, but does not have the latest features of this repo.
@patrickelectric Yes, the problem with that crate is that it uses reqwest which means it's even more incompatible with the rest of the HTTP ecosystem even though it provides wasi support. It's unfortunate that two crates by the same author are so incompatible with each other, but that's the current state of the world. Ideally you'd be able to pass in a reqwest::Client to be able to achieve the same result as that fork, but you currently cannot.
Hi,
octocrab enables
hyper/tcp
by default, it usessocket2
, which does not compile on wasm. I am unsure about the necessity of enablinghyper/tcp
. Is it possible to remove or find an alternative for it to resolve the compilation issue?The text was updated successfully, but these errors were encountered: