Decision Workspace
crosstrait vs cast_trait_object vs intertrait
Side-by-side comparison of Rust crates
47
crosstrait
growingv0.1.4
Cast from `dyn Any` to other trait objects, with no_std, no alloc support
48
cast_trait_object
growingv0.1.4
Cast between trait objects using only safe Rust.
47
intertrait
growingv0.2.2
Allow for inter-trait casting
Core Metrics
| crosstrait | cast_trait_object | intertrait | |
|---|---|---|---|
| Health Score | 47 | 48 | 47 |
| Total Downloads | 5.2K | 18.7K | 170.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 15 | 35 | 33 |
| Releases | 5 | 5 | 5 |
| Last Updated | 186d ago | 668d ago | 1879d ago |
| Age | 2y 5m | 6y 1m | 6y 6m |
Health Breakdown
crosstrait
Maintenance
9
Quality
12
Community
9
Popularity
4
Documentation
13
cast_trait_object
Maintenance
3
Quality
18
Community
10
Popularity
5
Documentation
12
intertrait
Maintenance
4
Quality
14
Community
14
Popularity
6
Documentation
9
Technical Details
| crosstrait | cast_trait_object | intertrait | |
|---|---|---|---|
| Version | 0.1.4 | 0.1.4 | 0.2.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 1 | 5 |
| Crate Size | 14KB | 19KB | 11KB |
| Features | 5 | 5 | 0 |
| Yanked % | 20.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •cast_trait_object leads with a health score of 48/100, but none of the options score above 80.
- •intertrait has the most downloads (170.4K), suggesting wider adoption.
- •⚠ cast_trait_object, intertrait have not been updated in over a year.