codecrab

Credits

Last edited 8 August 2026

Where do the exercises come from?

All 94 come from rustlings, the exercise set the Rust project itself maintains. The broken code, the TODO comments that state each task, the hints and the solutions are theirs. codecrab wraps them in a browser, a compiler service and a progress system; it did not write the teaching, and it would not be worth using if it had. Some exercises are reformatted or split so each runs as one file. The substance of every one is unchanged.

The MIT licence, in full, as it requires
The MIT License (MIT)

Copyright (c) 2016 Carol (Nichols || Goulding)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

The same text as a plain file.

Where does the crab come from?

OpenMoji U+1F980, designed at HfG Schwäbisch Gmünd and licensed CC BY-SA 4.0.

It has been modified. The original is one static drawing. Here it was taken apart so the claws, legs and eyes are separate shapes that animate; its colours are bound to the site's theme rather than fixed; and a variant is generated for each account by hashing an email address into its traits. Those modifications are published under the same CC BY-SA 4.0 licence, as that licence requires of anyone who changes the work.

What is the typeface?

Departure Mono, by Helena Zhang, which is what every line of code here is set in, and so most of what you look at. Used under its own licence.

Who wrote the error messages?

The Rust project. Every diagnostic on this site is real output from rustc and clippy, and every long explanation is rustc --explain. The premise of codecrab is that those messages teach better than a tutorial does, so the credit for the teaching belongs to the people who wrote them.

What is codecrab's own?

The interface, the compile service, the progress system and the writing. There are no UI libraries, no framework and no analytics: this page loads three stylesheets and no JavaScript at all.

This page forms part of the terms. If something here is miscredited, tell us at hello@codecrab.app and it gets fixed.