Decision Workspace
const-decimal vs basis-points vs decimix
Side-by-side comparison of Rust crates
49
const-decimal
growingv0.4.0
Integer-backed decimals with constant precision
60
basis-points
experimentalv0.4.3
Validated basis-points type with optional Decimal and Anchor support.
60
decimix
experimentalv0.1.4
Fixed-point decimal arithmetic: i128 at 19 decimal places
Core Metrics
| const-decimal | basis-points | decimix | |
|---|---|---|---|
| Health Score | 49 | 60 | 60 |
| Total Downloads | 16.5K | 294 | 125 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3 | 10 | 16 |
| Releases | 6 | 12 | 5 |
| Last Updated | 82d ago | 33d ago | 4d ago |
| Age | 2y | 5m | 7d |
Health Breakdown
const-decimal
Maintenance
11
Quality
15
Community
8
Popularity
5
Documentation
10
basis-points
Maintenance
17
Quality
16
Community
9
Popularity
3
Documentation
15
decimix
Maintenance
19
Quality
14
Community
9
Popularity
3
Documentation
15
Technical Details
| const-decimal | basis-points | decimix | |
|---|---|---|---|
| Version | 0.4.0 | 0.4.3 | 0.1.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 12 | 7 | 9 |
| Crate Size | 39KB | 17KB | 52KB |
| Features | 3 | 6 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | 1.85 | 1.98 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •basis-points leads with a health score of 60/100, but none of the options score above 80.
- •const-decimal has the most downloads (16.5K), suggesting wider adoption.