Decision Workspace
near-decimal vs decimal vs dec
Side-by-side comparison of Rust crates
33
near-decimal
growingv2.2.0
Decimal floating point arithmetic for Rust
51
decimal
growingv2.1.0
Decimal floating point arithmetic for Rust
51
dec
growingv0.4.11
A decimal arithmetic library providing high-level, safe bindings to libdecnumber.
Core Metrics
| near-decimal | decimal | dec | |
|---|---|---|---|
| Health Score | 33 | 51 | 51 |
| Total Downloads | 2.7K | 1.7M | 557.6K |
| 30d Downloads | 2 | 10.5K | 25.5K |
| Dependents | 0 | 324 | 69 |
| Releases | 2 | 16 | 20 |
| Last Updated | 1540d ago | 1845d ago | 324d ago |
| Age | 4y 2m | 10y 3m | 5y 1m |
Health Breakdown
near-decimal
Maintenance
3
Quality
11
Community
2
Popularity
4
Documentation
13
decimal
Maintenance
4
Quality
18
Community
11
Popularity
7
Documentation
11
dec
Maintenance
8
Quality
10
Community
14
Popularity
7
Documentation
12
Technical Details
| near-decimal | decimal | dec | |
|---|---|---|---|
| Version | 2.2.0 | 2.1.0 | 0.4.11 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | Apache-2.0 | Apache-2.0 | Apache-2.0 |
| Dependencies | 8 | 7 | 10 |
| Crate Size | 898KB | 902KB | 60KB |
| Features | 1 | 1 | 0 |
| Yanked % | 100.0% | 0.0% | 5.0% |
| Edition | 2021 | — | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 2 | 2 (team) |
Links
Quick Verdict
- •decimal leads with a health score of 51/100, but none of the options score above 80.
- •decimal is depended on by 324 crates — strongest ecosystem trust.
- •⚠ near-decimal, decimal have not been updated in over a year.
- •dec is pre-1.0 — API may change.