Decision Workspace
strval vs sscanf vs parse_arg
Side-by-side comparison of Rust crates
55
strval
experimentalv0.5.0
Parse strings into values
61
sscanf
growingv0.5.0
A sscanf (inverse of format!()) macro with near unlimited parsing capabilities
55
parse_arg
growingv1.0.1
Traits and implementations for parsing command-line arguments.
Core Metrics
| strval | sscanf | parse_arg | |
|---|---|---|---|
| Health Score | 55 | 61 | 55 |
| Total Downloads | 2.8K | 1.8M | 642.2K |
| 30d Downloads | 24 | 112.7K | 22.3K |
| Dependents | 0 | 135 | 182 |
| Releases | 9 | 17 | 9 |
| Last Updated | 11d ago | 27d ago | 339d ago |
| Age | 8m | 5y | 7y 4m |
Health Breakdown
strval
Maintenance
18
Quality
14
Community
7
Popularity
4
Documentation
12
sscanf
Maintenance
17
Quality
14
Community
11
Popularity
7
Documentation
12
parse_arg
Maintenance
6
Quality
20
Community
12
Popularity
7
Documentation
10
Technical Details
| strval | sscanf | parse_arg | |
|---|---|---|---|
| Version | 0.5.0 | 0.5.0 | 1.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | 0BSD | MIT OR Apache-2.0 | MITNFA |
| Dependencies | 4 | 5 | 0 |
| Crate Size | 12KB | 64KB | 6KB |
| Features | 1 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | — |
| MSRV | 1.85 | 1.88.0 | 1.63 |
| Owners | 2 | 1 | 1 |
Links
Quick Verdict
- •sscanf leads with a health score of 61/100, but none of the options score above 80.
- •parse_arg is depended on by 182 crates — strongest ecosystem trust.
- •strval, sscanf are pre-1.0 — API may change.