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.43.0
Decimal number implementation written in pure Rust suitable for financial and fixed-precision calculations.
59
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 | 59 |
| Total Downloads | 3.4K | 155.9M | 3.5M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 34.1K | 61 |
| Releases | 2 | 107 | 43 |
| Last Updated | 2402d ago | 38d ago | 104d ago |
| Age | 6y 7m | 9y 10m | 7y 10m |
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
13
Quality
15
Community
11
Popularity
8
Documentation
12
Technical Details
| cents | rust_decimal | chinese-number | |
|---|---|---|---|
| Version | 0.1.1 | 1.43.0 | 0.8.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 1 | 37 | 5 |
| Crate Size | 3KB | 170KB | 21KB |
| Features | 0 | 32 | 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 34.1K crates — strongest ecosystem trust.
- •⚠ cents has not been updated in over a year.
- •cents, chinese-number are pre-1.0 — API may change.