Rust Websockets

Open-source Rust projects categorized as Websockets | Edit details

Top 7 Rust Websocket Projects

  • actix-web

    Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.

    Project mention: Is zig faster than rust in performance? | reddit.com/r/Zig | 2022-01-19

    Depending on what you're doing, it might be. Be careful thought, people might consider your unsafe blocks unnecessary: https://github.com/actix/actix-web/pull/968

  • websocat

    Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions

    Project mention: One Liner for streaming events from one relay to another | reddit.com/r/nostr | 2021-12-30
  • 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.

  • 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.

  • ntex

    framework for composable networking services

    Project mention: Web api benchmarking: Rust (tide) vs Rust (actix-web) | reddit.com/r/rust | 2022-01-23

    try to benchmark ntex with three different backends

  • 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.

  • 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.

  • rust_chat_server

    A very small, very dumb and very bad chat server to send messages in a common place for every participant.

    Project mention: Made a terrible chat server on my local network using actix and websockets | reddit.com/r/rust | 2021-12-05

    code

  • 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.

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 2022-01-23.

Rust Websockets related posts

Index

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

Project Stars
1 actix-web 12,979
2 websocat 3,567
3 tungstenite-rs 861
4 ntex 776
5 tokio-tungstenite 643
6 async-tungstenite 285
7 rust_chat_server 2
Find remote jobs at our new job board 99remotejobs.com. There are 30 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