Releases: rust-lang/rustlings
Rustlings 4.7.0
See the changelog for what's changed. Some highlights:
- A new intro section prefixing the normal exercises has been added.
- New exercise,
move_semantics4
. rust-analyzer
support has been added via an optional crate feature. More info in the README- Tons and tons of bug fixes.
To upgrade, run:
git fetch
git checkout tags/4.7.0
Rustlings 4.6.0
See the changelog for what's changed. Some highlights:
- New exercises:
advanced_errs1
andadvanced_errs2
modules3
try_from_into
andfrom_str
have been reworked to include custom error types.- Watch mode now has a
quit
andhelp
command. - Watch mode now also shows you a nice farewell message when you exit it.
To upgrade, run:
git fetch
git checkout tags/4.6.0
Rustlings 4.5.0
Rustlings 4.4.0
See the changelog for what's changed. Some highlights:
- A lot of small and large improvements to how exercises work
rustlings list
now displays structured data, and a takes a lot more options to filter that data:
- It also now shows you progress per-exercise, and a total summary of your completion:
- The compliation times for Rustlings should be significantly sped up, we replaced the crate we use for CLI option parsing with something more lightweight
- Rustlings now respects the
NO_EMOJI
envionment variable - A new exercise,
iterators5
, has been added
To upgrade, run:
git fetch
git checkout tags/4.4.0
Rustlings 4.3.0
See the changelog for what's changed. Some highlights:
- The text you see when running
rustlings
(without any arguments) should now be more helpful - The exercise order has been adjusted to more closely match the order of chapter in the Rust book
- A
rustlings list
command has been added
To upgrade:
git fetch
git checkout tags/4.3.0
Rustlings 4.2.0
Rustlings 4.1.0
See the changelog for what's changed.
Rustlings 4.0.0
See the changelog for what's changed.
The important breaking changes that make this a major release are:
testX.rs
files have been renamedquizX.rs
, due to people confusing them with the similarly-namedtestsX.rs
exercises (which are about testing, not being tested)- You can now display the console output for tests using the new
--nocapture
option. This adds a new boolean argument to most CLI commands.
Thanks to all of the people who contributed! A full list can be seen here, there's too many people for me to manually list here, sorry 😓
To upgrade:
git fetch
git checkout tags/4.0.0
Rustlings 3.0.0
See the changelog for what's changed.
As for what makes this a breaking release, in #278 we decided to make the compile
exercise mode log its output to stdout. Since this changes existing user behaviour in a (broadly) backwards-incompatible way, we decided to make this a major release.
The good thing is that you don't need to do anything to upgrade! 🎉
To upgrade:
git fetch
git checkout tags/3.0.0