Your next build
starts here.
All 53 lesson examples, 53 solutions, and eight cookbook projects. One download, with independent Cargo packages and clear commands.
Download the Rust workbench ↓01 Install the toolchain
Install Rust stable using rustup’s official installer ↗. Use the latest stable compiler; the examples use edition 2024. Reopen your terminal afterward. Cargo also needs your operating system’s native linker/build tools. On Windows, use the MSVC toolchain and C++ Build Tools; on macOS, install the Xcode command-line tools; on Linux, install your distribution’s C build toolchain.
rustc --version
cargo --version
rustup update stable02 Run a lesson
Extract the archive and open a terminal in rust-workbench. The root workspace contains only the standard-library lesson and solution crates, so your first learning steps do not require third-party crates.
cargo run -p lesson_welcome
cargo run -p lesson_ownership
cargo run -p solution_ownership
cargo test --workspacePackage names replace URL hyphens with underscores. Each example is a complete src/main.rs with its own manifest. The website displays expected output; Rust code runs locally rather than inside the website.
03 Verify the published examples
The optional verifier needs Python 3 and a working rustc on your PATH. It compiles and executes all 106 snippets in temporary folders, compares example output, and runs each snippet’s Rust test harness.
python3 scripts/check_rust_lessons.pyOn Windows, use py instead of python3. The verifier intentionally checks the foundations separately from native apps and network services.
04 Pick a cookbook project
Each folder under cookbook/ is a separate project with its own manifest and README. This keeps desktop dependencies out of a server build and lets you experiment independently.
cd cookbook/signal-server
cargo run --locked
# In another terminal:
curl http://127.0.0.1:3000/healthThe server recipes use ports 3000, 3001, and 3002. Stop the process before starting another copy on the same port. Initial cookbook builds download crates; their lockfiles preserve the resolved dependency graph.
Choose a cookbook project ↗05 Desktop apps need desktop tools
egui / eframe
The counter has a headless-testable Rust model and a native window. Install the platform graphics/windowing dependencies and run it in a graphical session. Model tests and compilation do not prove the native window behavior.
Tauri 2
The notes app uses a webview, Node.js for the local CLI, and the native platform prerequisites. Start with the independent note-core tests, then build the Tauri shell on your target operating system.
cargo test --manifest-path note-core/Cargo.toml --locked
npm install
npm run dev
# Creates an unbundled executable, without platform installers:
npm run build06 Know where things live
lessons/53 standalone example cratessolutions/53 standalone mission solutionscookbook/Eight complete independent application projectscourse.jsonOriginal lesson explanations, quizzes, and expected outputscripts/The executable course verifierRust progress is saved separately in this browser. Your DSA and Python completion records are preserved. Files created by cookbook projects stay on your own computer; the portfolio does not store your notes, tasks, or chat messages.