Decision Workspace
int_ratio vs rational vs approx_int
Side-by-side comparison of Rust crates
58
int_ratio
growingv0.1.2
The type of ratios represented by two integers.
53
rational
stablev1.9.0
Minimalistic library for rational numbers
37
approx_int
growingv1.2.1
A compact representation of numbers using a tuple (u8, u8, bool) for efficient approximation and storage.
Core Metrics
| int_ratio | rational | approx_int | |
|---|---|---|---|
| Health Score | 58 | 53 | 37 |
| Total Downloads | 79.5K | 25.1K | 4.5K |
| 30d Downloads | 6.7K | 316 | 4 |
| Dependents | 24 | 0 | 0 |
| Releases | 3 | 18 | 4 |
| Last Updated | 288d ago | 73d ago | 535d ago |
| Age | 1y 8m | 4y 11m | 1y 6m |
Health Breakdown
int_ratio
Maintenance
7
Quality
16
Community
14
Popularity
6
Documentation
15
rational
Maintenance
14
Quality
18
Community
6
Popularity
5
Documentation
10
approx_int
Maintenance
5
Quality
13
Community
5
Popularity
4
Documentation
10
Technical Details
| int_ratio | rational | approx_int | |
|---|---|---|---|
| Version | 0.1.2 | 1.9.0 | 1.2.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0 | MIT | MIT |
| Dependencies | 0 | 5 | 1 |
| Crate Size | 5KB | 21KB | 7KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 5.6% | 50.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.57.0 | — | — |
| Owners | 2 (team) | 1 | 1 |
Links
Quick Verdict
- •int_ratio leads with a health score of 58/100, but none of the options score above 80.
- •⚠ approx_int has not been updated in over a year.
- •int_ratio is pre-1.0 — API may change.