13 releases (7 breaking)
| 0.8.2 | Feb 15, 2026 |
|---|---|
| 0.8.0 | Dec 22, 2025 |
| 0.7.0 | Nov 5, 2025 |
| 0.6.0 | May 3, 2025 |
| 0.1.0 | Jan 9, 2022 |
#15 in WebSocket
48,242 downloads per month
Used in 71 crates
(12 directly)
60KB
1K
SLoC
tokio-tungstenite-wasm
A wrapper around websys and tokio-tungstenite that makes it easy to use websockets cross-platform.
Features
As with tungstenite-rs TLS is supported on all platforms using native-tls or rustls through feature flags: native-tls, rustls-tls-native-roots or rustls-tls-webpki-roots feature flags. Neither is enabled by default. See the Cargo.toml for more information. If you require support for secure WebSockets (wss://) enable one of them.
These are, at time of writing, at parity with tokio-tungstenite.
Dependencies
~1–20MB
~268K SLoC