rust-websocket-lite
async-tungstenite
rust-websocket-lite | async-tungstenite | |
---|---|---|
1 | 1 | |
109 | 382 | |
- | - | |
0.0 | 6.9 | |
about 1 year ago | about 1 month ago | |
Rust | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rust-websocket-lite
async-tungstenite
-
generic purpose library in rust
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.
What are some alternatives?
soketto - A websocket protocol implementation.
tokio-tungstenite - Future-based Tungstenite for Tokio. Lightweight stream-based WebSocket implementation
ws-tool - High perform & easy to use websocket client/server
async-std - Async version of the Rust standard library
Rust-Full-Stack - Rust projects here are easy to use. There are blog posts for them also.
rustpad - Efficient and minimal collaborative code editor, self-hosted, no database required
ezsockets - High-level declarative API for building WebSocket Clients and Servers in Rust 🦀
another-rust-load-balancer - A load balancer with support for different middlewares and load balancing strategies, based on hyper and tokio
delay-timer - Time-manager of delayed tasks. Like crontab, but synchronous asynchronous tasks are possible scheduling, and dynamic add/cancel/remove is supported.
heim - Cross-platform async library for system information fetching 🦀
crusty-core - A small library for building fast and highly customizable web crawlers
tungstenite-rs - Lightweight stream-based WebSocket implementation for Rust.