Decision Workspace
kv-derive vs kv-derive-macro vs struct-patch-derive
Side-by-side comparison of Rust crates
51
kv-derive
growingv1.0.1
Derive struct conversions from and to key-value vectors
44
kv-derive-macro
growingv1.0.1
Macro definitions for `kv-derive`
65
struct-patch-derive
growingv0.14.4
A library that helps you implement partial updates for your structs.
Core Metrics
| kv-derive | kv-derive-macro | struct-patch-derive | |
|---|---|---|---|
| Health Score | 51 | 44 | 65 |
| Total Downloads | 24.3K | 19.3K | 1.1M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 24 | 10 | 55 |
| Releases | 17 | 12 | 55 |
| Last Updated | 1572d ago | 1572d ago | 9d ago |
| Age | 4y 4m | 4y 4m | 3y 8m |
Health Breakdown
kv-derive
Maintenance
6
Quality
21
Community
9
Popularity
5
Documentation
10
kv-derive-macro
Maintenance
4
Quality
19
Community
6
Popularity
5
Documentation
10
struct-patch-derive
Maintenance
18
Quality
18
Community
10
Popularity
7
Documentation
12
Technical Details
| kv-derive | kv-derive-macro | struct-patch-derive | |
|---|---|---|---|
| Version | 1.0.1 | 1.0.1 | 0.14.4 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 2 | 5 | 6 |
| Crate Size | 3KB | 3KB | 25KB |
| Features | 1 | 0 | 10 |
| 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 65/100, but none of the options score above 80.
- •⚠ kv-derive, kv-derive-macro have not been updated in over a year.
- •struct-patch-derive is pre-1.0 — API may change.