This repository contains the code generated while following the YouTube course Rust Crash Course | Rustlang, by Brad Traversy at Traversy Media. The official repository for the course material is https://github.com/bradtraversy/rust_sandbox.
If you haven't already done so, you need to install Rust language. This tutorial is also using Visual Studio Code and the following extensions:
- rust-analyzer (rust-lang.rust-analyzer)
- crates (serayuzgur.crates)
- Even Better TOML (tamasfe.even-better-toml)
- Prettier - Code formatter esbenp.prettier-vscod
- Code Spell Checker (streetsidesoftware.code-spell-checker)
- Basics to create and compile a Rust file
- Initialize a project with
cargo - Writing formatted output to the console
- Using variables
- Rust native types
- Rust native strings (
str) and theStringstruct - Tuples
- Rust arrays
- Vectors, i.e., the
Vecstruct - Conditional operators
- Loops
- Function basics
- Pointers and references
- The basics of using
structandimpl - The
enumtype - Processing command line arguments and using the
matchoperator