Code Examples for Beginner Rust Developers.
- Install
cargo
- With
rustup
:curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- With
- Change directory to example project:
cd example_project/
- Run code:
cargo run
- Install
cargo
- With
rustup
:curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- With
- Change directory to example project:
cd example_project/
- Run code:
cargo build