Decision Workspace
getopts-macro vs getopt3 vs getopt2
Side-by-side comparison of Rust crates
54
getopts-macro
growingv0.2.3
Use macros to cleanly define getopts options
59
getopt3
growingv2.6.1
Zero dependency command line argument parser
51
getopt2
growingv0.1.0
Zero dependency strict command line argument parser
Core Metrics
| getopts-macro | getopt3 | getopt2 | |
|---|---|---|---|
| Health Score | 54 | 59 | 51 |
| Total Downloads | 10.1K | 22.9K | 907 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 13 | 100 | 17 |
| Releases | 18 | 51 | 16 |
| Last Updated | 31d ago | 253d ago | 231d ago |
| Age | 1y 6m | 3y 6m | 1y |
Health Breakdown
getopts-macro
Maintenance
17
Quality
14
Community
8
Popularity
5
Documentation
10
getopt3
Maintenance
10
Quality
21
Community
11
Popularity
5
Documentation
12
getopt2
Maintenance
10
Quality
16
Community
9
Popularity
4
Documentation
12
Technical Details
| getopts-macro | getopt3 | getopt2 | |
|---|---|---|---|
| Version | 0.2.3 | 2.6.1 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 1 | 0 | 0 |
| Crate Size | 5KB | 15KB | 15KB |
| Features | 2 | 0 | 0 |
| Yanked % | 5.6% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.56.0 | 1.56.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •getopt3 leads with a health score of 59/100, but none of the options score above 80.
- •getopts-macro, getopt2 are pre-1.0 — API may change.