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
37
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 | 37 | 38 |
| Total Downloads | 2.1K | 1.1K | 2.8K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 1 | 1 | 1 |
| Last Updated | 1461d ago | 698d ago | 875d ago |
| Age | 4y | 1y 11m | 2y 4m |
Health Breakdown
float_to_int
Maintenance
1
Quality
16
Community
6
Popularity
4
Documentation
10
fast-float-to-integer
Maintenance
1
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
- •saturate leads with a health score of 38/100, but none of the options score above 80.
- •⚠ float_to_int, fast-float-to-integer, saturate have not been updated in over a year.