Decision Workspace
derive-patch vs struct-patch-derive vs struct-patch
Side-by-side comparison of Rust crates
33
derive-patch
growingv0.0.1
Macro to generate a struct with all field Optional (`partial!`) and another macro to generate a patch (`patch!`).
63
struct-patch-derive
growingv0.10.5
A library that helps you implement partial updates for your structs.
63
struct-patch
growingv0.10.5
A library that helps you implement partial updates for your structs.
Core Metrics
| derive-patch | struct-patch-derive | struct-patch | |
|---|---|---|---|
| Health Score | 33 | 63 | 63 |
| Total Downloads | 1.7K | 578.7K | 578.1K |
| 30d Downloads | 3 | 43.6K | 43.6K |
| Dependents | 0 | 38 | 112 |
| Releases | 1 | 38 | 38 |
| Last Updated | 2176d ago | 2d ago | 2d ago |
| Age | 5y 11m | 3y 2m | 3y 2m |
Health Breakdown
derive-patch
Maintenance
1
Quality
15
Community
6
Popularity
4
Documentation
7
struct-patch-derive
Maintenance
19
Quality
16
Community
9
Popularity
7
Documentation
12
struct-patch
Maintenance
19
Quality
14
Community
11
Popularity
7
Documentation
12
Technical Details
| derive-patch | struct-patch-derive | struct-patch | |
|---|---|---|---|
| Version | 0.0.1 | 0.10.5 | 0.10.5 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | non-standard | MIT | MIT |
| Dependencies | 2 | 4 | 7 |
| Crate Size | 3KB | 12KB | 18KB |
| Features | 0 | 4 | 10 |
| Yanked % | 0.0% | 0.0% | 13.2% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.61.0 | 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.
- •struct-patch is depended on by 112 crates — strongest ecosystem trust.
- •⚠ derive-patch has not been updated in over a year.