Decision Workspace
compound_duration vs dur vs pretty-ms
Side-by-side comparison of Rust crates
59
compound_duration
growingv2.0.0
Convert seconds to compound duration (week, days, hours, minutes, seconds)
50
dur
growingv0.5.3
no_std duration parser and pretty-formatter for humans
49
pretty-ms
experimentalv0.1.1
Convert milliseconds to a human-readable string: 1337000000 -> "15d 11h 23m 20s". A faithful port of the pretty-ms npm package. Zero dependencies.
Core Metrics
| compound_duration | dur | pretty-ms | |
|---|---|---|---|
| Health Score | 59 | 50 | 49 |
| Total Downloads | 67.3K | 82.3K | 49 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 251 | 46 | 0 |
| Releases | 8 | 14 | 2 |
| Last Updated | 338d ago | 770d ago | 109d ago |
| Age | 7y 3m | 2y 11m | 3m |
Health Breakdown
compound_duration
Maintenance
6
Quality
21
Community
13
Popularity
6
Documentation
13
dur
Maintenance
6
Quality
17
Community
11
Popularity
6
Documentation
10
pretty-ms
Maintenance
11
Quality
15
Community
6
Popularity
2
Documentation
15
Technical Details
| compound_duration | dur | pretty-ms | |
|---|---|---|---|
| Version | 2.0.0 | 0.5.3 | 0.1.1 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | BSD-3-Clause | MIT | MIT OR Apache-2.0 |
| Dependencies | 0 | 5 | 0 |
| Crate Size | 9KB | 10KB | 13KB |
| Features | 0 | 5 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | — | 1.74 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •compound_duration leads with a health score of 59/100, but none of the options score above 80.
- •dur has the most downloads (82.3K), suggesting wider adoption.
- •compound_duration is depended on by 251 crates — strongest ecosystem trust.
- •⚠ dur has not been updated in over a year.
- •dur, pretty-ms are pre-1.0 — API may change.