Decision Workspace
field_comparable_derive vs cmp vs struct-patch-derive
Side-by-side comparison of Rust crates
46
field_comparable_derive
experimentalv0.1.1
Procedural macro to generate struct field comparison methods / Macro procédurale pour générer des méthodes de comparaison de champs de structures
45
cmp
growingv1.0.0
Simple, convenience macros and function for comparing.
63
struct-patch-derive
growingv0.10.5
A library that helps you implement partial updates for your structs.
Core Metrics
| field_comparable_derive | cmp | struct-patch-derive | |
|---|---|---|---|
| Health Score | 46 | 45 | 63 |
| Total Downloads | 699 | 37.6K | 578.7K |
| 30d Downloads | 4 | 205 | 43.6K |
| Dependents | 0 | 0 | 38 |
| Releases | 2 | 3 | 38 |
| Last Updated | 217d ago | 260d ago | 2d ago |
| Age | 7m | 1y 9m | 3y 2m |
Health Breakdown
field_comparable_derive
Maintenance
8
Quality
14
Community
6
Popularity
3
Documentation
15
cmp
Maintenance
8
Quality
20
Community
5
Popularity
5
Documentation
7
struct-patch-derive
Maintenance
19
Quality
16
Community
9
Popularity
7
Documentation
12
Technical Details
| field_comparable_derive | cmp | struct-patch-derive | |
|---|---|---|---|
| Version | 0.1.1 | 1.0.0 | 0.10.5 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 3 | 2 | 4 |
| Crate Size | 9KB | 5KB | 12KB |
| Features | 0 | 2 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.56 | — | 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.
- •field_comparable_derive, struct-patch-derive are pre-1.0 — API may change.