Decision Workspace
extension-trait vs downcast-rs vs derive-ctor
Side-by-side comparison of Rust crates
57
extension-trait
growingv1.0.2
Macro to declare extension traits
62
downcast-rs
growingv2.0.2
Trait object downcasting support using only safe Rust. It supports type parameters, associated types, and type constraints.
53
derive-ctor
growingv1.0.6
Adds `#[derive(ctor)]` which allows for the auto-generation of struct, enum, and union constructors.
Core Metrics
| extension-trait | downcast-rs | derive-ctor | |
|---|---|---|---|
| Health Score | 57 | 62 | 53 |
| Total Downloads | 1.4M | 179.3M | 17.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 364 | 5.1K | 0 |
| Releases | 11 | 15 | 13 |
| Last Updated | 1299d ago | 403d ago | 850d ago |
| Age | 8y 11m | 10y 10m | 2y 4m |
Health Breakdown
extension-trait
Maintenance
5
Quality
20
Community
12
Popularity
7
Documentation
13
downcast-rs
Maintenance
5
Quality
23
Community
14
Popularity
8
Documentation
12
derive-ctor
Maintenance
10
Quality
22
Community
6
Popularity
5
Documentation
10
Technical Details
| extension-trait | downcast-rs | derive-ctor | |
|---|---|---|---|
| Version | 1.0.2 | 2.0.2 | 1.0.6 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 3 | 0 | 4 |
| Crate Size | 8KB | 13KB | 17KB |
| Features | 0 | 3 | 5 |
| 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.
- •⚠ extension-trait, downcast-rs, derive-ctor have not been updated in over a year.