v6.2.0

alibaba/zvecv6.2.0Aug 9, 2024by mo8it

AI Summary

Rustlings 6.2.0 focuses on user feedback and workflow improvements, adding pre-check messages, clarifying Rust version requirements, and allowing initialization within a Cargo workspace. It also enforces `rustfmt` formatting on all solutions.

Key Highlights

  • Pre-check message before running exercises to avoid confusion
  • Support for initializing Rustlings in a Cargo workspace
  • Enforces `rustfmt` formatting on all solutions
  • Helpful error message for installations with incompatible Rust versions

New Features

  • Added `README.md` file to the `solutions/` directory
  • Run final checks of all exercises in parallel
  • Small improvements to existing exercises

Full Release Notes

### Added

- Show a message before checking and running an exercise. This gives the user instant feedback and avoids confusion if the checks take too long.
- Show a helpful error message when trying to install Rustlings with a Rust version lower than the minimum one that Rustlings supports.
- Add a `README.md` file to the `solutions/` directory.
- Allow initializing Rustlings in a Cargo workspace.
- `dev check`: Check that all solutions are formatted with `rustfmt`.

### Changed

- Remove the state file and the solutions directory from the generated `.gitignore` file.
- Run the final check of all exercises in parallel.
- Small exercise improvements.