Skip to content

fix: revert breaking dependency versions on main - #322

Merged
vsilent merged 1 commit into
mainfrom
fix/revert-breaking-deps
Nov 5, 2026
Merged

vsilent merged 1 commit into
mainfrom
fix/revert-breaking-deps

Conversation

@vsilent

@vsilent vsilent commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

Problem

Main build fails with hmac 0.13, deadpool-lapin 0.14, config 0.15, derive_builder 0.20, and dialoguer 0.12 - these have breaking API changes the code is not adapted to.

Fix

Revert to the versions dev compiles against:

  • hmac 0.13.0 -> 0.12.1 (Hmac::new_from_slice removed in 0.13)
  • deadpool-lapin 0.14.0 -> 0.12.1 (create_pool signature changed)
  • config 0.15.0 -> 0.13.4
  • derive_builder 0.20.0 -> 0.12.0
  • dialoguer 0.12 -> 0.11

russh still pulls hmac 0.13 transitively for its own use; the direct hmac 0.12 dependency keeps the code's imports on the old API.

Also allowlist Cargo.lock checksums in check-staged-secrets.sh (public crate hashes, not secrets).

Verified

SQLX_OFFLINE=true cargo check passes locally.

hmac 0.13, deadpool-lapin 0.14, config 0.15, derive_builder 0.20,
and dialoguer 0.12 have breaking API changes the code is not adapted
to. Revert to the versions dev compiles against:

- hmac 0.13.0 -> 0.12.1 (Hmac::new_from_slice removed in 0.13)
- deadpool-lapin 0.14.0 -> 0.12.1 (create_pool signature changed)
- config 0.15.0 -> 0.13.4
- derive_builder 0.20.0 -> 0.12.0
- dialoguer 0.12 -> 0.11

russh still pulls hmac 0.13 transitively for its own use; the direct
hmac 0.12 dependency keeps the code's imports on the old API.

Also allowlist Cargo.lock checksums in check-staged-secrets.sh.
@vsilent
vsilent merged commit eddf409 into main Nov 5, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants