January 28, 2026· ~9 min readModule 14 — Packages, Crates & Modules: Organizing Projects ## Packages & Crates ## What is a crate? A **crate** is the smallest amount of code the Rust compiler considers at once. There are two kinds: - **
January 28, 2026· ~8 min readModule 15 — Automated Testing ## Why test & cargo test ## Tests as a safety net A test is a function that checks your code behaves as you expect. Tests catch bugs **before** the
January 28, 2026· ~8 min readModule 16 — Advanced Cargo: Profiles, Workspaces & Publishing ## Release profiles & optimization ## Profiles control optimization Cargo has two default **profiles**: - **dev**: for development — fast to compi
January 28, 2026· ~10 min readModule 22 — Capstone: Static Site Generator ## The project: your own site generator ## Welcome to the capstone This module ties your knowledge together into a **real project**: a **Static Sit
January 26, 2026· ~11 min readModule 21 — Foreign Functions: Bringing Rust & C Together (FFI) ## What is FFI? The Common Denominator ## Rust & C: machine code connects **FFI** (Foreign Function Interface) lets Rust call functions from other
January 24, 2026· ~11 min readModule 20 — Unsafe Code: Contracts, Raw Pointers & Undefined Behavior ## What is Unsafe? Contracts & Undefined Behavior ## Rust's promise Rust's type and borrow checker catch whole bug classes at compile time. But som