Decision Workspace
intertrait vs crosstrait vs trait-cast-macros
Side-by-side comparison of Rust crates
47
intertrait
growingv0.2.2
Allow for inter-trait casting
52
crosstrait
growingv0.1.4
Cast from `dyn Any` to other trait objects, with no_std, no alloc support
50
trait-cast-macros
growingv0.4.0
Proc-macro implementation for the 'trait-cast' crate.
Core Metrics
| intertrait | crosstrait | trait-cast-macros | |
|---|---|---|---|
| Health Score | 47 | 52 | 50 |
| Total Downloads | 132.0K | 4.0K | 5.2K |
| 30d Downloads | 9.7K | 0 | 0 |
| Dependents | 33 | 11 | 8 |
| Releases | 5 | 5 | 8 |
| Last Updated | 1742d ago | 49d ago | 166d ago |
| Age | 6y 2m | 2y | 1y 5m |
Health Breakdown
intertrait
Maintenance
4
Quality
14
Community
14
Popularity
6
Documentation
9
crosstrait
Maintenance
14
Quality
12
Community
9
Popularity
4
Documentation
13
trait-cast-macros
Maintenance
11
Quality
14
Community
11
Popularity
4
Documentation
10
Technical Details
| intertrait | crosstrait | trait-cast-macros | |
|---|---|---|---|
| Version | 0.2.2 | 0.1.4 | 0.4.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 4 | 7 |
| Crate Size | 11KB | 14KB | 10KB |
| Features | 0 | 5 | 0 |
| Yanked % | 0.0% | 20.0% | 0.0% |
| Edition | 2018 | 2021 | 2024 |
| MSRV | — | — | — |
| Owners | 2 (team) | 1 | 2 |
Links
Quick Verdict
- •crosstrait leads with a health score of 52/100, but none of the options score above 80.
- •intertrait has the most downloads (132.0K), suggesting wider adoption.
- •⚠ intertrait has not been updated in over a year.