Decision Workspace
float_to_int vs fast-float-to-integer vs saturate
Side-by-side comparison of Rust crates
37
float_to_int
growingv0.1.0
Conversions of integer-value floats into integers
38
fast-float-to-integer
growingv0.1.0
Convert floating point values to integer types faster than the standard `as` operator.
38
saturate
growingv0.1.0
Rust traits for saturating conversion between numeric types
Core Metrics
| float_to_int | fast-float-to-integer | saturate | |
|---|---|---|---|
| Health Score | 37 | 38 | 38 |
| Total Downloads | 2.0K | 1.0K | 2.5K |
| 30d Downloads | 20 | 4 | 20 |
| Dependents | 0 | 0 | 0 |
| Releases | 1 | 1 | 1 |
| Last Updated | 1265d ago | 502d ago | 679d ago |
| Age | 3y 5m | 1y 4m | 1y 10m |
Health Breakdown
float_to_int
Maintenance
1
Quality
16
Community
6
Popularity
4
Documentation
10
fast-float-to-integer
Maintenance
2
Quality
17
Community
3
Popularity
4
Documentation
12
saturate
Maintenance
1
Quality
16
Community
6
Popularity
4
Documentation
11
Technical Details
| float_to_int | fast-float-to-integer | saturate | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MPL-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 2 | 0 |
| Crate Size | 4KB | 5KB | 9KB |
| Features | 4 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | 1.71 | 1.45 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •fast-float-to-integer leads with a health score of 38/100, but none of the options score above 80.
- •saturate has the most downloads (2.5K), suggesting wider adoption.
- •⚠ float_to_int, fast-float-to-integer, saturate have not been updated in over a year.