Decision Workspace
decimal-rs vs rust_decimal vs rust_decimal_macros
Side-by-side comparison of Rust crates
59
decimal-rs
growingv0.2.0
High precision decimal implementation for Rust
74
rust_decimal
stablev1.43.0
Decimal number implementation written in pure Rust suitable for financial and fixed-precision calculations.
68
rust_decimal_macros
growingv1.40.0
Shorthand macros to assist creating Decimal types.
Core Metrics
| decimal-rs | rust_decimal | rust_decimal_macros | |
|---|---|---|---|
| Health Score | 59 | 74 | 68 |
| Total Downloads | 1.2M | 155.9M | 22.6M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 186 | 34.1K | 5.9K |
| Releases | 47 | 107 | 71 |
| Last Updated | 71d ago | 38d ago | 269d ago |
| Age | 5y 8m | 9y 10m | 8y 11m |
Health Breakdown
decimal-rs
Maintenance
15
Quality
13
Community
9
Popularity
7
Documentation
15
rust_decimal
Maintenance
18
Quality
18
Community
15
Popularity
8
Documentation
15
rust_decimal_macros
Maintenance
11
Quality
21
Community
15
Popularity
8
Documentation
13
Technical Details
| decimal-rs | rust_decimal | rust_decimal_macros | |
|---|---|---|---|
| Version | 0.2.0 | 1.43.0 | 1.40.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | Apache-2.0 | MIT | MIT |
| Dependencies | 4 | 37 | 3 |
| Crate Size | 58KB | 170KB | 15KB |
| Features | 0 | 32 | 2 |
| Yanked % | 4.3% | 0.9% | 1.4% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.87 | 1.67.1 | — |
| 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.
- •decimal-rs is pre-1.0 — API may change.