Decision Workspace
float-cmp vs approx_collections vs approx
Side-by-side comparison of Rust crates
52
float-cmp
growingv0.10.0
Floating point approximate comparison traits
63
approx_collections
growingv4.1.0
Collections using approximate floating-point comparison
62
approx
growingv0.5.1
Approximate floating point equality comparisons and assertions.
Core Metrics
| float-cmp | approx_collections | approx | |
|---|---|---|---|
| Health Score | 52 | 63 | 62 |
| Total Downloads | 111.3M | 2.6K | 99.1M |
| 30d Downloads | 8.4M | 114 | 7.3M |
| Dependents | 3.3K | 3 | 17.5K |
| Releases | 24 | 8 | 13 |
| Last Updated | 554d ago | 14d ago | 50d ago |
| Age | 11y 2m | 8m | 10y 4m |
Health Breakdown
float-cmp
Maintenance
4
Quality
16
Community
12
Popularity
8
Documentation
12
approx_collections
Maintenance
18
Quality
19
Community
10
Popularity
4
Documentation
12
approx
Maintenance
13
Quality
14
Community
16
Popularity
8
Documentation
11
Technical Details
| float-cmp | approx_collections | approx | |
|---|---|---|---|
| Version | 0.10.0 | 4.1.0 | 0.5.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 1 | 5 | 2 |
| Crate Size | 11KB | 28KB | 15KB |
| Features | 3 | 2 | 2 |
| Yanked % | 4.2% | 0.0% | 7.7% |
| Edition | 2018 | 2024 | — |
| MSRV | — | 1.88.0 | — |
| Owners | 1 | 2 | 3 |
Links
Quick Verdict
- •approx_collections leads with a health score of 63/100, but none of the options score above 80.
- •float-cmp has the most downloads (111.3M), suggesting wider adoption.
- •approx is depended on by 17.5K crates — strongest ecosystem trust.
- •⚠ float-cmp has not been updated in over a year.
- •float-cmp, approx are pre-1.0 — API may change.