# housleyjk/ws-rs

Lightweight, event-driven WebSockets for Rust.

Repository: https://github.com/housleyjk/ws-rs
Canonical: https://ross.abutalabs.com/products/ws-rs
Language: Rust
License: MIT
License Family: permissive
Last push: 2023-08-18T15:15:57+00:00

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

## Adoption (not part of the score)
Stars 1497, forks 220 (observed 2026-08-28T04:04:53.919512+00:00)

## What it is
WS-RS is a lightweight, event-driven WebSocket library for Rust implementing RFC 6455 on top of MIO. It handles multiple connections on a single thread and offers both high-level and low-level frame access, with SSL and permessage-deflate support.

## Use cases
- build a websocket server in rust
- implement a websocket client for real-time messaging
- handle many websocket connections on one thread
- add websocket support to a rust application
- write a websocket echo server
- access raw websocket frames for protocol extensions

## When to choose
- you want a simple, lightweight websocket implementation in Rust
- you need efficient single-threaded handling of many connections
- you need low-level access to WebSocket frames
- you want SSL or permessage-deflate support out of the box

## When to avoid
- you need an actively developed library with recent maintenance
- you are building with async/await ecosystems like tokio (consider tokio-tungstenite)
- you need production guarantees for a new project given limited recent activity

## Facets
- artifact type: library
- maturity: maintenance
- function: websocket, http-server, networking
- domain: web-development, backend, networking
- platform: rust, windows, cross-platform
- tags: mio, event-driven, rfc6455, ssl, permessage-deflate, single-threaded, real-time, linux, macos

## Member repositories
- housleyjk/ws-rs (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:53.919512+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-30T04:33:08.981523+00:00, confidence not recorded.
  - readme: https://github.com/housleyjk/ws-rs (fetched 2026-08-28T04:04:53.919512+00:00, sha 4d9435c3d922)
- Data as of 2026-08-30T08:39:29.467469+00:00.
