Install Rust (in Mac OS):
brew install rustup
rustup-initInstall the needed Rust toolchain:
rustup toolchain install nightlyOverride the toolchain to use for the current project:
rustup override set nightlyTo check the toolchain that Cargo will use by default, you can use the following command:
rustup showUse in release mode (huge difference in performance) by running the following command in your project directory:
cargo build --releaseRun the project by running the following command in your project directory:
cargo run --release