Rust WebSocket

Open-source Rust projects categorized as WebSocket | Edit details

Top 10 Rust WebSocket Projects

  • GitHub repo ws-rs

    Lightweight, event-driven WebSockets for Rust.

    Project mention: Connecting to a websocket server | reddit.com/r/rust | 2021-09-03

    Reqwest doesn't seem to support it https://github.com/seanmonstar/reqwest/issues/864 . Have you tried ws-rs

  • GitHub repo Rust-Full-Stack

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

    Project mention: Como fazer GIF animado com Python | dev.to | 2021-11-08
  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • GitHub repo tungstenite-rs

    Lightweight stream-based WebSocket implementation for Rust.

    Project mention: Secure Websocket Client | reddit.com/r/learnrust | 2021-11-15

    If you just want to connect to an existing api, async-tungstenite has a connect function. It should work with wss. See some discussion of this issue here.

  • GitHub repo tokio-tungstenite

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

    Project mention: Announcing axum 0.3 | reddit.com/r/rust | 2021-11-02

    Well, I don't even know what this is. I think you can find your answer in the tokio-tungstenite repo. That's what axum is using under the hood.

  • GitHub repo async-tungstenite

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

    Project mention: generic purpose library in rust | reddit.com/r/rust | 2021-03-21

    You can also mix them a bit. The library tungstenite is implemented like this, and allows async-tungstenite to reuse the same logic but in a non-blocking manner. You have the API of the second option, but if a write call returns WouldBlock, you return to the caller and allow them to continue when the buffer is flushed. This can get complicated saving state though (e.g. whether it's currently doing authentication, uploading a file, etc.), but see my note below about Rust's async/await.

  • GitHub repo jamsocket

    A lightweight framework for building WebSocket-based application backends.

    Project mention: Use Phoenix Channels | news.ycombinator.com | 2021-08-04

    > "just drop it in and it just works" for self hosted websocket systems

    I was also been underwhelmed by options in this area, so I've been working on a Rust library called Jamsocket[1]. The idea is that all you need to do is implement a trait, overload the functions for the events you want to handle (new connection, message, etc.) and deploy it.

    I still need to work on production aspects of it, but it's in a state where you can play with it for local development, so I figured I'd share it here in case any Rust developers want to tinker with it.

    [1] https://github.com/jamsocket/jamsocket

  • GitHub repo hudsucker

    Intercepting HTTP/S proxy

    Project mention: Hudsucker: A MITM HTTP/S (and websocket) proxy | reddit.com/r/rust | 2021-09-01
  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo rust-websocket

    A WebSocket (RFC6455) library written in Rust

  • GitHub repo bitque

    A simplified Jira clone built with seed.rs and actix

    Project mention: Any good book or tutorial on creating SPA using webassembly | reddit.com/r/rust | 2021-12-06
  • GitHub repo speculare-pgcdc

    Postgresql capture data change software in Rust to allow realtime websockets

    Project mention: sys_metrics is the fastest information fetching lib written in Rust | news.ycombinator.com | 2021-08-11

    Very impressed by https://docs.speculare.cloud/ martichou! Keep up the hard work, good luck!

    Rust + timescaledb is a very compelling basis for monitoring. Do you intend to do primarily metrics, or other event-streams too?

    Also a shout out to https://github.com/speculare-cloud/speculare-pgcdc which is so neat: using postgres logical replication for change data capture, with websocket listeners. I would have loved to have had this for a good number of projects! I've had to use Triggers & LISTEN/NOTIFY a number of times in the past, & this sort of solution has long been what I wanted. I'd started writing something to emit into Kafka a long time ago but never really got started. This looks great.

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 2021-12-06.

Rust WebSocket related posts

Index

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

Project Stars
1 ws-rs 1,234
2 Rust-Full-Stack 968
3 tungstenite-rs 858
4 tokio-tungstenite 635
5 async-tungstenite 281
6 jamsocket 54
7 hudsucker 21
8 rust-websocket 16
9 bitque 15
10 speculare-pgcdc 7
Find remote WebSocket jobs at our new job board 99remotejobs.com. There are 4 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
scoutapm.com