Commit Graph

142 Commits (main)

Author SHA1 Message Date
mo8it b24f256f2a Merge branch 'main' into project 2 months ago
mo8it a27741b131 Merge branch 'main' into performance 2 months ago
mo8it f995b4c041 Merge branch 'main' into watch 2 months ago
mo8it b9d2756ce8 Merge branch 'main' into toml 2 months ago
mo8it 8e0f7e56f7 Merge branch 'main' into which 2 months ago
mo8it 87001a68c0 The string doesn't have to be a raw string 2 months ago
mo8it a610fc1bc2 Remove unneeded closure 2 months ago
mo8it e89028581c Use == instead of eq 2 months ago
mo8it 1f2029ae55 Add missing semicolon 2 months ago
mo8it ed0fcf8e3d Formatting 2 months ago
mo8it 8ddbf9635d Add write_project_json 2 months ago
mo8it f5135ae4df Remove unneeded check if crates is empty 2 months ago
mo8it 87e55ccffd Use the parsed exercises instead of glob 2 months ago
mo8it 51712cc19f Merge get_sysroot_src into the constructor 2 months ago
mo8it efa9f57048 Add anyhow 2 months ago
mo8it e4520602f5 Use the NotFound variant of the IO error 2 months ago
mo8it 83cd91ccca Replace toml with toml_edit 2 months ago
mo8it 51b4c240ed Use `which` instead of running `rustc --version` 2 months ago
mo8it f205ee3d4c Call looks_done only once 2 months ago
mo8it e1375ef431 Use to_string_lossy 2 months ago
mo8it a325df55d1 Cache filters 2 months ago
mo8it 27fa7c3e4a Move the const string to the bottom like others 2 months ago
mo8it 0d93266462 Initialize the input buffer with some capacity 2 months ago
mo8it 3dce7e5696 Improvements to watch mode 2 months ago
liv 7f530ebf20
Merge pull request #1783 from neuschaefer/fe-nish
Fe-nish line rendering improvements
6 months ago
J. Neuschäfer 12d1bf407a feat(watch): Add red color to the finishing ferris
This adds some eye-candy for users who finish Rustlings. It is based on
ANSI terminal escape sequences and should work in most environments.
6 months ago
J. Neuschäfer 5c4821ac6f fix(watch): Fix rendering of the finishing ferris
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")
6 months ago
Matthias Richter adf7d1b975 chore(watch): update notify dependency to v6
closes #1640
7 months ago
danieltinazzi 3181d9f3f8 fix progress bar count 7 months ago
DocWilco cc658eb288 fix(cli): make debugging in windows work
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.
8 months ago
mo8it 5a93f2a4f1 Port to Clap 9 months ago
mo8it 571bab20c1 Run clippy --fix 9 months ago
liv f2de12aa34 release: 5.5.1 1 year ago
liv f452fd7bb0 release: 5.5.0 1 year ago
Romain Bayle c44e3025f9 option success_hints added to the struct Watchargs instead of Args 1 year ago
Romain Bayle 5d3696a9e6 feat(cli): added success-hints option for the rustlings command
closes #1373
1 year ago
Sebastian LaVine a4a5691a7b
feat: Add "!" command to `rustlings watch` 1 year ago
Alexandre ESSE d7111cb4a3 fix(main.rs): remove trailing spaces 1 year ago
liv 7f1754ecc5 release: 5.4.1 1 year ago
liv fc9fb536ca release: 5.4.0 1 year ago
TenzinRabgy 8e36256eac chore(watch): decrease watch delay
closes #1215
1 year ago
Tobias Klauser 1b9d4bbf72
Fix typo in method name 1 year ago
liv 9ad884aadb chore: bump version 1 year ago
liv 587e2d6dcd
Merge pull request #1220 from azzamsa/percentage
feat(verify): add progress percentage in watch mode
2 years ago
azzamsa 68388e5d4f feat(verify): add progress percentage in watch mode 2 years ago
Yuri Astrakhan 2940ad059d Apply uninlined-format-args clippy lint
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
```
2 years ago
mokou c923e7af73 chore: release 5.2.1 2 years ago
mokou 3309a01b5e chore: release 5.2.0 2 years ago
magnusrodseth d59dde320b chore: Add suggested changes 2 years ago
magnusrodseth 6f44cb1dd2 feat: Add reset command, given a filename 2 years ago