Decision Workspace
downcast-trait vs cast_trait_object vs intertrait
Side-by-side comparison of Rust crates
37
downcast-trait
growingv0.1.0
Allow casting between traits.
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
| downcast-trait | cast_trait_object | intertrait | |
|---|---|---|---|
| Health Score | 37 | 48 | 47 |
| Total Downloads | 4.1K | 18.7K | 170.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3 | 35 | 33 |
| Releases | 1 | 5 | 5 |
| Last Updated | 2221d ago | 668d ago | 1879d ago |
| Age | 6y 1m | 6y 1m | 6y 6m |
Health Breakdown
downcast-trait
Maintenance
1
Quality
16
Community
7
Popularity
4
Documentation
9
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
| downcast-trait | cast_trait_object | intertrait | |
|---|---|---|---|
| Version | 0.1.0 | 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 | 0 | 1 | 5 |
| Crate Size | 3KB | 19KB | 11KB |
| Features | 0 | 5 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 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.
- •⚠ downcast-trait, cast_trait_object, intertrait have not been updated in over a year.