Rust - summary 🢃1

La mejor forma de instalar rust es usando rustup con el siguiente comando:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

This command wil create a new rust project within a directory.

cargo new my_project

To initialize an empty directory

cargo init

Update Rust compiler

rustup update stable
rustup override set stable

things to learn

  • Modules
  • Macros
  • Structs
  • Enums
  • Functions