Decision Workspace
primitive-from vs number-as vs easy-cast
Side-by-side comparison of Rust crates
45
primitive-from
growingv1.0.2
Provides a trait PrimitiveFrom that is what From is to Into for num_traits::AsPrimitive
59
number-as
growingv1.0.11
Extend primitive number types to make them have a `number_as` method.
66
easy-cast
growingv0.7.1
Type conversions which are expected to succeed
Core Metrics
| primitive-from | number-as | easy-cast | |
|---|---|---|---|
| Health Score | 45 | 59 | 66 |
| Total Downloads | 7.3K | 18.9K | 8.8M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 30 | 48 | 259 |
| Releases | 3 | 11 | 18 |
| Last Updated | 2619d ago | 90d ago | 41d ago |
| Age | 7y 2m | 8y 1m | 5y 6m |
Health Breakdown
primitive-from
Maintenance
3
Quality
21
Community
7
Popularity
5
Documentation
9
number-as
Maintenance
11
Quality
21
Community
10
Popularity
5
Documentation
12
easy-cast
Maintenance
15
Quality
18
Community
10
Popularity
8
Documentation
15
Technical Details
| primitive-from | number-as | easy-cast | |
|---|---|---|---|
| Version | 1.0.2 | 1.0.11 | 0.7.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT/Apache-2.0 | MIT | Apache-2.0 |
| Dependencies | 0 | 0 | 1 |
| Crate Size | 2KB | 3KB | 26KB |
| Features | 0 | 0 | 7 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2024 |
| MSRV | — | 1.56 | 1.96.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •easy-cast leads with a health score of 66/100, but none of the options score above 80.
- •easy-cast is depended on by 259 crates — strongest ecosystem trust.
- •⚠ primitive-from has not been updated in over a year.
- •easy-cast is pre-1.0 — API may change.