Decision Workspace
floatguard vs pure_decimal vs az
Side-by-side comparison of Rust crates
49
floatguard
experimentalv0.1.2
A library for checked floating-point arithmetic in Rust, safely elminating NaN and Infinity from floating-point computations.
38
pure_decimal
growingv0.0.7
A decimal type with no NaN and Infinity
70
az
stablev1.3.0
Casts and checked casts.
Core Metrics
| floatguard | pure_decimal | az | |
|---|---|---|---|
| Health Score | 49 | 38 | 70 |
| Total Downloads | 1.2K | 11.1K | 15.8M |
| 30d Downloads | 6 | 11 | 1.5M |
| Dependents | 0 | 0 | 473 |
| Releases | 3 | 7 | 12 |
| Last Updated | 256d ago | 2971d ago | 67d ago |
| Age | 8m | 8y 2m | 6y 6m |
Health Breakdown
floatguard
Maintenance
10
Quality
16
Community
6
Popularity
4
Documentation
13
pure_decimal
Maintenance
4
Quality
15
Community
3
Popularity
5
Documentation
11
az
Maintenance
12
Quality
23
Community
12
Popularity
8
Documentation
15
Technical Details
| floatguard | pure_decimal | az | |
|---|---|---|---|
| Version | 0.1.2 | 0.0.7 | 1.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 2 | 5 | 0 |
| Crate Size | 35KB | 10KB | 29KB |
| Features | 2 | 1 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | — | 2024 |
| MSRV | — | — | 1.85.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •az leads with a health score of 70/100, but none of the options score above 80.
- •az is depended on by 473 crates — strongest ecosystem trust.
- •⚠ pure_decimal has not been updated in over a year.
- •floatguard, pure_decimal are pre-1.0 — API may change.