The easiest way to get Rust is via the rustup
command line tool:
- To install rustup (as described in
https://www.rust-lang.org/learn/get-started
) runcurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
inside your terminal. - Install the stable toolchain by running
rustup install stable
cd
to the project directory (the one containing Cargo.toml
) and run cargo run --release
.
Cargo will now pull the necessary dependencies, build everything and run it.