Decision Workspace
same vs float_eq vs approx_collections
Side-by-side comparison of Rust crates
38
same
growingv0.1.0
Traits for testing identity of objects.
60
float_eq
growingv1.0.1
Compare IEEE floating point primitives, structs and collections for equality.
57
approx_collections
growingv4.1.0
Collections using approximate floating-point comparison
Core Metrics
| same | float_eq | approx_collections | |
|---|---|---|---|
| Health Score | 38 | 60 | 57 |
| Total Downloads | 4.5K | 19.3M | 3.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 1.2K | 3 |
| Releases | 1 | 15 | 8 |
| Last Updated | 2988d ago | 1459d ago | 210d ago |
| Age | 8y 2m | 6y 6m | 1y 2m |
Health Breakdown
same
Maintenance
1
Quality
18
Community
7
Popularity
4
Documentation
8
float_eq
Maintenance
4
Quality
22
Community
14
Popularity
8
Documentation
12
approx_collections
Maintenance
11
Quality
20
Community
10
Popularity
4
Documentation
12
Technical Details
| same | float_eq | approx_collections | |
|---|---|---|---|
| Version | 0.1.0 | 1.0.1 | 4.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MITNFA | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 3 | 5 |
| Crate Size | 3KB | 23KB | 28KB |
| Features | 2 | 4 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 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_eq is depended on by 1.2K crates — strongest ecosystem trust.
- •⚠ same, float_eq have not been updated in over a year.
- •same is pre-1.0 — API may change.