Decision Workspace
mpatch vs udiffx vs hunkpick
Side-by-side comparison of Rust crates
51
mpatch
stablev1.6.4
A smart, context-aware patch tool that applies diffs using fuzzy matching, ideal for AI-generated code.
55
udiffx
experimentalv0.3.1
Parse and apply LLM-optimized unified diff + XML file changes
52
hunkpick
experimentalv0.11.1
Non-interactive git add -p alternative — pick and split unified-diff hunks by index, range, or content id
Core Metrics
| mpatch | udiffx | hunkpick | |
|---|---|---|---|
| Health Score | 51 | 55 | 52 |
| Total Downloads | 222.1K | 2.4K | 382 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 12 | 32 | 0 |
| Releases | 25 | 68 | 17 |
| Last Updated | 129d ago | 39d ago | 7d ago |
| Age | 1y 3m | 9m | 3m |
Health Breakdown
mpatch
Maintenance
13
Quality
13
Community
9
Popularity
6
Documentation
10
udiffx
Maintenance
17
Quality
14
Community
10
Popularity
4
Documentation
10
hunkpick
Maintenance
20
Quality
11
Community
6
Popularity
3
Documentation
12
Technical Details
| mpatch | udiffx | hunkpick | |
|---|---|---|---|
| Version | 1.6.4 | 0.3.1 | 0.11.1 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 12 | 6 | 8 |
| Crate Size | 123KB | 86KB | 208KB |
| Features | 3 | 2 | 0 |
| Yanked % | 16.0% | 1.5% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •udiffx leads with a health score of 55/100, but none of the options score above 80.
- •mpatch has the most downloads (222.1K), suggesting wider adoption.
- •udiffx, hunkpick are pre-1.0 — API may change.