learning_rust

To install rust go to Install Rust

  • Rustup: It helps you to install and manage Rust Tools.
  • Cargo: It helps you to manage Rust Projects.
  • Rustc: It compiles your Rust Code into Machine Code.

Commands

To start a Rust Project: cargo new <Project name>

To run the project: cargo run

To compile the project: cargo build --release