Decision Workspace
ancdec vs decimal-rs vs rust_decimal
Side-by-side comparison of Rust crates
52
ancdec
experimentalv0.3.5
no_std Rust decimal: fraction precision never shrinks as integers grow; 4 types from u8(2+2) to u128(38+38) digits
48
decimal-rs
growingv0.1.43
High precision decimal implementation for Rust
74
rust_decimal
stablev1.42.1
Decimal number implementation written in pure Rust suitable for financial and fixed-precision calculations.
Core Metrics
| ancdec | decimal-rs | rust_decimal | |
|---|---|---|---|
| Health Score | 52 | 48 | 74 |
| Total Downloads | 217 | 964.6K | 118.2M |
| 30d Downloads | 0 | 47.6K | 6.4M |
| Dependents | 0 | 140 | 26.9K |
| Releases | 9 | 44 | 106 |
| Last Updated | 49d ago | 1189d ago | 32d ago |
| Age | 5m | 5y 5m | 9y 8m |
Health Breakdown
ancdec
Maintenance
16
Quality
15
Community
6
Popularity
3
Documentation
12
decimal-rs
Maintenance
7
Quality
13
Community
9
Popularity
7
Documentation
12
rust_decimal
Maintenance
18
Quality
18
Community
15
Popularity
8
Documentation
15
Technical Details
| ancdec | decimal-rs | rust_decimal | |
|---|---|---|---|
| Version | 0.3.5 | 0.1.43 | 1.42.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | Apache-2.0 | MIT |
| Dependencies | 9 | 5 | 38 |
| Crate Size | 82KB | 57KB | 166KB |
| Features | 8 | 0 | 33 |
| Yanked % | 0.0% | 2.3% | 0.9% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | 1.82 | — | 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 26.9K crates — strongest ecosystem trust.
- •⚠ decimal-rs has not been updated in over a year.
- •ancdec, decimal-rs are pre-1.0 — API may change.