# Async / await programming ## Example Execute the following command to run [`./solutions/examples/async.rs`](https://github.com/Cyfrin/rust-crash-course/blob/main/topics/async_await/solutions/examples/async.rs) ```shell cargo run --example async ``` ## Exercises Exercises are in [`./exercises/src/main.rs`](https://github.com/Cyfrin/rust-crash-course/blob/main/topics/async_await/exercises/src/main.rs) ### Exercise 1 Convert `main` into `async main`. ## Test ```shell cargo run ```
Execute the following command to run ./solutions/examples/async.rs
Exercises are in ./exercises/src/main.rs
Convert main into async main.
A hands-on exploration of Async / await programming - Dive into Rust's asynchronous capabilities with `async` and `await` keywords. Convert a synchronous `main` function into an asynchronous one to grasp the core concepts.
Course Overview
About the course
Introduction to the Rust programming language
Rust variables and functions
Scalar types, arrays, strings, enum, structs, vectors, and hash maps in Rust
Rust control flows: If / else, if let and let else, loop, match
Rust ownership, including borrow and references
Rust error handling
Rust Modules
Rust Traits
Last updated on November 7, 2025
Rust Developer
Rust Programming BasicsCourse Overview
About the course
Introduction to the Rust programming language
Rust variables and functions
Scalar types, arrays, strings, enum, structs, vectors, and hash maps in Rust
Rust control flows: If / else, if let and let else, loop, match
Rust ownership, including borrow and references
Rust error handling
Rust Modules
Rust Traits
Last updated on November 7, 2025