summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-03-27Merge branch 'main' into tomlmo8it
2024-03-27Merge pull request #1916 from mo8it/commandMo
Pipe the output of command to null instead of capturing and ignoring it
2024-03-27Merge branch 'main' into whichmo8it
2024-03-26The string doesn't have to be a raw stringmo8it
2024-03-26Remove unneeded closuremo8it
2024-03-26Use == instead of eqmo8it
2024-03-26Use == on simple enumsmo8it
2024-03-26Add missing semicolonmo8it
2024-03-26Formattingmo8it
2024-03-26Only use arg instead of args AND argmo8it
2024-03-26Derive Eq when PartialEq is derivedmo8it
2024-03-25Pipe the output to null instead of capturing and ignoring itmo8it
2024-03-25Use the NotFound variant of the IO errormo8it
2024-03-25Replace toml with toml_editmo8it
2024-03-25Use `which` instead of running `rustc --version`mo8it
2024-03-18Fix the sysroot path when it contains whitespacesmo8it
2024-03-16fix(verify): show stdout of the last lineKazuki Matsuo
2024-03-15optimized the UI code (#1830)Luca Plian
2023-11-29Merge pull request #1783 from neuschaefer/fe-nishliv
Fe-nish line rendering improvements
2023-11-22feat(watch): Add red color to the finishing ferrisJ. Neuschäfer
This adds some eye-candy for users who finish Rustlings. It is based on ANSI terminal escape sequences and should work in most environments.
2023-11-22fix(watch): Fix rendering of the finishing ferrisJ. Neuschäfer
In commit 571bab2 ("Run clippy --fix"), the "" string was changed to r"", even though it contains an intentional escape sequence, which now looks wrong. My commit undoes this change: Before: +----------------------------------------------------+ | You made it to the Fe-nish line! | +-------------------------- ------------------------+ \\/ ▒▒ ▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒ ▒▒ ▒▒▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒▒▒ ▒▒▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒▒▒ ░░▒▒▒▒░░▒▒ ▒▒ ▒▒ ▒▒ ▒▒░░▒▒▒▒ ▓▓▓▓▓▓▓▓ ▓▓ ▓▓██ ▓▓ ▓▓██ ▓▓ ▓▓▓▓▓▓▓▓ ▒▒▒▒ ▒▒ ████ ▒▒ ████ ▒▒░░ ▒▒▒▒ ▒▒ ▒▒▒▒▒▒ ▒▒▒▒▒▒ ▒▒▒▒▒▒ ▒▒ ▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▒▒▒▒▒▒▒▒▓▓▒▒▓▓▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒██▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒ ▒▒ ▒▒▒▒▒▒▒▒▒▒██████▒▒▒▒▒▒▒▒▒▒ ▒▒ ▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒ ▒▒ ▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ After: +----------------------------------------------------+ | You made it to the Fe-nish line! | +-------------------------- ------------------------+ \/ ▒▒ ▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒ ▒▒ ▒▒▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒▒▒ ▒▒▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒▒▒ ░░▒▒▒▒░░▒▒ ▒▒ ▒▒ ▒▒ ▒▒░░▒▒▒▒ ▓▓▓▓▓▓▓▓ ▓▓ ▓▓██ ▓▓ ▓▓██ ▓▓ ▓▓▓▓▓▓▓▓ ▒▒▒▒ ▒▒ ████ ▒▒ ████ ▒▒░░ ▒▒▒▒ ▒▒ ▒▒▒▒▒▒ ▒▒▒▒▒▒ ▒▒▒▒▒▒ ▒▒ ▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▒▒▒▒▒▒▒▒▓▓▒▒▓▓▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒██▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒ ▒▒ ▒▒▒▒▒▒▒▒▒▒██████▒▒▒▒▒▒▒▒▒▒ ▒▒ ▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒ ▒▒ ▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ Running `cargo clippy` (version 0.1.70) after this commit does not reveal any new warnings. Fixes: 571bab2 ("Run clippy --fix")
2023-11-17chore(watch): update notify dependency to v6Matthias Richter
closes #1640
2023-11-04fix progress bar countdanieltinazzi
2023-10-16fix(watch): update the CLIPPY_CARGO_TOML_PATHmarkgreene74
... to reflect the changes to the exercise directory names. The path exercises/clippy replaced with exercises/22_clippy. closes #1726
2023-09-28Merge pull request #1696 from docwilco/docwilco/fix-spawn-windows-debuggingliv
fix(cli): make debugging in windows work
2023-09-27fix(cli): stop littering pdb files on windowsDocWilco
2023-09-27fix(cli): make debugging in windows workDocWilco
On windows, if `stderr` or `stdin` aren't also set to `Stdio::null()` the `spawn()` fails with `The handle is invalid`, and `rustlings` thinks that there's no `rustc` installed.
2023-09-25Give a more helpful error when a file is missingjyn
Previously, this would just say "missing file". Now it shows the path of the file that was missing, which should make it easier to debug what went wrong.
2023-09-04Port to Clapmo8it
2023-08-28Merge pull request #1637 from mo8it/fix-warningsliv
Run clippy --fix
2023-08-26Fix indicatifmo8it
2023-08-26Run clippy --fixmo8it
2023-05-17release: 5.5.1liv
2023-05-17fix: revert back to using relative pathsliv
2023-05-17release: 5.5.0liv
2023-05-17feat: write absolute root module paths for lspliv
2023-05-02option success_hints added to the struct Watchargs instead of ArgsRomain Bayle
2023-05-01feat(cli): added success-hints option for the rustlings commandRomain Bayle
closes #1373
2023-04-16feat: Add "!" command to `rustlings watch`Sebastian LaVine
2023-03-31fix(main.rs): remove trailing spacesAlexandre ESSE
2023-03-10release: 5.4.1liv
2023-02-27Fixing the progress percentageNidhal Messaoudi
2023-02-12release: 5.4.0liv
2023-02-05Fix the problem of different edition between rustc and rust-analyzerwjwrh
2023-01-11Merge pull request #1319 from cloppingemu/mainliv
fix(verify): progress bar percent now updates with the number of files verified
2023-01-04chore(watch): decrease watch delayTenzinRabgy
closes #1215
2023-01-03fix(verify): progress bar proportion now updates with the number of files ↵himanshu soni
verified
2023-01-03Merge pull request #1316 from tklauser/fix-fn-typoliv
Fix typo in method name
2023-01-03Fix typo in method nameTobias Klauser
2023-01-03Merge pull request #1294 from dbarrosop/nix-darwinliv
fix nix environment