Decision Workspace
crosstrait vs trait-cast-macros vs trait-cast
Side-by-side comparison of Rust crates
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.
50
trait-cast
growingv0.4.0
Get your own Any with support for casting to trait objects.
Core Metrics
| crosstrait | trait-cast-macros | trait-cast | |
|---|---|---|---|
| Health Score | 52 | 50 | 50 |
| Total Downloads | 4.0K | 5.2K | 5.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 11 | 8 | 0 |
| Releases | 5 | 8 | 8 |
| Last Updated | 49d ago | 166d ago | 166d ago |
| Age | 2y | 1y 5m | 1y 5m |
Health Breakdown
crosstrait
Maintenance
14
Quality
12
Community
9
Popularity
4
Documentation
13
trait-cast-macros
Maintenance
11
Quality
14
Community
11
Popularity
4
Documentation
10
trait-cast
Maintenance
11
Quality
17
Community
8
Popularity
4
Documentation
10
Technical Details
| crosstrait | trait-cast-macros | trait-cast | |
|---|---|---|---|
| Version | 0.1.4 | 0.4.0 | 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 | 4 | 7 | 1 |
| Crate Size | 14KB | 10KB | 23KB |
| Features | 5 | 0 | 4 |
| Yanked % | 20.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 2 | 2 |
Links
Quick Verdict
- •crosstrait leads with a health score of 52/100, but none of the options score above 80.
- •trait-cast-macros has the most downloads (5.2K), suggesting wider adoption.