Decision Workspace
dyn-dyn vs downcast-rs vs dynamic-cast
Side-by-side comparison of Rust crates
51
dyn-dyn
growingv0.2.1
Flexible trait object downcasting using ptr_metadata
62
downcast-rs
growingv2.0.2
Trait object downcasting support using only safe Rust. It supports type parameters, associated types, and type constraints.
50
dynamic-cast
growingv0.2.0
The fifth pillar of OOP: dynamic casting.
Core Metrics
| dyn-dyn | downcast-rs | dynamic-cast | |
|---|---|---|---|
| Health Score | 51 | 62 | 50 |
| Total Downloads | 8.3K | 179.3M | 10.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 5.1K | 23 |
| Releases | 7 | 15 | 9 |
| Last Updated | 62d ago | 403d ago | 491d ago |
| Age | 4y 1m | 10y 10m | 2y 11m |
Health Breakdown
dyn-dyn
Maintenance
13
Quality
17
Community
6
Popularity
5
Documentation
10
downcast-rs
Maintenance
5
Quality
23
Community
14
Popularity
8
Documentation
12
dynamic-cast
Maintenance
7
Quality
15
Community
10
Popularity
5
Documentation
13
Technical Details
| dyn-dyn | downcast-rs | dynamic-cast | |
|---|---|---|---|
| Version | 0.2.1 | 2.0.2 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 0 | 2 |
| Crate Size | 20KB | 13KB | 5KB |
| Features | 4 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.56 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •downcast-rs leads with a health score of 62/100, but none of the options score above 80.
- •downcast-rs is depended on by 5.1K crates — strongest ecosystem trust.
- •⚠ downcast-rs, dynamic-cast have not been updated in over a year.
- •dyn-dyn, dynamic-cast are pre-1.0 — API may change.