Rust WebSocket

Open-source Rust projects categorized as WebSocket

Top 23 Rust WebSocket Projects

  • tungstenite-rs

    Lightweight stream-based WebSocket implementation for Rust.

    Project mention: Help with Minimal Websocket Connection | /r/rust | 2023-03-10

    You can start by following tungstenite-rs client example. And since you are connecting to an tls enabled endpoint you should enable tls features. And according to your API's doc it requires you to send serialized json string for requesting message response and you can use serde ande serde_json for serialization. This is a complete example where a hardcode string request:

  • tokio-tungstenite

    Future-based Tungstenite for Tokio. Lightweight stream-based WebSocket implementation

    Project mention: How to know when can I send a message via a websocket with tokio tungstenite? | /r/rust | 2023-12-09

    I can't help you debug your code if you do not provide it. Have you looked at the example client?

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • Rust-Full-Stack

    Rust projects here are easy to use. There are blog posts for them also.

    Project mention: Rust for web development | /r/rust | 2023-06-19
  • ws-rs

    Lightweight, event-driven WebSockets for Rust.

  • message-io

    Fast and easy-to-use event-driven network library.

  • async-tungstenite

    Async binding for Tungstenite, the Lightweight stream-based WebSocket implementation

  • proxelar

    A MITM Proxy 🧑‍💻! Toolkit for HTTP/1, HTTP/2, and WebSockets with SSL/TLS Capabilities. Learning Project.

    Project mention: What are you rewriting in rust? | /r/rust | 2023-07-10

    I wrote a man in the middle proxy for HTTP/1 - HTTP/2 and Web Socket wit SSL/TLS

  • Onboard AI

    ChatGPT with full context of any GitHub repo. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • mine.js

    :earth_asia: A voxel world built with JS/TS/RS. (formerly mc.js) (maybe mine.ts? or even

  • kaminari

    Blazing-fast websocket tunnel built on top of lightws. (by zephyrchien)

  • ezsockets

    High-level declarative API for building WebSocket Clients and Servers in Rust 🦀

    Project mention: Considering moving from Rocket to Actix Web | /r/rust | 2023-03-25

    Check out ezsockets by /u/gbaranski. I also switched to Axum due to its WS support, in Actix it seems you need another crate and it's not really interoperable with the Tokio ecosystem generally, such as with tungstenite.

  • graphql-rust-demo

    GraphQL Rust Demo

  • ws-tool

    High perform & easy to use websocket client/server

    Project mention: ws-tool 0.9.0 release | /r/rust | 2023-08-20

    ws-tool is a high-performance websocket library that provides synchronous and asynchronous IO interfaces.

  • hudsucker

    Intercepting HTTP/S proxy

  • stateroom

    A lightweight framework for building WebSocket-based application backends.

    Project mention: Hey Rustaceans! Got a question? Ask here (12/2023)! | /r/rust | 2023-03-20
  • rust-websocket-lite

    A fast, low-overhead WebSocket client

  • lsp-ws-proxy

    WebSocketify any Language Server

  • desktop-streaming

    WebRTC desktop streamer using Rust

  • workflow-rs

    Rust application development framework for native and web applications

    Project mention: What’s everyone working on this week (25/2023)? | /r/rust | 2023-06-19

    Working on workflow-rs - an abstraction layer (set of crates) designed to allow creation of async Rust APIs and apps that function uniformly in native and in wasm32 targets. This also includes an async websocket crate (workflow-websocket) that functions uniformly in both targets.

  • rust-websocket

    A WebSocket (RFC6455) library written in Rust

  • bitque

    A simplified Jira clone built with and actix

  • speculare-pgcdc

    Postgresql capture data change software in Rust to allow realtime websockets

  • cmdpiped

    A command-line tool for exposing a wrapped program's standard IO using WebSockets/SSE

  • fast_websocket_client

    A fast asynchronous websocket client built on top of fastwebsockets library

    Project mention: A rust newbie wrote a websocket client library based on Deno's fastwebsockets. | /r/rust | 2023-08-24
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-12-09.

Rust WebSocket related posts


What are some of the best open-source WebSocket projects in Rust? This list will help you:

Project Stars
1 tungstenite-rs 1,651
2 tokio-tungstenite 1,538
3 Rust-Full-Stack 1,467
4 ws-rs 1,433
5 message-io 1,005
6 async-tungstenite 376
7 proxelar 328
8 mine.js 299
9 kaminari 270
10 ezsockets 188
11 graphql-rust-demo 183
12 ws-tool 183
13 hudsucker 179
14 stateroom 130
15 rust-websocket-lite 109
16 lsp-ws-proxy 39
17 desktop-streaming 29
18 workflow-rs 24
19 rust-websocket 21
20 bitque 17
21 speculare-pgcdc 12
22 cmdpiped 11
23 fast_websocket_client 9
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.