nicoburns / blessed-rs

A community guide to the Rust ecosystem
https://blessed.rs
1.17k stars 66 forks source link

Crate suggestion: `getargs` #25

Closed LoganDark closed 1 year ago

LoganDark commented 1 year ago

Since lexopt and pico-args are mentioned in the argument parser section, I would like to propose getargs, which I significantly revamped a while ago. (it also works quite well with argv)

It is still a minimal argument parser, as opposed to the huge framework that is clap, but it is fairly competitive in benchmarks and also somewhat pedantic about correctness. It also has a decent API as far as I can tell, though it is still iterator-based.

It was not accepted into argparse-benchmarks-rs due to the low number of downloads that it has. But the purpose of this website is to raise awareness, yes? :D

nicoburns commented 1 year ago

But the purpose of this website is to raise awareness, yes? :D

The purpose of this website is to raise awareness. But it's really for crates that already have wide adoption within the Rust community, to make newcomers aware of them. So unfortunately I don't think your crate will be suitable for inclusion at this time. I'd suggest posting to reddit to see if you get any interest there.

LoganDark commented 1 year ago

it's really for crates that already have wide adoption within the Rust community, to make newcomers aware of them

Thanks, that's all I needed to know.