2018-04-26 22:41:19 +03:00
|
|
|
[package]
|
|
|
|
name = "rustlings"
|
2021-09-25 12:23:05 +03:00
|
|
|
version = "4.6.0"
|
2021-07-07 23:23:52 +03:00
|
|
|
authors = ["anastasie <ana@ana.st>", "Carol (Nichols || Goulding) <carol.nichols@gmail.com>"]
|
2021-10-29 15:27:36 +03:00
|
|
|
edition = "2021"
|
2018-04-26 22:41:19 +03:00
|
|
|
|
|
|
|
[dependencies]
|
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-20 13:46:49 +03:00
|
|
|
argh = "0.1.4"
|
2020-01-11 11:42:45 +03:00
|
|
|
indicatif = "0.10.3"
|
|
|
|
console = "0.7.7"
|
|
|
|
notify = "4.0.15"
|
2019-03-06 23:47:00 +03:00
|
|
|
toml = "0.4.10"
|
2019-11-11 15:38:24 +03:00
|
|
|
regex = "1.1.6"
|
2022-03-29 12:44:06 +03:00
|
|
|
serde = { version = "1.0.10", features = ["derive"] }
|
2019-03-20 23:05:45 +03:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "rustlings"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
assert_cmd = "0.11.0"
|
2019-11-12 13:35:40 +03:00
|
|
|
predicates = "1.0.1"
|
2019-11-11 15:38:24 +03:00
|
|
|
glob = "0.3.0"
|
2022-03-29 12:44:06 +03:00
|
|
|
|
|
|
|
[features]
|
|
|
|
exercises = []
|