Decision Workspace
perfect-decimal vs fhex vs fraction
Side-by-side comparison of Rust crates
44
perfect-decimal
growingv0.0.2
Limited range decimals which serialize as IEE754 floats with no loss of precision.
56
fhex
stablev2.0.2
Hex float conversion: ToHex for formatting, FromHex for parsing. IEEE 754 hexadecimal format (0x1.8p+1).
54
fraction
growingv0.15.3
Lossless fractions and decimals; drop-in float replacement
Core Metrics
| perfect-decimal | fhex | fraction | |
|---|---|---|---|
| Health Score | 44 | 56 | 54 |
| Total Downloads | 2.2K | 2.8K | 55.6M |
| 30d Downloads | 5 | 129 | 4.1M |
| Dependents | 0 | 6 | 751 |
| Releases | 2 | 4 | 36 |
| Last Updated | 592d ago | 38d ago | 684d ago |
| Age | 1y 7m | 2y 3m | 10y 2m |
Health Breakdown
perfect-decimal
Maintenance
5
Quality
14
Community
11
Popularity
4
Documentation
10
fhex
Maintenance
14
Quality
20
Community
8
Popularity
4
Documentation
10
fraction
Maintenance
7
Quality
15
Community
13
Popularity
8
Documentation
11
Technical Details
| perfect-decimal | fhex | fraction | |
|---|---|---|---|
| Version | 0.0.2 | 2.0.2 | 0.15.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Unlicense | Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 4 | 1 | 10 |
| Crate Size | 7KB | 14KB | 95KB |
| Features | 0 | 0 | 9 |
| Yanked % | 0.0% | 0.0% | 2.8% |
| Edition | 2021 | 2024 | — |
| MSRV | — | — | — |
| Owners | 2 (team) | 1 | 1 |
Links
Quick Verdict
- •fhex leads with a health score of 56/100, but none of the options score above 80.
- •fraction has the most downloads (55.6M), suggesting wider adoption.
- •fraction is depended on by 751 crates — strongest ecosystem trust.
- •⚠ perfect-decimal, fraction have not been updated in over a year.
- •perfect-decimal, fraction are pre-1.0 — API may change.