Announcing Runtime

The Async Ecosystem WG has been working on a new crate that makes writing async Rust programs easier. It’s called Runtime, and we’ve published it today!

We’re really excited about this, and would love for people to try it out. You can read about it here.

Example

async fn say_hi() {
    println!("Hello world! 🤖");
}

#[runtime::main]
async fn main() {
    await!(say_hi());
}

Refs

21 Likes

Well, I guess the saying that Rust has no runtime isn’t true anymore. :wink:

More seriously, nice work! The vision is promising and makes me hopeful about the future of Rust async.

8 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.