Decision Workspace
percent-rs vs percentage-rs vs pct-str
Side-by-side comparison of Rust crates
35
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
60
pct-str
growingv3.0.1
Percent-encoded strings for URL, URI, IRI, etc.
Core Metrics
| percent-rs | percentage-rs | pct-str | |
|---|---|---|---|
| Health Score | 35 | 37 | 60 |
| Total Downloads | 2.3K | 13.5K | 8.6M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 214 |
| Releases | 2 | 7 | 8 |
| Last Updated | 808d ago | 1809d ago | 254d ago |
| Age | 2y 3m | 5y 6m | 6y 7m |
Health Breakdown
percent-rs
Maintenance
4
Quality
15
Community
2
Popularity
4
Documentation
10
percentage-rs
Maintenance
5
Quality
16
Community
2
Popularity
5
Documentation
9
pct-str
Maintenance
7
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 60/100, but none of the options score above 80.
- •pct-str is depended on by 214 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.