Commit graph

140 commits

Author SHA1 Message Date
mo8it
e5efc68a91 Done macro 2024-03-28 17:34:48 +01:00
mo8it
76764633b4 Update deps 2024-03-27 15:16:42 +01:00
mo8it
b24f256f2a Merge branch 'main' into project 2024-03-27 15:06:58 +01:00
mo8it
a27741b131 Merge branch 'main' into performance 2024-03-27 15:00:57 +01:00
mo8it
f995b4c041 Merge branch 'main' into watch 2024-03-27 14:41:26 +01:00
mo8it
b9d2756ce8 Merge branch 'main' into toml 2024-03-27 14:30:10 +01:00
mo8it
8e0f7e56f7 Merge branch 'main' into which 2024-03-27 14:18:20 +01:00
mo8it
87e55ccffd Use the parsed exercises instead of glob 2024-03-25 22:20:00 +01:00
mo8it
dca3ea355e Remove the home dependency since it is not used 2024-03-25 14:10:51 +01:00
mo8it
efa9f57048 Add anyhow 2024-03-25 03:46:56 +01:00
mo8it
83cd91ccca Replace toml with toml_edit 2024-03-25 02:35:51 +01:00
mo8it
51b4c240ed Use which instead of running rustc --version 2024-03-25 00:30:01 +01:00
mo8it
c0c112985b Replace regex with winnow 2024-03-24 19:18:19 +01:00
mo8it
3dce7e5696 Improvements to watch mode 2024-03-23 18:51:25 +01:00
mo8it
36db08340d Update dependencies 2024-03-10 23:57:35 +01:00
Matthias Richter
adf7d1b975 chore(watch): update notify dependency to v6
closes #1640
2023-11-17 00:56:02 +01:00
liv
9a743f80c5 release: 5.6.1 2023-09-18 10:16:05 +02:00
liv
58cabf2ebd release: 5.6.0 2023-09-04 15:23:04 +02:00
liv
de45998f69 chore: remove argh 2023-09-04 15:02:02 +02:00
mo8it
5a93f2a4f1 Port to Clap 2023-09-04 13:30:46 +02:00
mo8it
c655612d2d Update deps 2023-08-26 23:34:40 +02:00
liv
f2de12aa34 release: 5.5.1 2023-05-17 21:05:51 +02:00
liv
19cee73209 chore: set up oranda
Sets up oranda so we can get nice website things for free. Some caveats we have right now:

- Absolutely manual, I have to do `oranda build` and the deploy manually right now
- I had to pop the Readme into a new Markdown file because the first header in there was looking very strange
2023-05-17 16:56:01 +02:00
liv
f452fd7bb0 release: 5.5.0 2023-05-17 16:30:22 +02:00
liv
7f1754ecc5 release: 5.4.1 2023-03-10 17:39:59 +01:00
liv
fc9fb536ca release: 5.4.0 2023-02-12 18:01:48 +01:00
liv
9ad884aadb chore: bump version 2022-12-23 16:55:42 +01:00
mokou
2e1630c712 chore: style fixes 2022-11-11 16:12:09 +01:00
mokou
c923e7af73 chore: release 5.2.1 2022-09-06 12:22:17 +02:00
mokou
3309a01b5e chore: release 5.2.0 2022-08-27 19:48:15 +01:00
mokou
d0c7b06eff chore: release 5.1.1 2022-08-17 10:43:50 +02:00
mokou
714a8075cc chore: bump version 2022-08-16 09:54:25 +02:00
mokou
5435b80841 chore: bump version 2022-07-16 14:30:04 +02:00
mokou
ed0f278a8f chore: remove mod.rs files and exercises feature 2022-07-11 12:53:49 +02:00
Drew Morris
df68d1a86e chore: Update spacing in Cargo.toml 2022-07-09 16:50:57 -06:00
mokou
6588d9be22 chore: bump version 2022-07-01 16:48:34 +02:00
Jack Clayton
be87cc9fa6 Add lsp command to fix rust-analyzer 2022-06-17 11:36:06 +08:00
mokou
9ec35d899c chore: bump version
Plus, remove the clog configuration file,
since that's not being used anymore.
2022-04-20 09:44:37 +02:00
mokou
c811643d1e chore: bump library versions 2022-04-20 09:35:08 +02:00
mokou
cf9f382873 chore: bump version 2022-04-14 11:16:00 +02:00
x-hgg-x
179a75a68d
fix: Include exercises folder in the project structure behind a feature (#917)
closes #859
closes #913
closes #942
2022-03-29 11:44:06 +02:00
ana
359f81dd0b chore: upgrade edition to 2021 2021-10-29 14:27:48 +02:00
ana
d57c183028 release: 4.6.0 2021-09-25 11:23:05 +02:00
ana
ba087ce64a release: 4.5.0
Signed-off-by: ana <ana@ana.st>
2021-07-07 22:23:52 +02:00
mokou
84461c20cb release: 4.4.0 2021-04-24 11:57:00 +02:00
mokou
7928122fce feat: Replace clap with argh
I’ve been wanting to do this for a while, but always procrastinated on it. We’ve been using Clap since the 2.0 rewrite, but Clap is known to be a fairly heavy library. Since Rustlings is usually peoples’ first contact with a Rust compilation, I think it’s in our best interests that this complation is as fast as possible. In effect, replacing Clap with the smaller, structopt-style `argh` reduces the amount of crates needing to be compiled from 82 to 60.

I also think this makes the code way easier to read, we don’t need to use Clap’s methods anymore, but can switch over to using pure Rust methods, e.g., switches are booleans, options are Option<String>s or the like, and subcommands are just structs.
2021-04-21 10:08:26 +02:00
mokou
a303d508cf release: 4.3.0 2020-12-29 11:39:26 +01:00
mokou
964b2a331d release: 4.2.0 2020-11-07 14:21:10 +01:00
mokou
89c07b5e43 release: 4.1.0 2020-10-05 18:42:26 +02:00
mokou
f9ccc6a289 release: 4.0.0 2020-07-08 11:35:27 +02:00
mokou
2ff3f7ae13 3.0.0 2020-04-12 00:01:08 +02:00
mokou
8b9479071c 2.2.1 2020-02-27 19:22:55 +01:00
mokou
6eb62fa2ce 2.2.0 2020-02-25 23:00:19 +01:00
Harrison Metzger
32a9cf7b8d fix: Update deps to version compatable with aarch64-pc-windows 2020-01-11 02:45:38 -06:00
marisa
4b79691d5e 2.1.0 2019-11-27 10:46:09 +01:00
marisa
eac07df96c 2.0.0 2019-11-12 12:24:30 +01:00
Roberto Vidal
4b26546589 fix(run): makes run never prompt
`watch` and `verify` do prompt the user to actively move to the
next exercise. This change fixes `run` to never prompt. Previously
it was inconsistent between "test" and "compile" exercises.

BREAKING CHANGE: we again change the behavior of the `run` command
2019-11-12 11:35:40 +01:00
Roberto Vidal
2cdd61294f feat: improve watch execution mode
The `watch` command now requires user action to move to the next
exercise.

BREAKING CHANGE: this changes the behavior of `watch`.
2019-11-11 16:23:35 +01:00
marisa
a47a62172a 1.5.1 2019-11-11 14:02:27 +01:00
marisa
c8babbad27 1.5.0 2019-11-09 10:52:20 +01:00
marisa
4f0c5a8d49
1.4.1 2019-08-13 11:59:17 +02:00
marisa
b8368de6d5
1.4.0 2019-07-13 12:50:22 +02:00
liv
7fca1d28af 1.3.0 2019-06-05 12:37:02 +02:00
liv
62696f5819 Remove highlighting and syntect 2019-06-05 12:18:50 +02:00
liv
1f2ee8cb62 1.2.2 2019-05-07 12:32:50 +02:00
liv
0279294972 1.2.1 2019-04-22 19:12:30 +08:00
liv
6ae0a00211 1.2.0 2019-04-22 13:09:28 +08:00
liv
4b0b7093e5 1.1.1 2019-04-14 18:29:32 +02:00
Chris Pearce
d01a71f7de Extract exercise struct to encapsulate path logic 2019-04-12 08:58:25 +01:00
lyn
f3ee70489f 1.1.0 2019-03-20 21:27:27 +01:00
lyn
f43cb124f6 add tests 2019-03-20 21:05:45 +01:00
komaeda
11875aed6e
adjust author name 2019-03-20 14:51:28 +01:00
lyn
999601d828 1.0.1 2019-03-06 21:58:10 +01:00
lyn
70e59cca3c standardize exercise running via an external toml file 2019-03-06 21:47:33 +01:00
lyn
244a0816ac 1.0.0 2019-03-06 19:50:24 +01:00
komaeda
5d1d0407ca
update cargo.toml authors 2019-03-06 10:44:59 +01:00
liv
531f8fe6ff update cargo.toml authors 2019-01-23 21:57:24 +01:00
liv
679508b278 ah well it was worth a try 2019-01-09 20:09:49 +01:00
liv
3ffd43bc2a remove 2018 specification for cargo fix 2019-01-09 20:08:15 +01:00
liv
a0d21020df update for rust 2018 2019-01-09 20:07:19 +01:00
Erik Vesteraas
9d16d6b63d Add watch mode, and don't panic on clean failure 2018-11-26 12:45:29 +01:00
olivia
1d495ff7b9 add markdown output for default command 2018-11-26 11:10:38 +01:00
olivia
f7846af7ac right let's try this one again 2018-11-09 20:31:14 +01:00
olivia
595a91df55 experiment 2018-05-06 18:59:50 +02:00
olivia
3ffefa32e1 init new cargo project 2018-04-26 21:41:19 +02:00
olivia
5e89d1e888 move old files to a separate directory 2018-04-26 21:29:11 +02:00
Carol (Nichols || Goulding)
6e2d953aa6
Update to btbytes' prlink because they merged my PR already!! 2018-03-04 14:28:11 -05:00
Carol (Nichols || Goulding)
70aa18699b
Make a handlebars helper that uses prlink to generate a link from a file 2018-03-04 14:11:11 -05:00
Carol (Nichols || Goulding)
2ac0d5982c
Introduce handlebars to be able to do templating 2018-03-04 12:58:40 -05:00
Carol (Nichols || Goulding)
87d8131f1f
Start a script to regenerate README.md from a template
So far this doesn't actually do any templating, just adds a note about
the README being autogenerated :)
2018-03-04 12:41:55 -05:00