Decision Workspace
saturate vs float_to_int vs fast-float-to-integer
Side-by-side comparison of Rust crates
38
saturate
growingv0.1.0
Rust traits for saturating conversion between numeric types
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.
Core Metrics
| saturate | float_to_int | fast-float-to-integer | |
|---|---|---|---|
| Health Score | 38 | 37 | 37 |
| Total Downloads | 2.8K | 2.1K | 1.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 1 | 1 | 1 |
| Last Updated | 875d ago | 1461d ago | 698d ago |
| Age | 2y 4m | 4y | 1y 11m |
Health Breakdown
saturate
Maintenance
1
Quality
16
Community
6
Popularity
4
Documentation
11
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
Technical Details
| saturate | float_to_int | fast-float-to-integer | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MPL-2.0 |
| Dependencies | 0 | 5 | 2 |
| Crate Size | 9KB | 4KB | 5KB |
| Features | 0 | 4 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | 1.45 | — | 1.71 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •saturate leads with a health score of 38/100, but none of the options score above 80.
- •⚠ saturate, float_to_int, fast-float-to-integer have not been updated in over a year.