Decision Workspace
captur vs struct-patch-derive vs struct-patch
Side-by-side comparison of Rust crates
52
captur
growingv1.0.1
Macro to capture whole structs from disjoint fields in a closure.
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
| captur | struct-patch-derive | struct-patch | |
|---|---|---|---|
| Health Score | 52 | 63 | 63 |
| Total Downloads | 19.6K | 578.7K | 578.1K |
| 30d Downloads | 228 | 43.6K | 43.6K |
| Dependents | 10 | 38 | 112 |
| Releases | 3 | 38 | 38 |
| Last Updated | 614d ago | 2d ago | 2d ago |
| Age | 4y 9m | 3y 2m | 3y 2m |
Health Breakdown
captur
Maintenance
4
Quality
20
Community
8
Popularity
5
Documentation
15
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
| captur | struct-patch-derive | struct-patch | |
|---|---|---|---|
| Version | 1.0.1 | 0.10.5 | 0.10.5 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | ISC | MIT | MIT |
| Dependencies | 0 | 4 | 7 |
| Crate Size | 4KB | 12KB | 18KB |
| Features | 0 | 4 | 10 |
| Yanked % | 0.0% | 0.0% | 13.2% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.56.0 | 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.
- •⚠ captur has not been updated in over a year.
- •struct-patch-derive, struct-patch are pre-1.0 — API may change.