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());
}