Decision Workspace
packed_struct vs serde_variant vs capnpack
Side-by-side comparison of Rust crates
65
packed_struct
growingv0.12.0
Binary-level structure packing and unpacking generator
55
serde_variant
growingv0.1.3
Retrieve serde provided variant names for enum objects.
50
capnpack
experimentalv1.0.4
CapnProto's packing algorithm for any binary data
Core Metrics
| packed_struct | serde_variant | capnpack | |
|---|---|---|---|
| Health Score | 65 | 55 | 50 |
| Total Downloads | 14.1M | 5.1M | 83 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 332 | 572 | 0 |
| Releases | 15 | 4 | 4 |
| Last Updated | 9d ago | 916d ago | 141d ago |
| Age | 8y 9m | 6y 8m | 4m |
Health Breakdown
packed_struct
Maintenance
15
Quality
18
Community
12
Popularity
8
Documentation
12
serde_variant
Maintenance
9
Quality
15
Community
14
Popularity
8
Documentation
9
capnpack
Maintenance
17
Quality
13
Community
5
Popularity
2
Documentation
13
Technical Details
| packed_struct | serde_variant | capnpack | |
|---|---|---|---|
| Version | 0.12.0 | 0.1.3 | 1.0.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | Apache-2.0 OR MIT | MIT |
| Dependencies | 3 | 2 | 0 |
| Crate Size | 25KB | 9KB | 6KB |
| Features | 6 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 25.0% |
| Edition | 2024 | 2018 | 2024 |
| MSRV | 1.85 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •packed_struct leads with a health score of 65/100, but none of the options score above 80.
- •serde_variant is depended on by 572 crates — strongest ecosystem trust.
- •⚠ serde_variant has not been updated in over a year.
- •packed_struct, serde_variant are pre-1.0 — API may change.