Decision Workspace
round2rs vs round-to vs round_float
Side-by-side comparison of Rust crates
40
round2rs
growingv0.1.3
Based on round-to NPM Crate
42
round-to
growingv0.1.5
Round floating point to integer.
51
round_float
growingv1.2.2
Round `f64` and `f32` to specified number of decimals.
Core Metrics
| round2rs | round-to | round_float | |
|---|---|---|---|
| Health Score | 40 | 42 | 51 |
| Total Downloads | 4.0K | 4.8K | 20.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 5 | 0 |
| Releases | 3 | 3 | 16 |
| Last Updated | 939d ago | 734d ago | 775d ago |
| Age | 2y 6m | 3y | 2y 6m |
Health Breakdown
round2rs
Maintenance
5
Quality
16
Community
2
Popularity
4
Documentation
13
round-to
Maintenance
4
Quality
16
Community
8
Popularity
4
Documentation
10
round_float
Maintenance
7
Quality
18
Community
6
Popularity
5
Documentation
15
Technical Details
| round2rs | round-to | round_float | |
|---|---|---|---|
| Version | 0.1.3 | 0.1.5 | 1.2.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 0 | 2 |
| Crate Size | 2KB | 8KB | 6KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 6.3% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.75.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •round_float leads with a health score of 51/100, but none of the options score above 80.
- •⚠ round2rs, round-to, round_float have not been updated in over a year.
- •round2rs, round-to are pre-1.0 — API may change.