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.
76
rust_decimal
stablev1.41.0
Decimal number implementation written in pure Rust suitable for financial and fixed-precision calculations.
58
chinese-number
growingv0.7.8
Convert primitive numbers to Chinese numbers, or parse Chinese numbers to primitive numbers.
Core Metrics
| cents | rust_decimal | chinese-number | |
|---|---|---|---|
| Health Score | 34 | 76 | 58 |
| Total Downloads | 3.4K | 87.8M | 1.1M |
| 30d Downloads | 4 | 6.8M | 205.3K |
| Dependents | 0 | 20.9K | 56 |
| Releases | 2 | 104 | 40 |
| Last Updated | 2206d ago | today | 92d ago |
| Age | 6y | 9y 4m | 7y 4m |
Health Breakdown
cents
Maintenance
3
Quality
15
Community
3
Popularity
4
Documentation
9
rust_decimal
Maintenance
20
Quality
18
Community
15
Popularity
8
Documentation
15
chinese-number
Maintenance
13
Quality
15
Community
11
Popularity
7
Documentation
12
Technical Details
| cents | rust_decimal | chinese-number | |
|---|---|---|---|
| Version | 0.1.1 | 1.41.0 | 0.7.8 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 1 | 38 | 5 |
| Crate Size | 3KB | 164KB | 18KB |
| Features | 0 | 33 | 4 |
| Yanked % | 0.0% | 1.0% | 2.5% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.67.1 | 1.68 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •rust_decimal leads with a health score of 76/100, but none of the options score above 80.
- •rust_decimal is depended on by 20.9K crates — strongest ecosystem trust.
- •⚠ cents has not been updated in over a year.
- •cents, chinese-number are pre-1.0 — API may change.