Decision Workspace
getopt-iter vs snailx vs lexopt
Side-by-side comparison of Rust crates
55
getopt-iter
experimentalv1.0.2
A POSIX style getopt parser for Rust
47
snailx
experimentalv0.8.3
Zero-allocation, low-overhead access to program arguments (argv) with iterators over `&'static CStr`, `&'static str`, and `&'static OsStr`. Works in no_std (optional std feature) and targets Unix and macOS.
62
lexopt
growingv0.3.2
Minimalist pedantic command line parser
Core Metrics
| getopt-iter | snailx | lexopt | |
|---|---|---|---|
| Health Score | 55 | 47 | 62 |
| Total Downloads | 52 | 1.4K | 9.4M |
| 30d Downloads | 0 | 0 | 637.6K |
| Dependents | 0 | 0 | 1.3K |
| Releases | 3 | 10 | 6 |
| Last Updated | 5d ago | 202d ago | 86d ago |
| Age | 21d | 7m | 4y 10m |
Health Breakdown
getopt-iter
Maintenance
14
Quality
18
Community
6
Popularity
2
Documentation
15
snailx
Maintenance
12
Quality
14
Community
6
Popularity
4
Documentation
11
lexopt
Maintenance
12
Quality
16
Community
14
Popularity
8
Documentation
12
Technical Details
| getopt-iter | snailx | lexopt | |
|---|---|---|---|
| Version | 1.0.2 | 0.8.3 | 0.3.2 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | BSD-2-Clause | GPL-3.0 OR MIT | MIT |
| Dependencies | 3 | 0 | 0 |
| Crate Size | 21KB | 38KB | 27KB |
| Features | 2 | 22 | 0 |
| Yanked % | 0.0% | 20.0% | 0.0% |
| Edition | 2021 | 2015 | 2018 |
| MSRV | 1.64 | 1.48.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •lexopt leads with a health score of 62/100, but none of the options score above 80.
- •lexopt is depended on by 1.3K crates — strongest ecosystem trust.
- •snailx, lexopt are pre-1.0 — API may change.