- Get necessary dependencies with Nix:
nix-shell -p cargo
- Change into
src
directory:cd src
- Build:
cargo build
- Execute binary:
cargo run --bin <bin_name>
- Includes
hello_cargo
app that prints "Hello, World!" - Includes
guessing_game
app that lets you play a number guessing game until you win!