Decision Workspace
compound_duration vs dur vs fmt-dur
Side-by-side comparison of Rust crates
60
compound_duration
growingv2.0.0
Convert seconds to compound duration (week, days, hours, minutes, seconds)
49
dur
growingv0.5.3
no_std duration parser and pretty-formatter for humans
46
fmt-dur
experimentalv0.1.3
Strict human-readable Duration parser/formatter: '2d3h4m', '90s', '1.5h'. Enforces unit order, no duplicates, and precise decimal rules.
Core Metrics
| compound_duration | dur | fmt-dur | |
|---|---|---|---|
| Health Score | 60 | 49 | 46 |
| Total Downloads | 59.9K | 70.4K | 360 |
| 30d Downloads | 2.4K | 2.6K | 0 |
| Dependents | 217 | 38 | 0 |
| Releases | 8 | 14 | 2 |
| Last Updated | 201d ago | 633d ago | 190d ago |
| Age | 6y 11m | 2y 7m | 8m |
Health Breakdown
compound_duration
Maintenance
8
Quality
21
Community
12
Popularity
6
Documentation
13
dur
Maintenance
6
Quality
17
Community
10
Popularity
6
Documentation
10
fmt-dur
Maintenance
9
Quality
16
Community
3
Popularity
3
Documentation
15
Technical Details
| compound_duration | dur | fmt-dur | |
|---|---|---|---|
| Version | 2.0.0 | 0.5.3 | 0.1.3 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | BSD-3-Clause | MIT | MIT OR Apache-2.0 |
| Dependencies | 0 | 5 | 1 |
| Crate Size | 9KB | 10KB | 8KB |
| Features | 0 | 5 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •compound_duration leads with a health score of 60/100, but none of the options score above 80.
- •dur has the most downloads (70.4K), suggesting wider adoption.
- •compound_duration is depended on by 217 crates — strongest ecosystem trust.
- •⚠ dur has not been updated in over a year.
- •dur, fmt-dur are pre-1.0 — API may change.