Decision Workspace
vec_box vs box-dyn vs trait_enum_macro
Side-by-side comparison of Rust crates
45
vec_box
growingv1.0.0
A single macro to create a vec of boxed elements, for trait objects
44
box-dyn
growingv0.0.8
Macro to derive the implementation of Trait for Box<T: Trait>
32
trait_enum_macro
growingv0.1.0
A macro that allows creating an enum that acts similar to a trait object, but without using the heap.
Core Metrics
| vec_box | box-dyn | trait_enum_macro | |
|---|---|---|---|
| Health Score | 45 | 44 | 32 |
| Total Downloads | 28.0K | 5.0K | 1.8K |
| 30d Downloads | 1.0K | 6 | 3 |
| Dependents | 30 | 0 | 0 |
| Releases | 1 | 4 | 1 |
| Last Updated | 3358d ago | 672d ago | 2590d ago |
| Age | 9y 2m | 1y 10m | 7y 1m |
Health Breakdown
vec_box
Maintenance
1
Quality
21
Community
7
Popularity
5
Documentation
11
box-dyn
Maintenance
10
Quality
14
Community
5
Popularity
4
Documentation
11
trait_enum_macro
Maintenance
1
Quality
16
Community
3
Popularity
4
Documentation
8
Technical Details
| vec_box | box-dyn | trait_enum_macro | |
|---|---|---|---|
| Version | 1.0.0 | 0.0.8 | 0.1.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | ISC/MIT/Apache-2.0 | non-standard | GPL-3.0+ |
| Dependencies | 0 | 4 | 0 |
| Crate Size | 1KB | 4KB | 13KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2021 | — |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •vec_box leads with a health score of 45/100, but none of the options score above 80.
- •⚠ vec_box, box-dyn, trait_enum_macro have not been updated in over a year.
- •box-dyn, trait_enum_macro are pre-1.0 — API may change.