The Workshop Rewrite: A Free 12-Day Rust Coding Challenge
Caroline Morton
November 30, 2026
Last December, a lot of us in Women in Rust did Advent of Code together, and it was brilliant to watch everyone’s solutions appear in our GitHub Discussions. However, it became clear that the people who got the most out of it already knew Rust fairly well. I wanted to write something that would be more accessible to people who are newer to the language but would also remain interesting for those with more experience.
So this year we are trying something different. The Workshop Rewrite is a free, 12-day Rust coding challenge from Women in Rust, written for learning Rust rather than for solving puzzles. Each day teaches one Rust concept through a small exercise with tests to turn green, and the whole thing is held together by a story about some elves who need a new delivery system. It is all on GitHub at CarolineMorton/Christmas2026_WiR, live from today.

What is it?
Every day is its own small Rust project with a README, some starter code and a set of tests. When you start, the tests are red (they fail), and your job is to write the code that turns them green. Each README sets out what you will learn that day and links to the parts of The Rust Book, Rust by Example and the standard library docs that cover it. Learning to find your way around the docs is one of the most useful Rust skills you can pick up early, so each day points you to them.
Days 1 to 11 each stand on their own, so you can skip a day and pick up the next one without getting lost, and each chapter opens with a short “previously” so the story still makes sense.
Day 12 is different: it is a project with no tests, which pulls together the themes and data from the earlier days and gives you space to build your own project and take it in whatever direction interests you.
All twelve days are in the repository from today, and there is no need to do one a day, so you can work through them at whatever pace suits your December.
We have a discussion thread for each day in the GitHub repository, so you can share your solutions, ask questions, and see how others approached the same problem.
The story
On the 1st of December, a startled junior elf called Pip knocks a mug of cocoa over the Big Book, the Workshop’s 200-year-old delivery ledger, and two centuries of lists disappear into a big brown puddle. Juniper, the Head Elf of Deliveries, decides that the Workshop will rebuild the whole system in Rust, starting today.
The Big Book held everything the Workshop knew. Every letter that arrived was written into it, with who it was from, where they lived and what they wished for, along with who had been nice and who had been naughty, which present each child would get and how it should be wrapped. It recorded the order the presents went onto the sleigh so that it didn’t get too heavy, and whether each house had a chimney wide enough or whether the present would have to go to the front door. You will be helping Pip and Juniper rebuild all of it, with Bramble, who has kept the ledgers by hand for longer than anyone can remember and is not at all convinced about computers, and the reindeer Turnip and Clementine, who have opinions about the sleigh.
What you’ll build
The days build up into a small data pipeline. The letters arrive first, and they are messy, so Day 1 is about cleaning up strings. From there the pipeline checks each child against the naughty list, chooses and wraps a present for them, packs the sleigh without going over its weight limit, works out from each address and chimney width whether a present goes down the chimney or to the front door, and finally produces the manifest, along with proper errors for everything that goes wrong on the way.

| Day | Chapter | Rust topic |
|---|---|---|
| 1 | Dear Santa | Strings: &str and String |
| 2 | Nice, Naughty, and It’s Complicated | Structs, enums, and your first crate (serde) |
| 3 | Who Has the Sleigh Key? | Ownership and borrowing |
| 4 | The Great Sort | Vec and iterators |
| 5 | The Missing Chimney | Option, and loading data from a file |
| 6 | The Manifest | Result and the ? operator |
| 7 | Bramble Wants a Proper Complaint | Custom errors with thiserror |
| 8 | Counting Chimneys | HashMap and BTreeMap |
| 9 | Everything Must Be Wrapped | Traits and trait objects |
| 10 | The Angle Brackets | Generics and (gentle) lifetimes |
| 11 | All Elves on Deck | Threads, Arc<Mutex<T>>, and a little async |
| 12 | Christmas Eve | An axum web server and a clap command-line tool |
You might notice that ownership doesn’t arrive until Day 3, and that is deliberate, because I wanted Day 1 to be about writing code rather than reading about it. By Day 3 most people will already have bumped into a “value moved here” error, which makes the explanation of ownership much more concrete and easier to understand.
On Day 12 the Workshop gets a web server built with axum, with a “Dear Santa” form that children can fill in and an API for the elves, and a command-line tool built with clap that the elves use to check the list, wrap the presents, load the sleigh and print the manifest. The starter code for both already runs, and it is up to you how much of the pipeline you build into them.
I have used axum and clap together many times in client projects. Axum is a web framework built on top of tokio, and clap handles the parsing of command-line arguments, so between them you can put both a web interface and a command-line interface around the same core code.
Why a rewrite?
The challenge has a second aim beyond the core ideas of Rust, which is to practise rewriting an existing system rather than starting from scratch. A lot of real Rust work looks like the Workshop’s situation, where there is a system that has been running for years and holds a great deal of domain knowledge that is often not fully documented or at least not documented all in the same place. In my experience, many Rust tutorials online assume that you are starting a greenfield project with no existing constraints and nothing already in production, which is rarely the case in real projects.
The most important person in a rewrite is often the Bramble. Bramble is sceptical and asks awkward questions like “why can’t we just keep doing it on paper?” and “what happens when the address is wrong?”, but Bramble also knows why the old system works the way it does, and every odd rule and margin note in the Big Book is there for a reason. A good rewrite finds a way to encode that knowledge so that the new system can’t forget it, and Rust’s type system is very good at that. Some children don’t fit neatly onto the nice or naughty list, so we need enums, some houses don’t have a chimney, so we need Option, and some entries in the manifest can’t be read at all, so we need Result and proper error types. If you want to go further on those last ideas, I have written about error handling with anyhow and thiserror.
How to take part
The README covers installing Rust and setting up your editor, and then the steps for each day are the same:
- Fork the repository, which gives you your own public copy on GitHub.
- Make a branch for the day, for example
day-01. - Read that day’s README and write your code until
cargo test -p day-01is green. - Push your branch and open a pull request into your own fork, not into the main repository.
- Share the link to your pull request in that day’s thread in the challenge Discussions.
The challenge is also a chance to practise using GitHub. Many people, especially those who have come to programming through research or a self-taught route, have never opened a pull request or had their code reviewed, and that can make contributing to open source feel daunting. Reviewing each other’s pull requests is encouraged, and you don’t need to be an expert to do it, because a question like “why does this need &mut?” is a useful review comment.
There are no official solutions. If you are stuck, or you have finished and want to see another way of doing it, have a look in the Discussions thread for that day, and if your tests pass, your solution is as good as anyone’s. I’d also recommend leaving AI tools alone and working through the problems yourself first, because most of the learning comes from working through the compiler errors. AI tools are more useful once you have had a go yourself, or for narrow questions such as how to write a particular regex, although the Discussions are often a better place to look for guidance.
Kick-off and prizes
We are kicking off online on Tuesday 1st December 2026, 13:00 to 13:45 GMT, where we will walk through the challenge together and get everyone set up. You can sign up on the Women in Rust Meetup page.
There will be prizes for creative solutions and interesting approaches to the challenges. We also want to reward people who are active in the Discussions and help others along.
Who is it for?
The challenge is for anyone who programs in another language and is curious about Rust, anyone for whom Rust is their very first language, and anyone who has been writing Rust for years and would like to help others along by reviewing pull requests and answering questions in the Discussions. You are all very welcome.
We would like to thank SurrealDB for their support of Women in Rust. SurrealDB is a database built in Rust, and well worth a look.
I’ll write up what everyone built, including the Day 12 projects and the prize winners, in a recap post in January. If you have questions before then, feel free to ask in the Discussions.
Happy coding!