Decision Workspace
float-cmp vs float_eq vs approx_collections
Side-by-side comparison of Rust crates
52
float-cmp
growingv0.10.0
Floating point approximate comparison traits
60
float_eq
growingv1.0.1
Compare IEEE floating point primitives, structs and collections for equality.
60
approx_collections
growingv4.1.0
Collections using approximate floating-point comparison
Core Metrics
| float-cmp | float_eq | approx_collections | |
|---|---|---|---|
| Health Score | 52 | 60 | 60 |
| Total Downloads | 131.4M | 16.4M | 2.8K |
| 30d Downloads | 11.2M | 653.5K | 0 |
| Dependents | 3.5K | 1.1K | 3 |
| Releases | 24 | 15 | 8 |
| Last Updated | 613d ago | 1322d ago | 73d ago |
| Age | 11y 4m | 6y 1m | 10m |
Health Breakdown
float-cmp
Maintenance
4
Quality
16
Community
12
Popularity
8
Documentation
12
float_eq
Maintenance
4
Quality
22
Community
14
Popularity
8
Documentation
12
approx_collections
Maintenance
15
Quality
19
Community
10
Popularity
4
Documentation
12
Technical Details
| float-cmp | float_eq | approx_collections | |
|---|---|---|---|
| Version | 0.10.0 | 1.0.1 | 4.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 3 | 5 |
| Crate Size | 11KB | 23KB | 28KB |
| Features | 3 | 4 | 2 |
| Yanked % | 4.2% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2024 |
| MSRV | — | — | 1.88.0 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •float_eq leads with a health score of 60/100, but none of the options score above 80.
- •float-cmp has the most downloads (131.4M), suggesting wider adoption.
- •float-cmp is depended on by 3.5K crates — strongest ecosystem trust.
- •⚠ float-cmp, float_eq have not been updated in over a year.
- •float-cmp is pre-1.0 — API may change.