Rust Asynchronous

Open-source Rust projects categorized as Asynchronous | Edit details

Top 19 Rust Asynchronou Projects

  • GitHub repo tokio

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

    Project mention: Any good toy Rust project for k8s application? | reddit.com/r/rust | 2022-01-20
  • GitHub repo MIO

    Metal IO library for Rust

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

    You can absolutely do readiness-based IO. Either call the system-specific APIs or use the MIO library, which is a low-level platform abstraction for that: https://github.com/tokio-rs/mio

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

  • GitHub repo futures-rs

    Zero-cost asynchronous programming in Rust

    Project mention: Async Rust in Practice: Performance, Pitfalls, Profiling | news.ycombinator.com | 2022-01-12

    Here is the PR: https://github.com/rust-lang/futures-rs/pull/2551

    Yield = wake the `waker_ref`. Avoiding the yield would be clone().wake().

    That said, "poll immediately" isn't actually a thing nor was it ever a thing except in incorrect implementations.

  • GitHub repo async-std

    Async version of the Rust standard library

    Project mention: Hey Rustaceans! Got an easy question? Ask here (51/2021)! | reddit.com/r/rust | 2021-12-21

    async-std: Basically a Tokio alternative with a few different design decisions.

  • GitHub repo bastion

    Highly-available Distributed Fault-tolerant Runtime

    Project mention: Async feedback from 2 years of usage | reddit.com/r/rust | 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 | reddit.com/r/rust | 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 | 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.

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

  • GitHub repo coio-rs

    Coroutine I/O for Rust

  • 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 | reddit.com/r/rust | 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? | reddit.com/r/rust | 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. | reddit.com/r/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 | reddit.com/r/rust | 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: https://github.com/Emilgardis/twitch_api2/blob/master/src/helix/search/search_categories.rs

  • GitHub repo async

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

    Project mention: Hey Rustaceans! Got an easy question? Ask here (8/2021)! | reddit.com/r/rust | 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 | reddit.com/r/rust | 2021-10-22
  • GitHub repo linemux

    Asynchronous tailing library in Rust

    Project mention: Hey Rustaceans! Got an easy question? Ask here (48/2021)! | reddit.com/r/rust | 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.

  • GitHub repo tangle

    Deprecated - Use https://github.com/alexcrichton/futures-rs instead

  • GitHub repo monzo-lib

    monzo API client library, in pure rust

    Project mention: Announcing Monzo-Lib (A Rust-based Monzo API client) | reddit.com/r/monzo | 2022-01-16

    Monzo-Lib is a fast, type-safe, and full-asynchronous monzo API client written in Rust.

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

Rust Asynchronous related posts

Index

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

Project Stars
1 tokio 14,646
2 MIO 4,658
3 futures-rs 4,140
4 async-std 3,127
5 bastion 2,360
6 message-io 650
7 tokio-tungstenite 643
8 coio-rs 446
9 carboxyl 363
10 mioco 130
11 postage-rs 122
12 xtra 110
13 dialectic 57
14 twitch_api2 39
15 async 22
16 tunneler 20
17 linemux 11
18 tangle 11
19 monzo-lib 9
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