Decision Workspace
corresponding vs borrow vs field_comparable_derive
Side-by-side comparison of Rust crates
47
corresponding
growingv0.1.8
Move corresponding fields between structs
51
borrow
growingv2.0.0
Zero-overhead, safe implementation of partial borrows. This crate allows you to borrow selected fields from a struct and split structs into non-overlapping sets of borrowed fields.
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
Core Metrics
| corresponding | borrow | field_comparable_derive | |
|---|---|---|---|
| Health Score | 47 | 51 | 46 |
| Total Downloads | 10.6K | 34.5K | 699 |
| 30d Downloads | 26 | 2.2K | 4 |
| Dependents | 4 | 2 | 0 |
| Releases | 8 | 9 | 2 |
| Last Updated | 1369d ago | 171d ago | 217d ago |
| Age | 3y 9m | 1y 4m | 7m |
Health Breakdown
corresponding
Maintenance
10
Quality
15
Community
7
Popularity
5
Documentation
10
borrow
Maintenance
11
Quality
21
Community
4
Popularity
5
Documentation
10
field_comparable_derive
Maintenance
8
Quality
14
Community
6
Popularity
3
Documentation
15
Technical Details
| corresponding | borrow | field_comparable_derive | |
|---|---|---|---|
| Version | 0.1.8 | 2.0.0 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 3 | 3 |
| Crate Size | 4KB | 20KB | 9KB |
| Features | 0 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.56 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •borrow leads with a health score of 51/100, but none of the options score above 80.
- •⚠ corresponding has not been updated in over a year.
- •corresponding, field_comparable_derive are pre-1.0 — API may change.