Decision Workspace
dyn-ptr vs smallbox vs arraybox
Side-by-side comparison of Rust crates
46
dyn-ptr
growingv0.2.3
A box that stores types like pointers, forgetting everything besides `Self: Unsize<dyn Trait>`
51
smallbox
growingv0.8.8
`Small Box` optimization: store small item on stack and fallback to heap for large item.
49
arraybox
growingv0.1.4
A box with fixed capacity, backed by a byte array (it can be stored on the stack too). Implements fixed capacity `ArrayBox`.
Core Metrics
| dyn-ptr | smallbox | arraybox | |
|---|---|---|---|
| Health Score | 46 | 51 | 49 |
| Total Downloads | 6.5K | 978.7K | 13.2K |
| 30d Downloads | 8 | 72.6K | 89 |
| Dependents | 0 | 129 | 9 |
| Releases | 5 | 26 | 6 |
| Last Updated | 1119d ago | 268d ago | 524d ago |
| Age | 3y | 8y 10m | 3y 2m |
Health Breakdown
dyn-ptr
Maintenance
8
Quality
17
Community
6
Popularity
5
Documentation
10
smallbox
Maintenance
7
Quality
11
Community
11
Popularity
7
Documentation
15
arraybox
Maintenance
6
Quality
16
Community
9
Popularity
5
Documentation
13
Technical Details
| dyn-ptr | smallbox | arraybox | |
|---|---|---|---|
| Version | 0.2.3 | 0.8.8 | 0.1.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 1 | 2 | 0 |
| Crate Size | 6KB | 16KB | 3KB |
| Features | 2 | 4 | 0 |
| Yanked % | 0.0% | 34.6% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.80 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •smallbox leads with a health score of 51/100, but none of the options score above 80.
- •smallbox is depended on by 129 crates — strongest ecosystem trust.
- •⚠ dyn-ptr, arraybox have not been updated in over a year.