Commit graph

45 commits

Author SHA1 Message Date
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