# websockets-rs/rust-websocket

A WebSocket (RFC6455) library written in Rust

Repository: https://github.com/websockets-rs/rust-websocket
Canonical: https://ross.abutalabs.com/products/rust-websocket
Homepage: http://websockets-rs.github.io/rust-websocket/
Language: Rust
License: MIT
License Family: permissive
Last push: 2026-08-17T00:19:22+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 8, longevity 100
- inputs: {"age_days": 4297, "days_push": 17, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1613, forks 225 (observed 2026-08-28T04:05:11.262183+00:00)

## What it is
Rust-WebSocket is a Rust library implementing the WebSocket protocol (RFC6455) for both client and server connections, with message-level and data-frame-level APIs and support for secure WebSockets. The project is effectively in maintenance mode and its own README recommends using tungstenite or tokio-tungstenite instead, since it depends on obsolete versions of Hyper and Tokio.

## Use cases
- implement a websocket server in rust
- connect to a websocket endpoint from rust
- handle websocket message fragmentation
- add secure wss connections to a rust app
- work with raw websocket data frames
- test websocket conformance against autobahn suite

## When to choose
- you are maintaining an existing codebase already built on rust-websocket
- you need a pure-rust RFC6455 implementation with a frame-level API and cannot switch libraries

## When to avoid
- starting a new Rust project (use tungstenite or tokio-tungstenite instead)
- you need async support on modern Tokio versions
- you need actively maintained code with timely bug fixes

## Facets
- artifact type: library
- maturity: maintenance
- function: websocket, http-server, http-client, networking
- domain: web-development, backend, networking
- platform: rust, cross-platform
- tags: rfc6455, websocket-client, websocket-server, deprecated, legacy-dependencies, real-time

## Member repositories
- websockets-rs/rust-websocket (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:11.262183+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:51:08.148249+00:00, confidence not recorded.
  - readme: https://github.com/websockets-rs/rust-websocket (fetched 2026-08-28T04:05:11.262183+00:00, sha 4ed46e6b2282)
  - homepage: http://websockets-rs.github.io/rust-websocket/ (fetched 2026-08-29T11:22:56.021175+00:00, sha dab82f9b7c7f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
