/learning-rust

My repository for learning Rust.

Primary LanguageRustMIT LicenseMIT

My Rust Learnings

This is a repository setup to store my learnings of the Rust language.


Project Installation

To install Rust, visit Rust up!

Learnings

The majority of my learnings have been taken from the book Programming Rust 2nd Edition.

rustup and Cargo

  • cargo is Rust's compilation manager, package manager, and general-purpose tool

  • rustc is the Rust compiler

  • rustdoc is the Rust documentation tool

  • cargo new creates a new cargo package

  • cargo run runs a binary or example of the local package

  • cargo clean removes the target directory