
About Rustlings
Rustlings is a set of small, guided Rust exercises that you fix one at a time. It is an official Rust project, and it is meant to be used alongside the official Rust book.
What it does
You install a command line tool, then run it to work through a series of exercises. Each exercise contains code that does not compile or does not pass a test. You read the message, change the code, and move on to the next one. The steps are small, so you see progress quickly and learn the compiler's messages as you go.
Key features
- Small exercises that fix broken code
- Run from the command line with one tool
- Installed with cargo install
- Works alongside the official Rust book
- Official Rust project released under the MIT license
Who it's for
Beginners who understand the basics of programming and want practice with Rust syntax, and students who learn better by fixing code than by reading. Experienced developers can also use it to refresh specific topics.
Pricing and good to know
Rustlings is open source under the MIT license and free to use. It needs a working Rust toolchain installed first, which is set up through the Rust installer. Reading the matching chapter of the book before each set of exercises makes the work easier.
Highlights
- Small exercises that fix broken code
- Run from the command line with one tool
- Installed with cargo install
- Works alongside the official Rust book
- Official Rust project released under the MIT license












