Decision Workspace
struct-mapper vs struct-mapper-derive vs struct-patch-derive
Side-by-side comparison of Rust crates
45
struct-mapper
experimentalv0.2.0
Derive macro to auto-generate From<Source> for Target by mapping struct fields — zero boilerplate struct conversion
46
struct-mapper-derive
experimentalv0.2.0
Procedural macro implementation for struct-mapper — do not depend on this directly, use struct-mapper instead
65
struct-patch-derive
growingv0.14.4
A library that helps you implement partial updates for your structs.
Core Metrics
| struct-mapper | struct-mapper-derive | struct-patch-derive | |
|---|---|---|---|
| Health Score | 45 | 46 | 65 |
| Total Downloads | 87 | 141 | 1.1M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 2 | 55 |
| Releases | 2 | 2 | 55 |
| Last Updated | 141d ago | 141d ago | 9d ago |
| Age | 4m | 4m | 3y 8m |
Health Breakdown
struct-mapper
Maintenance
10
Quality
14
Community
6
Popularity
2
Documentation
13
struct-mapper-derive
Maintenance
10
Quality
14
Community
6
Popularity
3
Documentation
13
struct-patch-derive
Maintenance
18
Quality
18
Community
10
Popularity
7
Documentation
12
Technical Details
| struct-mapper | struct-mapper-derive | struct-patch-derive | |
|---|---|---|---|
| Version | 0.2.0 | 0.2.0 | 0.14.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 2 | 3 | 6 |
| Crate Size | 13KB | 9KB | 25KB |
| Features | 0 | 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.