Closed redzic closed 3 years ago
@redzic Thank you a lot. It's my first rust project :smile:
@redzic :1st_place_medal:
haha no problem! Also, you can simplify the CLI parsing logic a lot if you use structopt
instead of clap
(I noticed a lot of .unwrap()
calls with getting some CLI args -- if you use structopt it will handle all that for you and will display nice error message). structopt
uses clap as its dependency, so no issues there.
I'll probably make a PR for that as well
Also removed
#![feature(type_ascription)]
to compile with stable rust, and also to fix false rust-analyzer warnings. Changed version ofnum_cpus
to the latest version (1.13.0
)