Skip to content

chore(desktop/Backend-Rust): bump 4 vulnerable crates in Cargo.lock (#7327)#7366

Open
mdmohsin7 wants to merge 1 commit into
mainfrom
rex/desktop-rust-deps
Open

chore(desktop/Backend-Rust): bump 4 vulnerable crates in Cargo.lock (#7327)#7366
mdmohsin7 wants to merge 1 commit into
mainfrom
rex/desktop-rust-deps

Conversation

@mdmohsin7
Copy link
Copy Markdown
Member

Part of #7327 — desktop Tier-1 (Backend-Rust). Branched from fresh main; single commit, Cargo.lock-only.

Changes — semver-compatible lock bumps (Cargo.toml unchanged)

crate from → to
openssl 0.10.75 → 0.10.79 (+ openssl-sys 0.9.111 → 0.9.116)
time 0.3.36 → 0.3.47
bytes 1.11.0 → 1.11.1
rand 0.8.5 → 0.8.6 (the separate rand@0.9.2 left as-is)

Residual (flagged, not force-applied)

jsonwebtoken — advisory fix is 10.3.0, but Cargo.toml pins jsonwebtoken = "9"; 9 → 10 is a breaking major (API change + manifest edit + code migration). Needs a separate deliberate migration.

Validation

cargo verify-project → success; cargo metadata --locked resolves the full 291-crate graph consistently against the new lock (no conflicts; bumps satisfy all Cargo.toml constraints). Full cargo check/build is blocked in the CI sandbox — openssl-sys requires system pkg-config/libssl-dev (environmental; identical on unmodified main, unrelated to these bumps). Final compile validation rides on the desktop CI/build pipeline, which a lock-only bump does not alter.

🤖 Generated with Claude Code

…7327)

Lock-only, semver-compatible (Cargo.toml unchanged):
- openssl   0.10.75 -> 0.10.79  (+ openssl-sys 0.9.111 -> 0.9.116)
- time      0.3.36  -> 0.3.47
- bytes     1.11.0  -> 1.11.1
- rand      0.8.5   -> 0.8.6     (rand@0.9.2 left as-is — different dep)

RESIDUAL (flagged, not force-applied): jsonwebtoken — fix is 10.3.0,
but Cargo.toml pins `jsonwebtoken = "9"`; 9 -> 10 is a breaking major
(API change + Cargo.toml edit + code migration). Needs a separate
deliberate migration.

Validation: `cargo verify-project` -> success; `cargo metadata
--locked` resolves the full 291-crate graph consistently against the
new lock (no conflicts; bumps satisfy all Cargo.toml constraints).
Full `cargo check`/build can't run in the sandbox — `openssl-sys`
needs system `pkg-config`/libssl-dev (environmental; identical on
unmodified main, unrelated to these version bumps). Final compile
validation rides on the desktop CI/build pipeline, which a lock-only
bump does not alter.
@mdmohsin7 mdmohsin7 marked this pull request as ready for review May 18, 2026 16:05
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.

1 participant