Decision Workspace
decimal-rs vs rust_decimal vs rust_decimal_macros
Side-by-side comparison of Rust crates
47
decimal-rs
growingv0.1.43
High precision decimal implementation for Rust
76
rust_decimal
stablev1.41.0
Decimal number implementation written in pure Rust suitable for financial and fixed-precision calculations.
73
rust_decimal_macros
stablev1.40.0
Shorthand macros to assist creating Decimal types.
Core Metrics
| decimal-rs | rust_decimal | rust_decimal_macros | |
|---|---|---|---|
| Health Score | 47 | 76 | 73 |
| Total Downloads | 538.4K | 87.8M | 11.4M |
| 30d Downloads | 198.7K | 6.8M | 782.7K |
| Dependents | 64 | 20.9K | 4.2K |
| Releases | 44 | 104 | 71 |
| Last Updated | 1081d ago | today | 73d ago |
| Age | 5y 1m | 9y 4m | 8y 4m |
Health Breakdown
decimal-rs
Maintenance
7
Quality
13
Community
8
Popularity
7
Documentation
12
rust_decimal
Maintenance
20
Quality
18
Community
15
Popularity
8
Documentation
15
rust_decimal_macros
Maintenance
16
Quality
21
Community
15
Popularity
8
Documentation
13
Technical Details
| decimal-rs | rust_decimal | rust_decimal_macros | |
|---|---|---|---|
| Version | 0.1.43 | 1.41.0 | 1.40.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | Apache-2.0 | MIT | MIT |
| Dependencies | 5 | 38 | 3 |
| Crate Size | 57KB | 164KB | 15KB |
| Features | 0 | 33 | 2 |
| Yanked % | 2.3% | 1.0% | 1.4% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.67.1 | — |
| 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.
- •⚠ decimal-rs has not been updated in over a year.
- •decimal-rs is pre-1.0 — API may change.