How to use it on wasm? #382
Unanswered
bajrangCoder
asked this question in
Q&A
Replies: 2 comments 1 reply
-
@irvingoujAtDevolution You should also include a simple wasm example |
Beta Was this translation helpful? Give feedback.
0 replies
-
You cannot use tokio, try wasm_bindgen_futures |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After checking the repository and PRs, I see that the library supports WASM. However, when I tried using it to create a very basic SSH client, I ran into issues during the compilation to WASM. The problem seems to stem from
tokio
, as it relies on certain features that are not supported in a WASM environment.The error I encountered was something like this:
I would really appreciate it if there were any examples or resources available related to using this library with WASM.
For reference, I am using version 0.46 of
russh
.Beta Was this translation helpful? Give feedback.
All reactions