Decision Workspace
trait-map-derive vs trait-map vs downcast-rs
Side-by-side comparison of Rust crates
41
trait-map-derive
growingv0.1.2
Derive the TraitMapEntry trait for trait_map crate
43
trait-map
growingv0.3.1
Rust map for dynamic trait storage and references
65
downcast-rs
growingv2.0.2
Trait object downcasting support using only safe Rust. It supports type parameters, associated types, and type constraints.
Core Metrics
| trait-map-derive | trait-map | downcast-rs | |
|---|---|---|---|
| Health Score | 41 | 43 | 65 |
| Total Downloads | 4.2K | 6.0K | 102.2M |
| 30d Downloads | 21 | 7 | 7.2M |
| Dependents | 2 | 0 | 4.4K |
| Releases | 3 | 5 | 15 |
| Last Updated | 1134d ago | 1134d ago | 207d ago |
| Age | 3y 1m | 3y 1m | 10y 3m |
Health Breakdown
trait-map-derive
Maintenance
4
Quality
14
Community
6
Popularity
4
Documentation
13
trait-map
Maintenance
4
Quality
16
Community
5
Popularity
5
Documentation
13
downcast-rs
Maintenance
8
Quality
23
Community
14
Popularity
8
Documentation
12
Technical Details
| trait-map-derive | trait-map | downcast-rs | |
|---|---|---|---|
| Version | 0.1.2 | 0.3.1 | 2.0.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | GPL-3.0-or-later | GPL-3.0-or-later | MIT OR Apache-2.0 |
| Dependencies | 4 | 1 | 0 |
| Crate Size | 18KB | 20KB | 13KB |
| Features | 0 | 1 | 3 |
| 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 65/100, but none of the options score above 80.
- •downcast-rs is depended on by 4.4K crates — strongest ecosystem trust.
- •⚠ trait-map-derive, trait-map have not been updated in over a year.
- •trait-map-derive, trait-map are pre-1.0 — API may change.