Decision Workspace
as_base vs dyn-slice vs dyn_std
Side-by-side comparison of Rust crates
43
as_base
growingv0.1.3
Cast trait objects to some base class
55
dyn-slice
stablev3.2.2
&[dyn Trait] implementation, inspired by a Reddit thread.
53
dyn_std
growingv0.3.3
Dynamic (object-safe) version of std traits.
Core Metrics
| as_base | dyn-slice | dyn_std | |
|---|---|---|---|
| Health Score | 43 | 55 | 53 |
| Total Downloads | 5.9K | 22.2K | 52.0K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 57 |
| Releases | 4 | 20 | 9 |
| Last Updated | 1135d ago | 160d ago | 820d ago |
| Age | 3y 1m | 3y 3m | 2y 3m |
Health Breakdown
as_base
Maintenance
10
Quality
15
Community
3
Popularity
5
Documentation
10
dyn-slice
Maintenance
12
Quality
22
Community
6
Popularity
5
Documentation
10
dyn_std
Maintenance
10
Quality
16
Community
8
Popularity
6
Documentation
13
Technical Details
| as_base | dyn-slice | dyn_std | |
|---|---|---|---|
| Version | 0.1.3 | 3.2.2 | 0.3.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 1 | 2 | 0 |
| Crate Size | 2KB | 19KB | 4KB |
| Features | 0 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •dyn-slice leads with a health score of 55/100, but none of the options score above 80.
- •dyn_std has the most downloads (52.0K), suggesting wider adoption.
- •⚠ as_base, dyn_std have not been updated in over a year.
- •as_base, dyn_std are pre-1.0 — API may change.