Decision Workspace
safe_decimal vs rust_decimal vs fpdec
Side-by-side comparison of Rust crates
36
safe_decimal
growingv0.1.0
Library that solves the recurring decimal problem with fractions
76
rust_decimal
stablev1.41.0
Decimal number implementation written in pure Rust suitable for financial and fixed-precision calculations.
59
fpdec
growingv0.14.1
Decimal floating-point arithmetic.
Core Metrics
| safe_decimal | rust_decimal | fpdec | |
|---|---|---|---|
| Health Score | 36 | 76 | 59 |
| Total Downloads | 1.6K | 87.8M | 88.7K |
| 30d Downloads | 3 | 7.1M | 4.5K |
| Dependents | 0 | 20.9K | 160 |
| Releases | 1 | 104 | 30 |
| Last Updated | 1039d ago | today | 8d ago |
| Age | 2y 10m | 9y 4m | 4y 4m |
Health Breakdown
safe_decimal
Maintenance
1
Quality
15
Community
6
Popularity
4
Documentation
10
rust_decimal
Maintenance
20
Quality
18
Community
15
Popularity
8
Documentation
15
fpdec
Maintenance
18
Quality
10
Community
12
Popularity
6
Documentation
13
Technical Details
| safe_decimal | rust_decimal | fpdec | |
|---|---|---|---|
| Version | 0.1.0 | 1.41.0 | 0.14.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | non-standard |
| Dependencies | 3 | 38 | 6 |
| Crate Size | 18KB | 164KB | 41KB |
| Features | 0 | 33 | 4 |
| Yanked % | 0.0% | 1.0% | 70.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.67.1 | 1.81 |
| 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.
- •⚠ safe_decimal has not been updated in over a year.
- •safe_decimal, fpdec are pre-1.0 — API may change.