Decision Workspace
ms-convert vs fmt-dur vs compound_duration
Side-by-side comparison of Rust crates
43
ms-convert
experimentalv0.1.0
Convert human-readable time strings to milliseconds and vice versa, inspired by vercel/ms
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.
61
compound_duration
growingv2.0.0
Convert seconds to compound duration (week, days, hours, minutes, seconds)
Core Metrics
| ms-convert | fmt-dur | compound_duration | |
|---|---|---|---|
| Health Score | 43 | 48 | 61 |
| Total Downloads | 15 | 358 | 55.6K |
| 30d Downloads | 3 | 4 | 871 |
| Dependents | 0 | 0 | 199 |
| Releases | 1 | 2 | 8 |
| Last Updated | 38d ago | 131d ago | 142d ago |
| Age | 1m | 6m | 6y 9m |
Health Breakdown
ms-convert
Maintenance
11
Quality
15
Community
6
Popularity
1
Documentation
10
fmt-dur
Maintenance
11
Quality
16
Community
3
Popularity
3
Documentation
15
compound_duration
Maintenance
9
Quality
21
Community
12
Popularity
6
Documentation
13
Technical Details
| ms-convert | fmt-dur | compound_duration | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.3 | 2.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | BSD-3-Clause |
| Dependencies | 0 | 1 | 0 |
| Crate Size | 5KB | 8KB | 9KB |
| Features | 0 | 3 | 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 61/100, but none of the options score above 80.
- •compound_duration is depended on by 199 crates — strongest ecosystem trust.
- •ms-convert, fmt-dur are pre-1.0 — API may change.