Decision Workspace
usize_cast vs as_repr-core vs as_repr
Side-by-side comparison of Rust crates
50
usize_cast
growingv1.1.0
Compile time checked cast from and to `usize`/`isize`
63
as_repr-core
experimentalv1.7.0
Rust trait for constant `#[repr(T)]` conversions
62
as_repr
growingv1.7.0
Rust trait for constant `#[repr(T)]` conversions
Core Metrics
| usize_cast | as_repr-core | as_repr | |
|---|---|---|---|
| Health Score | 50 | 63 | 62 |
| Total Downloads | 165.8K | 18.0K | 23.5K |
| 30d Downloads | 9.5K | 11.6K | 11.5K |
| Dependents | 6 | 6 | 6 |
| Releases | 2 | 6 | 11 |
| Last Updated | 2248d ago | 44d ago | 44d ago |
| Age | 6y 2m | 1m | 7m |
Health Breakdown
usize_cast
Maintenance
3
Quality
21
Community
8
Popularity
6
Documentation
12
as_repr-core
Maintenance
14
Quality
21
Community
8
Popularity
5
Documentation
15
as_repr
Maintenance
16
Quality
18
Community
8
Popularity
5
Documentation
15
Technical Details
| usize_cast | as_repr-core | as_repr | |
|---|---|---|---|
| Version | 1.1.0 | 1.7.0 | 1.7.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | Apache-2.0 OR BSL-1.0 OR MIT | Apache-2.0 OR BSL-1.0 OR MIT |
| Dependencies | 0 | 0 | 2 |
| Crate Size | 3KB | 14KB | 8KB |
| Features | 0 | 6 | 6 |
| Yanked % | 0.0% | 0.0% | 9.1% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | 1.91 | 1.91 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •as_repr-core leads with a health score of 63/100, but none of the options score above 80.
- •usize_cast has the most downloads (165.8K), suggesting wider adoption.
- •⚠ usize_cast has not been updated in over a year.