Decision Workspace
pi_any vs downcast-rs vs better_any
Side-by-side comparison of Rust crates
43
pi_any
growingv0.1.1
attempt to downcast the triat object to a concrete type
65
downcast-rs
growingv2.0.2
Trait object downcasting support using only safe Rust. It supports type parameters, associated types, and type constraints.
53
better_any
growingv0.2.1
Type id and Any for non static types
Core Metrics
| pi_any | downcast-rs | better_any | |
|---|---|---|---|
| Health Score | 43 | 65 | 53 |
| Total Downloads | 5.9K | 102.2M | 12.5M |
| 30d Downloads | 105 | 7.5M | 245.7K |
| Dependents | 6 | 4.4K | 99 |
| Releases | 2 | 15 | 5 |
| Last Updated | 1487d ago | 207d ago | 105d ago |
| Age | 4y | 10y 3m | 5y 5m |
Health Breakdown
pi_any
Maintenance
3
Quality
16
Community
10
Popularity
4
Documentation
10
downcast-rs
Maintenance
8
Quality
23
Community
14
Popularity
8
Documentation
12
better_any
Maintenance
11
Quality
17
Community
8
Popularity
8
Documentation
9
Technical Details
| pi_any | downcast-rs | better_any | |
|---|---|---|---|
| Version | 0.1.1 | 2.0.2 | 0.2.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 0 | 3 |
| Crate Size | 5KB | 13KB | 14KB |
| Features | 0 | 3 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | 1.56 | — |
| Owners | 2 (team) | 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.
- •⚠ pi_any has not been updated in over a year.
- •pi_any, better_any are pre-1.0 — API may change.