Decision Workspace
fmul-to-int vs float_next_after vs assert-eq-float
Side-by-side comparison of Rust crates
48
fmul-to-int
growingv1.0.0
Float multiplication to integer part.
58
float_next_after
growingv2.0.0
A trait for native rust f64/f32 nextafter
58
assert-eq-float
growingv0.1.7
This crate provides the `assert_eq_float!` macros that support floats.
Core Metrics
| fmul-to-int | float_next_after | assert-eq-float | |
|---|---|---|---|
| Health Score | 48 | 58 | 58 |
| Total Downloads | 9.0K | 19.4M | 3.2M |
| 30d Downloads | 0 | 1.1M | 124.5K |
| Dependents | 0 | 208 | 56 |
| Releases | 1 | 8 | 8 |
| Last Updated | 889d ago | 149d ago | 21d ago |
| Age | 2y 5m | 6y 3m | 3y 3m |
Health Breakdown
fmul-to-int
Maintenance
1
Quality
23
Community
6
Popularity
5
Documentation
13
float_next_after
Maintenance
9
Quality
20
Community
12
Popularity
8
Documentation
9
assert-eq-float
Maintenance
15
Quality
12
Community
11
Popularity
8
Documentation
12
Technical Details
| fmul-to-int | float_next_after | assert-eq-float | |
|---|---|---|---|
| Version | 1.0.0 | 2.0.0 | 0.1.7 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT/Apache-2.0 | MIT | MIT |
| Dependencies | 0 | 3 | 0 |
| Crate Size | 7KB | 14KB | 4KB |
| Features | 2 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 12.5% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | — | — | 1.56 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •float_next_after leads with a health score of 58/100, but none of the options score above 80.
- •float_next_after is depended on by 208 crates — strongest ecosystem trust.
- •⚠ fmul-to-int has not been updated in over a year.
- •assert-eq-float is pre-1.0 — API may change.