Decision Workspace
ufloat vs float-cmp vs floats
Side-by-side comparison of Rust crates
38
ufloat
growingv0.1.0
Wrappers around floating point numbers with ufmt trait implementations
52
float-cmp
growingv0.10.0
Floating point approximate comparison traits
48
floats
experimentalv0.2.0
f16 and f128 floating point types for compatibility with future Rust versions
Core Metrics
| ufloat | float-cmp | floats | |
|---|---|---|---|
| Health Score | 38 | 52 | 48 |
| Total Downloads | 1.7K | 111.3M | 77 |
| 30d Downloads | 60 | 8.6M | 10 |
| Dependents | 2 | 3.3K | 0 |
| Releases | 1 | 24 | 3 |
| Last Updated | 490d ago | 554d ago | 73d ago |
| Age | 1y 4m | 11y 2m | 2m |
Health Breakdown
ufloat
Maintenance
2
Quality
15
Community
7
Popularity
4
Documentation
10
float-cmp
Maintenance
4
Quality
16
Community
12
Popularity
8
Documentation
12
floats
Maintenance
10
Quality
15
Community
6
Popularity
2
Documentation
15
Technical Details
| ufloat | float-cmp | floats | |
|---|---|---|---|
| Version | 0.1.0 | 0.10.0 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 2 | 1 | 4 |
| Crate Size | 3KB | 11KB | 25KB |
| Features | 0 | 3 | 3 |
| Yanked % | 0.0% | 4.2% | 0.0% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | — | — | 1.60 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •float-cmp leads with a health score of 52/100, but none of the options score above 80.
- •float-cmp is depended on by 3.3K crates — strongest ecosystem trust.
- •⚠ ufloat, float-cmp have not been updated in over a year.