Decision Workspace
percent-rs vs percentage-rs vs pct-str
Side-by-side comparison of Rust crates
36
percent-rs
growingv0.1.1
Simple crate for percentages of integers and floats
37
percentage-rs
growingv0.1.6
Get the percentage of any number
66
pct-str
stablev3.0.1
Percent-encoded strings for URL, URI, IRI, etc.
Core Metrics
| percent-rs | percentage-rs | pct-str | |
|---|---|---|---|
| Health Score | 36 | 37 | 66 |
| Total Downloads | 2.3K | 12.9K | 5.2M |
| 30d Downloads | 4 | 133 | 349.0K |
| Dependents | 0 | 0 | 185 |
| Releases | 2 | 7 | 8 |
| Last Updated | 612d ago | 1613d ago | 58d ago |
| Age | 1y 8m | 4y 11m | 6y |
Health Breakdown
percent-rs
Maintenance
5
Quality
15
Community
2
Popularity
4
Documentation
10
percentage-rs
Maintenance
5
Quality
16
Community
2
Popularity
5
Documentation
9
pct-str
Maintenance
13
Quality
18
Community
12
Popularity
8
Documentation
15
Technical Details
| percent-rs | percentage-rs | pct-str | |
|---|---|---|---|
| Version | 0.1.1 | 0.1.6 | 3.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 1 | 2 | 1 |
| Crate Size | 2KB | 2KB | 14KB |
| Features | 0 | 1 | 2 |
| Yanked % | 0.0% | 0.0% | 12.5% |
| Edition | 2021 | 2018 | 2024 |
| MSRV | — | — | 1.85.1 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •pct-str leads with a health score of 66/100, but none of the options score above 80.
- •pct-str is depended on by 185 crates — strongest ecosystem trust.
- •⚠ percent-rs, percentage-rs have not been updated in over a year.
- •percent-rs, percentage-rs are pre-1.0 — API may change.