Decision Workspace
float_next_after vs assert-eq-float vs round_float
Side-by-side comparison of Rust crates
57
float_next_after
growingv2.0.0
A trait for native rust f64/f32 nextafter
53
assert-eq-float
growingv0.1.7
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 | 57 | 53 | 51 |
| Total Downloads | 26.5M | 3.4M | 20.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 282 | 62 | 0 |
| Releases | 8 | 8 | 16 |
| Last Updated | 238d ago | 109d ago | 775d ago |
| Age | 6y 6m | 3y 6m | 2y 6m |
Health Breakdown
float_next_after
Maintenance
7
Quality
20
Community
13
Popularity
8
Documentation
9
assert-eq-float
Maintenance
10
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.7 | 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% | 12.5% | 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 57/100, but none of the options score above 80.
- •float_next_after is depended on by 282 crates — strongest ecosystem trust.
- •⚠ round_float has not been updated in over a year.
- •assert-eq-float is pre-1.0 — API may change.