A little news on the WASM front. Rust-idiomatic web API's are still scarce, and this week I tried to tackle one of them: WebSockets for convenient full duplex comms between servers and browsers. The result is a library that allows you to treat WebSockets as futures Streams or Sinks, or as Tokio AsyncRead and AsyncWrite which you can use Codecs on to get arbitrary rust structs to flow back and fort from the browser. The alpha of this library can be found here:
https://github.com/najamelan/wasm_websocket_stream
It needs review, so if you know one another about tokio impls and the like, please review. Review questions are in the readme for the project. Please open issues on the repository for review feedback.
Happy Coding!