Decision Workspace
float_next_after vs assert-eq-float vs round_float
Side-by-side comparison of Rust crates
60
float_next_after
growingv2.0.0
A trait for native rust f64/f32 nextafter
56
assert-eq-float
growingv0.1.5
This crate provides the `assert_eq_float!` macros that support floats.
51
round_float
growingv1.2.2
Round `f64` and `f32` to specified number of decimals.
Core Metrics
| float_next_after | assert-eq-float | round_float | |
|---|---|---|---|
| Health Score | 60 | 56 | 51 |
| Total Downloads | 16.9M | 2.9M | 20.3K |
| 30d Downloads | 1.2M | 251.4K | 0 |
| Dependents | 201 | 44 | 0 |
| Releases | 8 | 6 | 16 |
| Last Updated | 100d ago | 50d ago | 638d ago |
| Age | 6y 1m | 3y 1m | 2y 1m |
Health Breakdown
float_next_after
Maintenance
11
Quality
20
Community
12
Popularity
8
Documentation
9
assert-eq-float
Maintenance
13
Quality
12
Community
11
Popularity
8
Documentation
12
round_float
Maintenance
7
Quality
18
Community
6
Popularity
5
Documentation
15
Technical Details
| float_next_after | assert-eq-float | round_float | |
|---|---|---|---|
| Version | 2.0.0 | 0.1.5 | 1.2.2 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 3 | 0 | 2 |
| Crate Size | 14KB | 4KB | 6KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 16.7% | 6.3% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.56 | 1.75.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •float_next_after leads with a health score of 60/100, but none of the options score above 80.
- •float_next_after is depended on by 201 crates — strongest ecosystem trust.
- •⚠ round_float has not been updated in over a year.
- •assert-eq-float is pre-1.0 — API may change.