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