Decision Workspace
castbox vs trc vs downcast-rs
Side-by-side comparison of Rust crates
57
castbox
growingv0.2.0
Thread-safe Rust smart pointers with runtime downcasting, shared ownership, and synchronized interior mutability.
45
trc
growingv1.2.4
A faster Arc.
62
downcast-rs
growingv2.0.2
Trait object downcasting support using only safe Rust. It supports type parameters, associated types, and type constraints.
Core Metrics
| castbox | trc | downcast-rs | |
|---|---|---|---|
| Health Score | 57 | 45 | 62 |
| Total Downloads | 4.9K | 40.2K | 179.3M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 5.1K |
| Releases | 20 | 29 | 15 |
| Last Updated | today | 976d ago | 403d ago |
| Age | 1y 2m | 3y 4m | 10y 10m |
Health Breakdown
castbox
Maintenance
19
Quality
15
Community
6
Popularity
4
Documentation
13
trc
Maintenance
7
Quality
17
Community
6
Popularity
5
Documentation
10
downcast-rs
Maintenance
5
Quality
23
Community
14
Popularity
8
Documentation
12
Technical Details
| castbox | trc | downcast-rs | |
|---|---|---|---|
| Version | 0.2.0 | 1.2.4 | 2.0.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 1 | 3 | 0 |
| Crate Size | 33KB | 200KB | 13KB |
| Features | 0 | 3 | 3 |
| Yanked % | 0.0% | 17.2% | 0.0% |
| Edition | 2024 | 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.
- •⚠ trc, downcast-rs have not been updated in over a year.
- •castbox is pre-1.0 — API may change.