Commit a803a10
authored
fix(deps): update cargo minor/patch updates (#1595)
Bumps the Cargo minor/patch updates from #1593 and fixes the code break the version-only bump left behind:
| Package | Update |
|---|---|
| chrono | `0.4.44` → `0.4.45` (patch) |
| prost | `0.14.3` → `0.14.4` (patch) |
| sha2 | `0.10` → `0.11` (minor) |
## Why a new PR
#1593 (Renovate) bumped only the manifest/lockfile. `sha2` 0.11 pulls in `digest` 0.11, whose `finalize()` now returns a `hybrid_array::Array` that no longer implements `LowerHex` — so the `format!("{:x}", …)` digest formatting in `self_update` no longer compiles, and every CI job on #1593 fails.
This PR adds a small `hex_encode` helper over the digest bytes and uses it at all four call sites, so the bump actually builds and passes.
## Verification
- `cargo build -p mergify-cli` ✅
- `cargo test -p mergify-cli` (self_update tests) ✅
- `cargo clippy --all-targets --workspace -- -D warnings` ✅
- `cargo fmt --check` ✅
Closes #1593.
🤖 Generated with [Claude Code](https://claude.com/claude-code)1 parent 06f90e3 commit a803a10
3 files changed
Lines changed: 51 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
206 | 218 | | |
207 | 219 | | |
208 | 220 | | |
| |||
237 | 249 | | |
238 | 250 | | |
239 | 251 | | |
240 | | - | |
| 252 | + | |
241 | 253 | | |
242 | 254 | | |
243 | 255 | | |
| |||
351 | 363 | | |
352 | 364 | | |
353 | 365 | | |
354 | | - | |
| 366 | + | |
355 | 367 | | |
356 | 368 | | |
357 | 369 | | |
| |||
385 | 397 | | |
386 | 398 | | |
387 | 399 | | |
388 | | - | |
| 400 | + | |
389 | 401 | | |
390 | 402 | | |
391 | 403 | | |
| |||
404 | 416 | | |
405 | 417 | | |
406 | 418 | | |
407 | | - | |
| 419 | + | |
408 | 420 | | |
409 | 421 | | |
410 | 422 | | |
| |||
0 commit comments