Decision Workspace
intertrait-nostd vs downcast-rs vs cast_trait_object
Side-by-side comparison of Rust crates
40
intertrait-nostd
experimentalv0.2.4
The intertrait crate, with no_std support.
62
downcast-rs
growingv2.0.2
Trait object downcasting support using only safe Rust. It supports type parameters, associated types, and type constraints.
48
cast_trait_object
growingv0.1.4
Cast between trait objects using only safe Rust.
Core Metrics
| intertrait-nostd | downcast-rs | cast_trait_object | |
|---|---|---|---|
| Health Score | 40 | 62 | 48 |
| Total Downloads | 110 | 179.3M | 18.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 5.1K | 35 |
| Releases | 2 | 15 | 5 |
| Last Updated | 153d ago | 403d ago | 668d ago |
| Age | 5m | 10y 10m | 6y 1m |
Health Breakdown
intertrait-nostd
Maintenance
10
Quality
13
Community
6
Popularity
2
Documentation
9
downcast-rs
Maintenance
5
Quality
23
Community
14
Popularity
8
Documentation
12
cast_trait_object
Maintenance
3
Quality
18
Community
10
Popularity
5
Documentation
12
Technical Details
| intertrait-nostd | downcast-rs | cast_trait_object | |
|---|---|---|---|
| Version | 0.2.4 | 2.0.2 | 0.1.4 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 6 | 0 | 1 |
| Crate Size | 12KB | 13KB | 19KB |
| Features | 0 | 3 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2018 |
| 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, cast_trait_object have not been updated in over a year.
- •intertrait-nostd, cast_trait_object are pre-1.0 — API may change.