rustlings

Rustlings 6.4.0

v6.4.0 Nov 11 2024 at 14:58 UTC

Added

  • The list of exercises is now searchable by pressing s or / πŸ”οΈ (thanks to @frroossst)
  • New option c in the prompt to manually check all exercises βœ… (thanks to @Nahor)
  • New command check-all to manually check all exercises βœ… (thanks to @Nahor)
  • Addictive animation for showing the progress of checking all exercises. A nice showcase of parallelism in Rust ✨
  • New option x in the prompt to reset the file of the current exercise πŸ”„
  • Allow dead_code for all exercises and solutions ⚰️ (thanks to @huss4in)
  • Pause input while running an exercise to avoid unexpected prompt interactions ⏸️
  • Limit the maximum number of exercises to 999. Any third-party exercises willing to reach that limit? πŸ”

Changed

  • enums3: Remove redundant enum definition task (thanks to @senekor)
  • if2: Make the exercise less confusing by avoiding "fizz", "fuzz", "foo", "bar" and "baz" (thanks to @senekor)
  • hashmap3: Use the method Entry::or_default.
  • Update the state of all exercises when checking all of them (thanks to @Nahor)
  • The main prompt doesn't need a confirmation with ENTER on Unix-like systems anymore.
  • No more jumping back to a previous exercise when its file is changed. Use the list to jump between exercises.
  • Dump the solution file after an exercise is done even if the solution's directory doesn't exist.
  • Rework the footer in the list.
  • Optimize the file watcher.

Fixed

  • Fix bad contrast in the list on terminals with a light theme.