Decision Workspace
extension-trait vs downcast-rs vs extern-trait
Side-by-side comparison of Rust crates
57
extension-trait
growingv1.0.2
Macro to declare extension traits
65
downcast-rs
growingv2.0.2
Trait object downcasting support using only safe Rust. It supports type parameters, associated types, and type constraints.
55
extern-trait
experimentalv0.4.1
Opaque types for traits using static dispatch
Core Metrics
| extension-trait | downcast-rs | extern-trait | |
|---|---|---|---|
| Health Score | 57 | 65 | 55 |
| Total Downloads | 459.8K | 102.2M | 14.9K |
| 30d Downloads | 33.5K | 7.5M | 3.3K |
| Dependents | 354 | 4.4K | 23 |
| Releases | 11 | 15 | 6 |
| Last Updated | 1103d ago | 207d ago | 52d ago |
| Age | 8y 4m | 10y 3m | 11m |
Health Breakdown
extension-trait
Maintenance
5
Quality
20
Community
12
Popularity
7
Documentation
13
downcast-rs
Maintenance
8
Quality
23
Community
14
Popularity
8
Documentation
12
extern-trait
Maintenance
16
Quality
14
Community
10
Popularity
5
Documentation
10
Technical Details
| extension-trait | downcast-rs | extern-trait | |
|---|---|---|---|
| Version | 1.0.2 | 2.0.2 | 0.4.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 0 | 2 |
| Crate Size | 8KB | 13KB | 14KB |
| Features | 0 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 1.56 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •downcast-rs leads with a health score of 65/100, but none of the options score above 80.
- •downcast-rs is depended on by 4.4K crates — strongest ecosystem trust.
- •⚠ extension-trait has not been updated in over a year.
- •extern-trait is pre-1.0 — API may change.