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