To verify that cargo is installed.
cargo --version
To create a new project, type:
cargo new hello_world
To compile the project, type:
cargo check
To build the project, type:
cargo build
To run the project, type:
cargo run
To build the project for release, type:
cargo build --release