Decision Workspace
scanf vs scanln vs scanrs
Side-by-side comparison of Rust crates
49
scanf
growingv2.0.0
Parse text inputs (inverse of print! and format!)
45
scanln
growingv0.1.1
The inverse of println
40
scanrs
growingv0.3.0
A simple Rust Library to handle user input in an easy way.
Core Metrics
| scanf | scanln | scanrs | |
|---|---|---|---|
| Health Score | 49 | 45 | 40 |
| Total Downloads | 60.1K | 6.6K | 18.8K |
| 30d Downloads | 1.1K | 67 | 67 |
| Dependents | 20 | 12 | 17 |
| Releases | 26 | 2 | 7 |
| Last Updated | 223d ago | 2143d ago | 1718d ago |
| Age | 4y 4m | 6y 9m | 6y 4m |
Health Breakdown
scanf
Maintenance
10
Quality
13
Community
10
Popularity
6
Documentation
10
scanln
Maintenance
3
Quality
16
Community
9
Popularity
5
Documentation
12
scanrs
Maintenance
4
Quality
16
Community
6
Popularity
5
Documentation
9
Technical Details
| scanf | scanln | scanrs | |
|---|---|---|---|
| Version | 2.0.0 | 0.1.1 | 0.3.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | Unlicense | MIT OR Apache-2.0 | GPL-2.0-only |
| Dependencies | 4 | 0 | 0 |
| Crate Size | 11KB | 7KB | 10KB |
| Features | 0 | 0 | 0 |
| Yanked % | 57.7% | 0.0% | 0.0% |
| Edition | 2024 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •scanf leads with a health score of 49/100, but none of the options score above 80.
- •⚠ scanln, scanrs have not been updated in over a year.
- •scanln, scanrs are pre-1.0 — API may change.