rustlings/src
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
..
exercise.rs feat: Replace clap with argh 2021-04-21 10:08:26 +02:00
main.rs feat: Replace clap with argh 2021-04-21 10:08:26 +02:00
run.rs feat: Add a --nocapture option to display test harnesses' outputs 2020-06-04 11:18:26 -04:00
ui.rs style: formatted files with rustfmt 2021-04-18 15:40:47 +02:00
verify.rs style: formatted files with rustfmt 2021-04-18 15:40:47 +02:00