Decision Workspace
compound_duration vs dur vs fmt-dur
Side-by-side comparison of Rust crates
61
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
48
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 | 61 | 49 | 48 |
| Total Downloads | 55.6K | 65.8K | 358 |
| 30d Downloads | 871 | 1.7K | 4 |
| Dependents | 199 | 34 | 0 |
| Releases | 8 | 14 | 2 |
| Last Updated | 142d ago | 574d ago | 131d ago |
| Age | 6y 9m | 2y 5m | 6m |
Health Breakdown
compound_duration
Maintenance
9
Quality
21
Community
12
Popularity
6
Documentation
13
dur
Maintenance
6
Quality
17
Community
10
Popularity
6
Documentation
10
fmt-dur
Maintenance
11
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 61/100, but none of the options score above 80.
- •dur has the most downloads (65.8K), suggesting wider adoption.
- •compound_duration is depended on by 199 crates — strongest ecosystem trust.
- •⚠ dur has not been updated in over a year.
- •dur, fmt-dur are pre-1.0 — API may change.