Decision Workspace
fmt-dur vs ms-convert vs compound_duration
Side-by-side comparison of Rust crates
45
fmt-dur
experimentalv0.1.3
Strict human-readable Duration parser/formatter: '2d3h4m', '90s', '1.5h'. Enforces unit order, no duplicates, and precise decimal rules.
39
ms-convert
experimentalv0.1.0
Convert human-readable time strings to milliseconds and vice versa, inspired by vercel/ms
59
compound_duration
growingv2.0.0
Convert seconds to compound duration (week, days, hours, minutes, seconds)
Core Metrics
| fmt-dur | ms-convert | compound_duration | |
|---|---|---|---|
| Health Score | 45 | 39 | 59 |
| Total Downloads | 366 | 21 | 61.9K |
| 30d Downloads | 0 | 0 | 695 |
| Dependents | 0 | 0 | 226 |
| Releases | 2 | 1 | 8 |
| Last Updated | 239d ago | 146d ago | 250d ago |
| Age | 10m | 4m | 7y 1m |
Health Breakdown
fmt-dur
Maintenance
8
Quality
16
Community
3
Popularity
3
Documentation
15
ms-convert
Maintenance
6
Quality
15
Community
6
Popularity
2
Documentation
10
compound_duration
Maintenance
7
Quality
21
Community
12
Popularity
6
Documentation
13
Technical Details
| fmt-dur | ms-convert | compound_duration | |
|---|---|---|---|
| Version | 0.1.3 | 0.1.0 | 2.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | BSD-3-Clause |
| Dependencies | 1 | 0 | 0 |
| Crate Size | 8KB | 5KB | 9KB |
| Features | 3 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85 | — | — |
| 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.
- •compound_duration is depended on by 226 crates — strongest ecosystem trust.
- •fmt-dur, ms-convert are pre-1.0 — API may change.