Decision Workspace
trait-cast-macros vs trait-cast vs cast_trait_object
Side-by-side comparison of Rust crates
52
trait-cast-macros
growingv0.4.0
Proc-macro implementation for the 'trait-cast' crate.
52
trait-cast
growingv0.4.0
Get your own Any with support for casting to trait objects.
49
cast_trait_object
growingv0.1.4
Cast between trait objects using only safe Rust.
Core Metrics
| trait-cast-macros | trait-cast | cast_trait_object | |
|---|---|---|---|
| Health Score | 52 | 52 | 49 |
| Total Downloads | 5.2K | 5.1K | 17.3K |
| 30d Downloads | 65 | 10 | 404 |
| Dependents | 8 | 0 | 35 |
| Releases | 8 | 8 | 5 |
| Last Updated | 107d ago | 107d ago | 472d ago |
| Age | 1y 3m | 1y 3m | 5y 6m |
Health Breakdown
trait-cast-macros
Maintenance
13
Quality
14
Community
11
Popularity
4
Documentation
10
trait-cast
Maintenance
13
Quality
17
Community
8
Popularity
4
Documentation
10
cast_trait_object
Maintenance
4
Quality
18
Community
10
Popularity
5
Documentation
12
Technical Details
| trait-cast-macros | trait-cast | cast_trait_object | |
|---|---|---|---|
| Version | 0.4.0 | 0.4.0 | 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 | 7 | 1 | 1 |
| Crate Size | 10KB | 23KB | 19KB |
| Features | 0 | 4 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2018 |
| MSRV | — | — | — |
| Owners | 2 | 2 | 1 |
Links
Quick Verdict
- •trait-cast-macros leads with a health score of 52/100, but none of the options score above 80.
- •cast_trait_object has the most downloads (17.3K), suggesting wider adoption.
- •⚠ cast_trait_object has not been updated in over a year.