Rust Asynchronous

Open-source Rust projects categorized as Asynchronous | Edit details

Top 17 Rust Asynchronou Projects

  • GitHub repo tokio

    A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

    Project mention: How to build a blockchain in Rust | | 2021-12-01

    We’re using libp2p as our peer-to-peer networking layer and Tokio as our underlying runtime.

  • GitHub repo MIO

    Metal IO library for Rust

    Project mention: Monoio – A thread-per-core Rust async runtime with io_uring | | 2021-12-08

    If you need to handle <100,000 sockets, you will probably be fine with a thread per socket. Call set_read_timeout to implement the deadline. Run load tests and adjust the socket limit.

    Async lets one process handle millions of sockets.

    If you want to handle millions of sockets with threads, you can use `mio` [0]. Mio's API has footguns that can cause UB. If your wire protocol is complicated, you may find yourself implementing something like async, but worse.


  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo futures-rs

    Zero-cost asynchronous programming in Rust

    Project mention: What sort of mature, open-source libraries do you feel Rust should have but currently lacks? | | 2021-11-01

    Rust lacks an implementation of ReactiveX. futures/futures-signals seems to be the the ecosystem equivalent but I'm sure there'd be a lot of interest in an actual implementation.

  • GitHub repo bastion

    Highly-available Distributed Fault-tolerant Runtime

    Project mention: Async feedback from 2 years of usage | | 2021-11-13

    But the issue you're referring to, building a fault-tolerant web server where you can have granular control over killing background jobs regardless if they're blocked on a syscall, totally requires using this kind of software architecture. See Bastion.

  • GitHub repo message-io

    Fast and easy-to-use event-driven network library.

    Project mention: Looking for help deciding which library to use for networking | | 2021-10-23

    message-io: a networking library meant to be very simple, built on mio.

  • GitHub repo tokio-tungstenite

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

    Project mention: Announcing axum 0.3 | | 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 coio-rs

    Coroutine I/O for Rust

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo carboxyl

    Functional Reactive Programming library for Rust

  • GitHub repo mioco

    [no longer maintained] Scalable, coroutine-based, fibers/green-threads for Rust. (aka MIO COroutines).

  • GitHub repo postage-rs

    The feature-rich, portable async channel library

    Project mention: The Tokio Upgrade from 0.2 to 1.x | | 2021-02-12

    I ran into the same thing with Stream - had tons of code that merged/mapped/filtered channel receivers. I ended up deciding to write an async channel library called postage to replace that functionality.

  • GitHub repo xtra

    🎭 A tiny actor framework (by Restioson)

    Project mention: Anyone know of a minimal tokio-based proc-macro actor helper? | | 2021-08-15

    I wrote an actor crate a while ago called xtra. Also wrote a proc macro which generates even more for you called spaad - I think it's linked there in the README

  • GitHub repo dialectic

    Transport-polymorphic, asynchronous session types for Rust

    Project mention: Tezos Agora released open source code for private payment channels! Anonymous payments might be coming to Tezos. | | 2021-10-07

    zeekoe node. A Rust-based node that integrates the zkChannels library and provides channel management functionality, a secure networking layer for asynchronous communication between the customer and merchant, and a database for managing the channel state and merchant revocation information. To enforce correct protocol execution within zeekoe, we built a session type library in Rust called Dialectic 1, which may be of independent interest to any developers implementing networked protocols. Specifically, the crate provides a generic wrapper around any type of asynchronous channel that adds compile-time guarantees that a specified session protocol will not be violated by any code using the channel. Dialectic is ideal for building networked services that need to ensure high levels of availability and complex protocol correctness properties.

  • GitHub repo twitch_api2

    Rust library for talking with the Twitch API aka. "Helix", TMI and more! Use Twitch endpoints fearlessly!

    Project mention: Questions on ergonomically wrapping a REST API | | 2021-11-27

    Take a look how a Request is implemented here and for example how RequestGet is implemented for a specific request on the API:

  • GitHub repo async

    Asynchronous drain for slog-rs v2 (by slog-rs)

    Project mention: Hey Rustaceans! Got an easy question? Ask here (8/2021)! | | 2021-02-22

    I get the impression most of the time people are doing their Rust logging in the business thread, as opposed to using something like slog-async. For example, this repo only has 18 stars, whilst slog has 1.1k stars. Is it right to draw the conclusion that logging in a separate thread using an mpsc channel or something isn't typically a good idea?

  • GitHub repo tunneler

    Tunnel TCP or UDP traffic over TCP, (mutual) TLS or DNS (authoritative server or direct connection), implemented in Rust

    Project mention: Hello everyone! I wanted to share with you a tool I wrote for tunnel UDP/TCP traffic over TCP/TLS/DNS | | 2021-10-22
  • GitHub repo tangle

    Deprecated - Use instead

  • GitHub repo linemux

    Asynchronous tailing library in Rust

    Project mention: Hey Rustaceans! Got an easy question? Ask here (48/2021)! | | 2021-11-29

    If you want to build this yourself, you'll want to build on something like notify - there are libraries like linemux built on top of it that will do a lot of this for you too.

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

Rust Asynchronous related posts


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

Project Stars
1 tokio 14,106
2 MIO 4,569
3 futures-rs 4,082
4 bastion 2,320
5 message-io 626
6 tokio-tungstenite 600
7 coio-rs 445
8 carboxyl 361
9 mioco 127
10 postage-rs 117
11 xtra 104
12 dialectic 56
13 twitch_api2 38
14 async 21
15 tunneler 17
16 tangle 11
17 linemux 11
Find remote jobs at our new job board There are 32 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives