Decision Workspace
cents vs rust_decimal vs chinese-number
Side-by-side comparison of Rust crates
34
cents
growingv0.1.1
A small crate for handling monetary values as in integer number of cents.
74
rust_decimal
stablev1.42.1
Decimal number implementation written in pure Rust suitable for financial and fixed-precision calculations.
63
chinese-number
growingv0.8.2
Convert primitive numbers to Chinese numbers, or parse Chinese numbers to primitive numbers.
Core Metrics
| cents | rust_decimal | chinese-number | |
|---|---|---|---|
| Health Score | 34 | 74 | 63 |
| Total Downloads | 3.4K | 118.2M | 2.0M |
| 30d Downloads | 0 | 5.9M | 180.9K |
| Dependents | 0 | 26.9K | 58 |
| Releases | 2 | 106 | 43 |
| Last Updated | 2314d ago | 32d ago | 16d ago |
| Age | 6y 4m | 9y 8m | 7y 7m |
Health Breakdown
cents
Maintenance
3
Quality
15
Community
3
Popularity
4
Documentation
9
rust_decimal
Maintenance
18
Quality
18
Community
15
Popularity
8
Documentation
15
chinese-number
Maintenance
17
Quality
15
Community
11
Popularity
8
Documentation
12
Technical Details
| cents | rust_decimal | chinese-number | |
|---|---|---|---|
| Version | 0.1.1 | 1.42.1 | 0.8.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 1 | 38 | 5 |
| Crate Size | 3KB | 166KB | 21KB |
| Features | 0 | 33 | 4 |
| Yanked % | 0.0% | 0.9% | 2.3% |
| Edition | 2018 | 2021 | 2024 |
| MSRV | — | 1.67.1 | 1.89 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •rust_decimal leads with a health score of 74/100, but none of the options score above 80.
- •rust_decimal is depended on by 26.9K crates — strongest ecosystem trust.
- •⚠ cents has not been updated in over a year.
- •cents, chinese-number are pre-1.0 — API may change.