fast-socks5
async-tungstenite
fast-socks5 | async-tungstenite | |
---|---|---|
1 | 1 | |
305 | 382 | |
- | - | |
7.1 | 6.9 | |
about 1 month 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.
fast-socks5
-
Weird unresolved import
Thanks! This is indeed the reason. And there's already a PR to fix it from 6 days ago: https://github.com/dizda/fast-socks5/pull/29
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?
futures-batch - An adapter for futures, which chunks up elements and flushes them after a timeout — or when the buffer is full. (Formerly known as tokio-batch.)
tokio-tungstenite - Future-based Tungstenite for Tokio. Lightweight stream-based WebSocket implementation
heim - Cross-platform async library for system information fetching 🦀
rust-websocket-lite - A fast, low-overhead WebSocket client
shadowsocks-rust - A Rust port of shadowsocks
async-std - Async version of the Rust standard library
elegant-departure - Rust crate to simplify graceful shutdowns
rustpad - Efficient and minimal collaborative code editor, self-hosted, no database required
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.