Decision Workspace
field_comparable_derive vs cmp vs struct-patch-derive
Side-by-side comparison of Rust crates
45
field_comparable_derive
growingv0.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
44
cmp
growingv1.0.0
Simple, convenience macros and function for comparing.
65
struct-patch-derive
growingv0.14.4
A library that helps you implement partial updates for your structs.
Core Metrics
| field_comparable_derive | cmp | struct-patch-derive | |
|---|---|---|---|
| Health Score | 45 | 44 | 65 |
| Total Downloads | 758 | 39.2K | 1.1M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 55 |
| Releases | 2 | 3 | 55 |
| Last Updated | 413d ago | 456d ago | 9d ago |
| Age | 1y 1m | 2y 4m | 3y 8m |
Health Breakdown
field_comparable_derive
Maintenance
6
Quality
15
Community
6
Popularity
3
Documentation
15
cmp
Maintenance
6
Quality
21
Community
5
Popularity
5
Documentation
7
struct-patch-derive
Maintenance
18
Quality
18
Community
10
Popularity
7
Documentation
12
Technical Details
| field_comparable_derive | cmp | struct-patch-derive | |
|---|---|---|---|
| Version | 0.1.1 | 1.0.0 | 0.14.4 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 3 | 2 | 6 |
| Crate Size | 9KB | 5KB | 25KB |
| Features | 0 | 2 | 10 |
| 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 65/100, but none of the options score above 80.
- •⚠ field_comparable_derive, cmp have not been updated in over a year.
- •field_comparable_derive, struct-patch-derive are pre-1.0 — API may change.