Decision Workspace
pure_decimal vs floatguard vs fraction
Side-by-side comparison of Rust crates
38
pure_decimal
growingv0.0.7
A decimal type with no NaN and Infinity
46
floatguard
growingv0.1.2
A library for checked floating-point arithmetic in Rust, safely elminating NaN and Infinity from floating-point computations.
64
fraction
growingv0.17.0
Lossless fractions and decimals; drop-in float replacement
Core Metrics
| pure_decimal | floatguard | fraction | |
|---|---|---|---|
| Health Score | 38 | 46 | 64 |
| Total Downloads | 11.1K | 1.2K | 96.5M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 914 |
| Releases | 7 | 3 | 39 |
| Last Updated | 3167d ago | 452d ago | 48d ago |
| Age | 8y 9m | 1y 3m | 10y 8m |
Health Breakdown
pure_decimal
Maintenance
4
Quality
15
Community
3
Popularity
5
Documentation
11
floatguard
Maintenance
6
Quality
17
Community
6
Popularity
4
Documentation
13
fraction
Maintenance
15
Quality
14
Community
13
Popularity
8
Documentation
14
Technical Details
| pure_decimal | floatguard | fraction | |
|---|---|---|---|
| Version | 0.0.7 | 0.1.2 | 0.17.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 2 | 10 |
| Crate Size | 10KB | 35KB | 118KB |
| Features | 1 | 2 | 9 |
| Yanked % | 0.0% | 0.0% | 2.6% |
| Edition | — | 2024 | 2015 |
| MSRV | — | — | 1.70 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •fraction leads with a health score of 64/100, but none of the options score above 80.
- •fraction is depended on by 914 crates — strongest ecosystem trust.
- •⚠ pure_decimal, floatguard have not been updated in over a year.