← All Workshops
MudEngine Part 2: Single-Player REPL
Step 5 / 10
Create the project
Create a new Rust binary project. No Dioxus, no extra dependencies — just the standard library.
Scaffold the project
cargo new mud-engine-repl && cd mud-engine-repl📁 Project layout
This is all we need:
mud-engine-repl/
├── Cargo.toml # only stdlib, no external deps
└── src/
└── main.rs # everything lives in one file for now
The standard library provides everything we need: std::io for reading input
and printing output, plus Rust's pattern matching for command dispatch.
Step 5 / 10