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>`
49
smallbox
growingv0.8.8
`Small Box` optimization: store small item on stack and fallback to heap for large item.
48
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 | 49 | 48 |
| Total Downloads | 6.5K | 1.2M | 13.5K |
| 30d Downloads | 0 | 34.7K | 0 |
| Dependents | 0 | 209 | 9 |
| Releases | 5 | 26 | 6 |
| Last Updated | 1227d ago | 376d ago | 632d ago |
| Age | 3y 4m | 9y 1m | 3y 6m |
Health Breakdown
dyn-ptr
Maintenance
8
Quality
17
Community
6
Popularity
5
Documentation
10
smallbox
Maintenance
5
Quality
11
Community
11
Popularity
7
Documentation
15
arraybox
Maintenance
5
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 49/100, but none of the options score above 80.
- •smallbox is depended on by 209 crates — strongest ecosystem trust.
- •⚠ dyn-ptr, smallbox, arraybox have not been updated in over a year.