Decision Workspace
overlay_macro vs overlay vs struct-patch-derive
Side-by-side comparison of Rust crates
46
overlay_macro
growingv2.0.0
A proc-macro for implementing Overlay, to reinterpret a slice of bytes as a bit/byte packed struct
47
overlay
growingv1.0.1
An Overlay trait for reinterpreting a slice of bytes as an arbitrary type
63
struct-patch-derive
growingv0.10.5
A library that helps you implement partial updates for your structs.
Core Metrics
| overlay_macro | overlay | struct-patch-derive | |
|---|---|---|---|
| Health Score | 46 | 47 | 63 |
| Total Downloads | 7.2K | 3.1K | 578.7K |
| 30d Downloads | 48 | 64 | 45.0K |
| Dependents | 0 | 6 | 38 |
| Releases | 6 | 2 | 38 |
| Last Updated | 632d ago | 666d ago | 2d ago |
| Age | 1y 10m | 1y 10m | 3y 2m |
Health Breakdown
overlay_macro
Maintenance
6
Quality
19
Community
6
Popularity
5
Documentation
10
overlay
Maintenance
5
Quality
20
Community
8
Popularity
4
Documentation
10
struct-patch-derive
Maintenance
19
Quality
16
Community
9
Popularity
7
Documentation
12
Technical Details
| overlay_macro | overlay | struct-patch-derive | |
|---|---|---|---|
| Version | 2.0.0 | 1.0.1 | 0.10.5 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | GPL-3.0-or-later | GPL-3.0-or-later | MIT |
| Dependencies | 3 | 0 | 4 |
| Crate Size | 8KB | 1KB | 12KB |
| Features | 0 | 0 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.61.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •struct-patch-derive leads with a health score of 63/100, but none of the options score above 80.
- •⚠ overlay_macro, overlay have not been updated in over a year.
- •struct-patch-derive is pre-1.0 — API may change.