Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push. Learn more →
Top 21 Rust WebSocket Projects
-
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:
-
Project mention: Hey Rustaceans! Got a question? Ask here! (40/2022)! | reddit.com/r/rust | 2022-10-03
I wanted to try rust and developed a game websocket backend using ws-rs. Of course I didn't realize it was hardly maintained when I made my choice. The paradigm was very nice and simple, and it seemed really harder for a beginner to use (tokio-)tungstenite for example...
-
ONLYOFFICE
ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises
-
-
tokio-tungstenite
Future-based Tungstenite for Tokio. Lightweight stream-based WebSocket implementation
It passed all test of the autobahn testsuite And web-socket-benchmark show about 3x faster then tokio-tungstenite
-
-
async-tungstenite
Async binding for Tungstenite, the Lightweight stream-based WebSocket implementation
-
mine.js
:earth_asia: A voxel engine built with JS/TS/RS. (formerly mc.js) (maybe mine.ts? or even mine.rs?)
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
-
man-in-the-middle-proxy
A MITM Proxy 🧑💻! Toolkit for HTTP/1, HTTP/2, and WebSockets with SSL/TLS Capabilities. Learning Project.
We are looking for more contributors so if you want to collaborate you are of course welcome, if you can't, please consider leaving a star ⭐️, that would help!
-
Project mention: How to pass header (i.e. authentication) information to Juniper GraphQL Query or Mutation | reddit.com/r/rust | 2022-07-12
I found an example with async-graphql but I can't find an equivalent example for Juniper. I am using actix_web, but an example with any server would probably work just fine.
-
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.
-
-
Project mention: Hey Rustaceans! Got a question? Ask here (12/2023)! | reddit.com/r/rust | 2023-03-20
-
-
-
-
-
-
Project mention: Show r/rust: cmdpiped - A command-line tool for exposing a wrapped program's standard IO using WebSockets/SSE | reddit.com/r/rust | 2022-07-24
-
Project mention: hydrogen - Websocket API Gateway in first Alpha release | reddit.com/r/rust | 2022-07-11
More details @ https://voidpointergroup.github.io/hydrogen/ https://github.com/voidpointergroup/hydrogen
-
Hi. I am developing multiplayer server for games. It is still under development. Maybe it can worth to take a look at it. Note: you can use python for scripting and control the communication. https://github.com/erhanbaris/yummy
-
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.
Rust WebSocket related posts
- Yet another Web-Socket implementation in rust.
- Considering moving from Rocket to Actix Web
- ezsockets v0.5.0 - even easier API for building WebSocket Clients and Servers
- Help with Minimal Websocket Connection
- ezsockets v0.4.3, high-level declarative API for building WebSocket clients and servers
- Ezsockets – Rust WebSockets made easy
- What crate to use to make a WebSocket client
-
A note from our sponsor - CodiumAI
codium.ai | 28 May 2023
Index
What are some of the best open-source WebSocket projects in Rust? This list will help you:
Project | Stars | |
---|---|---|
1 | tungstenite-rs | 1,429 |
2 | ws-rs | 1,383 |
3 | Rust-Full-Stack | 1,372 |
4 | tokio-tungstenite | 1,218 |
5 | message-io | 901 |
6 | async-tungstenite | 349 |
7 | mine.js | 291 |
8 | kaminari | 265 |
9 | man-in-the-middle-proxy | 255 |
10 | graphql-rust-demo | 166 |
11 | ezsockets | 133 |
12 | hudsucker | 120 |
13 | stateroom | 117 |
14 | rust-websocket-lite | 104 |
15 | lsp-ws-proxy | 30 |
16 | rust-websocket | 20 |
17 | bitque | 17 |
18 | speculare-pgcdc | 10 |
19 | cmdpiped | 10 |
20 | hydrogen | 4 |
21 | yummy | 0 |