summaryrefslogtreecommitdiff
path: root/src/main.rs
AgeCommit message (Collapse)Author
2024-03-27Merge branch 'main' into projectmo8it
2024-03-27Merge branch 'main' into performancemo8it
2024-03-27Merge branch 'main' into watchmo8it
2024-03-27Merge branch 'main' into tomlmo8it
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-26Add missing semicolonmo8it
2024-03-26Formattingmo8it
2024-03-25Add write_project_jsonmo8it
2024-03-25Remove unneeded check if crates is emptymo8it
2024-03-25Use the parsed exercises instead of globmo8it
2024-03-25Merge get_sysroot_src into the constructormo8it
2024-03-25Add anyhowmo8it
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-24Call looks_done only oncemo8it
2024-03-24Use to_string_lossymo8it
2024-03-23Cache filtersmo8it
2024-03-23Move the const string to the bottom like othersmo8it
2024-03-23Initialize the input buffer with some capacitymo8it
2024-03-23Improvements to watch modemo8it
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-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-04Port to Clapmo8it
2023-08-26Run clippy --fixmo8it
2023-05-17release: 5.5.1liv
2023-05-17release: 5.5.0liv
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-12release: 5.4.0liv
2023-01-04chore(watch): decrease watch delayTenzinRabgy
closes #1215
2023-01-03Fix typo in method nameTobias Klauser
2022-12-23chore: bump versionliv
2022-10-14Merge pull request #1220 from azzamsa/percentageliv
feat(verify): add progress percentage in watch mode
2022-10-14feat(verify): add progress percentage in watch modeazzamsa
2022-10-12Apply uninlined-format-args clippy lintYuri Astrakhan
This lint should also be applied to the excersies, but I am not certain how to run it for all non-crate individual files. To re-run: ``` rustup run nightly cargo clippy --fix -- -A clippy::all -W clippy::uninlined_format_args ```
2022-09-06chore: release 5.2.1mokou
2022-08-27chore: release 5.2.0mokou
2022-08-18chore: Add suggested changesmagnusrodseth
2022-08-17feat: Add reset command, given a filenamemagnusrodseth