Decision Workspace
cast_trait_object vs trait-cast-macros vs trait-cast
Side-by-side comparison of Rust crates
49
cast_trait_object
growingv0.1.4
Cast between trait objects using only safe Rust.
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.
Core Metrics
| cast_trait_object | trait-cast-macros | trait-cast | |
|---|---|---|---|
| Health Score | 49 | 52 | 52 |
| Total Downloads | 17.3K | 5.2K | 5.1K |
| 30d Downloads | 404 | 65 | 10 |
| Dependents | 35 | 8 | 0 |
| Releases | 5 | 8 | 8 |
| Last Updated | 472d ago | 107d ago | 107d ago |
| Age | 5y 6m | 1y 3m | 1y 3m |
Health Breakdown
cast_trait_object
Maintenance
4
Quality
18
Community
10
Popularity
5
Documentation
12
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
Technical Details
| cast_trait_object | 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 | 1 | 7 | 1 |
| Crate Size | 19KB | 10KB | 23KB |
| Features | 5 | 0 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 2 | 2 |
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.