Decision Workspace
dayjs vs moment-rs vs hifitime
Side-by-side comparison of Rust crates
51
dayjs
growingv0.2.2
a date and time library for Rust, inspired by day.js
39
moment-rs
growingv0.1.1
A date/time library to parse, validate, manipulate and format dates, inspired by luxon/moment.js
70
hifitime
stablev4.2.6
Ultra-precise date and time handling in Rust for scientific applications with leap second support
Core Metrics
| dayjs | moment-rs | hifitime | |
|---|---|---|---|
| Health Score | 51 | 39 | 70 |
| Total Downloads | 5.1K | 2.7K | 771.0K |
| 30d Downloads | 17 | 4 | 57.1K |
| Dependents | 0 | 0 | 515 |
| Releases | 13 | 2 | 64 |
| Last Updated | 96d ago | 1339d ago | 4d ago |
| Age | 1y 5m | 3y 8m | 8y 2m |
Health Breakdown
dayjs
Maintenance
14
Quality
15
Community
5
Popularity
4
Documentation
13
moment-rs
Maintenance
4
Quality
16
Community
5
Popularity
4
Documentation
10
hifitime
Maintenance
19
Quality
18
Community
13
Popularity
7
Documentation
13
Technical Details
| dayjs | moment-rs | hifitime | |
|---|---|---|---|
| Version | 0.2.2 | 0.1.1 | 4.2.6 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MPL-2.0 |
| Dependencies | 2 | 0 | 21 |
| Crate Size | 23KB | 1KB | 159KB |
| Features | 0 | 0 | 5 |
| Yanked % | 0.0% | 0.0% | 3.1% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •hifitime leads with a health score of 70/100, but none of the options score above 80.
- •hifitime is depended on by 515 crates — strongest ecosystem trust.
- •⚠ moment-rs has not been updated in over a year.
- •dayjs, moment-rs are pre-1.0 — API may change.