Tokio binding for Tungstenite, the Lightweight stream-based WebSocket implementation
Asynchronous WebSockets for Tokio stack.
Add this in your
Cargo.toml:
[dependencies] tokio-tungstenite = "*"
Take a look at the
examples/directory for client and server examples. You may also want to get familiar with Tokio if you don't have any experience with it.
tungstenite-rsRust WebSocket library and provides
Tokiobindings and wrappers for it, so you can use it with non-blocking/asynchronous
TcpStreams from and couple it together with other crates from
Tokiostack.