Tungstenite
Lightweight stream-based WebSocket implementation for Rust. observed · 2026-08-28
Health v2 · maintenance only
74/100
- Activity 92
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3456
- days_rel: n/a
- days_push: 53
- n_releases_24m: 0
Adoption not part of the score
2384 stars · 290 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
tokio-tungstenite is a Rust library providing asynchronous WebSocket client and server support built on top of the lightweight tungstenite-rs implementation, with Tokio bindings for non-blocking streams. It supports TLS via native-tls or rustls feature flags for secure wss:// connections.
Use cases
- add websocket support to a tokio server
- connect to a websocket api from rust asynchronously
- build a real-time chat backend in rust
- stream messages over wss with rustls
- implement a lightweight websocket client without heavy frameworks
When to choose
- you are already using the Tokio async runtime
- you want a lightweight, stream-based WebSocket implementation in Rust
- you need TLS support via native-tls or rustls feature flags
- you need a mature, widely used WebSocket crate with production track record
When to avoid
- you need maximum WebSocket throughput and prefer fastwebsockets
- you use an async runtime other than Tokio
- you want a full-featured web framework with WebSockets built in
Facets
library · maturity stable
websocket http-server http-client networking web-development backend networking rust cross-platform websocket tokio async rust tls wss real-time
2 sources
- readme: https://github.com/snapview/tungstenite-rs · fetched 2026-08-28 · b8ea6ae580cb
- registry_crates: https://crates.io/api/v1/crates/tokio-tungstenite · fetched 2026-08-29 · 7e436109e9eb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| snapview/tungstenite-rs | main | 74 |
| snapview/tokio-tungstenite | plugin | 74 |
For agents
markdown · JSON · MCP: product_card(name="snapview/tungstenite-rs")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem