This is a repository setup to store my learnings of the Rust language.
To install Rust, visit Rust up!
The majority of my learnings have been taken from the book Programming Rust 2nd Edition.
-
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