Decision Workspace
approx_int vs chinese-number vs int_ratio
Side-by-side comparison of Rust crates
37
approx_int
growingv1.2.1
A compact representation of numbers using a tuple (u8, u8, bool) for efficient approximation and storage.
58
chinese-number
growingv0.7.8
Convert primitive numbers to Chinese numbers, or parse Chinese numbers to primitive numbers.
58
int_ratio
growingv0.1.2
The type of ratios represented by two integers.
Core Metrics
| approx_int | chinese-number | int_ratio | |
|---|---|---|---|
| Health Score | 37 | 58 | 58 |
| Total Downloads | 4.5K | 1.1M | 79.5K |
| 30d Downloads | 4 | 205.3K | 6.7K |
| Dependents | 0 | 56 | 24 |
| Releases | 4 | 40 | 3 |
| Last Updated | 535d ago | 92d ago | 288d ago |
| Age | 1y 6m | 7y 4m | 1y 8m |
Health Breakdown
approx_int
Maintenance
5
Quality
13
Community
5
Popularity
4
Documentation
10
chinese-number
Maintenance
13
Quality
15
Community
11
Popularity
7
Documentation
12
int_ratio
Maintenance
7
Quality
16
Community
14
Popularity
6
Documentation
15
Technical Details
| approx_int | chinese-number | int_ratio | |
|---|---|---|---|
| Version | 1.2.1 | 0.7.8 | 0.1.2 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT | GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0 |
| Dependencies | 1 | 5 | 0 |
| Crate Size | 7KB | 18KB | 5KB |
| Features | 0 | 4 | 0 |
| Yanked % | 50.0% | 2.5% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.68 | 1.57.0 |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •chinese-number 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.
- •chinese-number, int_ratio are pre-1.0 — API may change.