Decision Workspace
zigarg vs bpaf vs lexopt
Side-by-side comparison of Rust crates
50
zigarg
growingv1.1.0
zigarg is a very light argument parser written fully in Rust. It's not dependent on any third party libraries other than those that Rust already comes with. It lacks many features, like help generation, but enough to be suitable for a lot of applications. It's also good for educational purposes as it isn't very complex.
67
bpaf
growingv0.9.24
A simple Command Line Argument Parser with parser combinators
64
lexopt
growingv0.3.2
Minimalist pedantic command line parser
Core Metrics
| zigarg | bpaf | lexopt | |
|---|---|---|---|
| Health Score | 50 | 67 | 64 |
| Total Downloads | 12.9K | 4.9M | 8.2M |
| 30d Downloads | 59 | 501.2K | 539.2K |
| Dependents | 5 | 1.1K | 1.2K |
| Releases | 9 | 66 | 6 |
| Last Updated | 1546d ago | 14d ago | 27d ago |
| Age | 4y 3m | 4y | 4y 8m |
Health Breakdown
zigarg
Maintenance
5
Quality
21
Community
7
Popularity
5
Documentation
12
bpaf
Maintenance
18
Quality
16
Community
13
Popularity
8
Documentation
12
lexopt
Maintenance
15
Quality
16
Community
13
Popularity
8
Documentation
12
Technical Details
| zigarg | bpaf | lexopt | |
|---|---|---|---|
| Version | 1.1.0 | 0.9.24 | 0.3.2 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 3 | 0 |
| Crate Size | 8KB | 180KB | 27KB |
| Features | 0 | 9 | 0 |
| Yanked % | 0.0% | 1.5% | 0.0% |
| Edition | 2018 | 2021 | 2018 |
| MSRV | — | 1.68 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •bpaf leads with a health score of 67/100, but none of the options score above 80.
- •lexopt has the most downloads (8.2M), suggesting wider adoption.
- •lexopt is depended on by 1.2K crates — strongest ecosystem trust.
- •⚠ zigarg has not been updated in over a year.
- •bpaf, lexopt are pre-1.0 — API may change.