# denoland/fastwebsockets

A fast RFC6455 WebSocket implementation

Repository: https://github.com/denoland/fastwebsockets
Canonical: https://ross.abutalabs.com/products/fastwebsockets
Homepage: https://docs.rs/fastwebsockets/
Language: Rust
License: Apache-2.0
License Family: permissive
Last push: 2026-07-31T11:54:49+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 35, longevity 90
- inputs: {"age_days": 1269, "days_push": 33, "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 1133, forks 111 (observed 2026-08-28T04:03:42.933646+00:00)

## What it is
fastwebsockets is a fast, minimal RFC6455 WebSocket implementation in Rust, usable as a raw frame parser or as a full client/server with optional hyper-based HTTP upgrade support. It passes the Autobahn|TestSuite, is fuzzed with libFuzzer, and offers optional SIMD-accelerated UTF-8 validation.

## Use cases
- implement a websocket server in rust
- parse raw websocket frames
- add websocket support to a hyper or axum service
- build a websocket client with handshake support
- handle websocket fragmentation and auto ping/close

## When to choose
- you need a fast, spec-compliant websocket implementation in a tokio-based Rust app
- you want low-level control over websocket frames
- you're integrating websockets into hyper/axum via HTTP upgrade

## When to avoid
- you need permessage-deflate compression, which is not yet supported
- you want a batteries-included websocket solution with automatic message reassembly by default
- you're not using async Rust/tokio

## Facets
- artifact type: library
- maturity: active
- function: websocket, http-server, http-client, networking
- domain: web-development, backend, networking
- platform: rust, cross-platform
- tags: rfc6455, websocket-server, websocket-client, hyper, tokio, frame-parser, simd, autobahn-tested, real-time

## Member repositories
- denoland/fastwebsockets (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:42.933646+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-30T06:37:25.491090+00:00, confidence not recorded.
  - readme: https://github.com/denoland/fastwebsockets (fetched 2026-08-28T04:03:42.933646+00:00, sha 2882543c9e46)
  - homepage: https://docs.rs/fastwebsockets/ (fetched 2026-08-29T12:42:09.372676+00:00, sha ae71622acb15)
  - site_page: https://docs.rs/ (fetched 2026-08-29T12:42:09.382281+00:00, sha e48238183811)
  - site_page: https://docs.rs/crate/fastwebsockets/latest (fetched 2026-08-29T12:42:09.384637+00:00, sha d0993dd891af)
  - site_page: https://docs.rs/crate/fastwebsockets/latest/features (fetched 2026-08-29T12:42:09.386856+00:00, sha 1dcd4089b995)
  - site_page: https://docs.rs/about (fetched 2026-08-29T12:42:09.388861+00:00, sha 29ab7986fbf5)
  - site_page: https://docs.rs/about/badges (fetched 2026-08-29T12:42:09.390856+00:00, sha 6588cac258af)
  - site_page: https://docs.rs/about/builds (fetched 2026-08-29T12:42:09.392903+00:00, sha 811231ca4680)
  - site_page: https://docs.rs/about/metadata (fetched 2026-08-29T12:42:09.394784+00:00, sha 0dcdccb2b2b2)
  - site_page: https://docs.rs/about/redirections (fetched 2026-08-29T12:42:09.396498+00:00, sha 1b1efd93105f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
