Decision Workspace
vec_box vs box-dyn vs trait_enum_macro
Side-by-side comparison of Rust crates
46
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 | 46 | 44 | 32 |
| Total Downloads | 54.3K | 5.1K | 1.8K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 31 | 0 | 0 |
| Releases | 1 | 4 | 1 |
| Last Updated | 3554d ago | 868d ago | 2786d ago |
| Age | 9y 8m | 2y 4m | 7y 7m |
Health Breakdown
vec_box
Maintenance
1
Quality
21
Community
7
Popularity
6
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 46/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.