Getting Started
1. Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
2.Try rust without installation
3. Is Rust up to date?
rustup update
4. Cargo: the Rust build tool and package manager
- build your project with
[ cargo build ] - run your project with
[ cargo run ] - test your project with
[ cargo test ] - build documentation for your project with
[ cargo doc ] - publish a library to crates.io with
[ cargo publish ] - To test that you have Rust and Cargo installed, you can run this in your terminal of choice:
[ cargo --version ]