$ tokio-tungstenite
v0.29.0MAJOR UPDATETokio binding for Tungstenite, the Lightweight stream-based WebSocket implementation
Latest Update Summary
Crate
Name: tokio-tungstenite New version: 0.29.0 Release date: 2026-03-17T15:40:13.215053Z
Crate readme
Short description Asynchronous WebSockets for Tokio stack.
Long description
This crate is based on tungstenite-rs Rust WebSocket library and provides Tokio bindings and wrappers for it, allowing usage with non-blocking/asynchronous TcpStreams. It supports TLS on all platforms through feature flags, enabling secure WebSockets when required. While tokio-tungstenite offers decent performance, it aims to improve consistent performance through community contributions.
Features • native-tls • rustls-tls-native-roots • rustls-tls-webpki-roots
Code Examples Add to Cargo.toml
[dependencies]
tokio-tungstenite = "0.28"
Links • https://crates.io/crates/tokio-tungstenite • https://docs.rs/tokio-tungstenite • https://github.com/snapview/tungstenite-rs • https://github.com/rustls/rustls • https://github.com/sfackler/rust-native-tls • https://github.com/snapview/tokio-tungstenite/blob/master/CHANGELOG.md#0230 • https://github.com/snapview/tokio-tungstenite/issues/336 • https://github.com/snapview/tokio-tungstenite/issues/353#issuecomment-2455100010 • https://github.com/snapview/tungstenite-rs/issues/352#issuecomment-1537488614
https://docs.rs/tokio-tungstenite/0.29.0
Release info
Release version: N/A
Release description N/A
Code Examples N/A
Minor update: 0.28.0 → 0.29.0
$ DOWNLOADS TREND
$ VERSION HISTORY
$ LINKS
$ INSTALL
cargo add tokio-tungsteniteOr add to Cargo.toml: tokio-tungstenite = "0.29.0"