RUST para Programadores | Masterclass 2024 | O C++ do Século 21

Learn Rust Programming - Complete Course 🦀

https://doc.rust-lang.org/book/ch01-01-installation.html

stable-x86_64-apple-darwin installed - rustc 1.78.0 (9b00956e5 2024-04-29)

Rust is installed now. Great!

To get started you may need to restart your current shell.
This would reload your PATH environment variable to include
Cargo's bin directory ($HOME/.cargo/bin).

To configure your current shell, you need to source
the corresponding env file under $HOME/.cargo.

This is usually done by running one of the following (note the leading DOT):
. "$HOME/.cargo/env"            # For sh/bash/zsh/ash/dash/pdksh
source "$HOME/.cargo/env.fish"  # For fish

Atualizar o Rust

rustup update

Remover o Rust

rustup self uninstall

Documentação OffLine

rustup doc

Dependencias

Instalação de dependencias

$cargo add [dependence]

Atualizar dependencia

$cargo update [dependence]

De forma geral: