Skip to content

build(renovate): maintain Cargo.lock transitive dependencies weekly - #64

Merged
pando85 merged 1 commit into
masterfrom
chore/renovate-cargo-lockfile-maintenance
Oct 13, 2026
Merged

pando85 merged 1 commit into
masterfrom
chore/renovate-cargo-lockfile-maintenance

Conversation

@pando85

@pando85 pando85 commented Oct 13, 2026

Copy link
Copy Markdown

Problem

Renovate already updates direct Rust crates from Cargo.toml, but full lockfile-only maintenance is disabled by default. As a result, transitive dependencies in Cargo.lock can lag even when direct crates are updated.

The current lockfile still pins older releases of openssl, rustls-webpki, time and h2, the same kind of gap identified in upstream Treetscom#52. Copying that lockfile would be unsafe because Forkline uses a different crate set.

Change

  • Enable Renovate's native weekly lockFileMaintenance for Cargo.lock on Mondays.
  • Keep it reviewable (automerge: false). Renovate generates the updates using Cargo and current Cargo.toml constraints; CI compiles and tests the resulting lockfile.

Expected behavior

Renovate will generate a separate lockfile maintenance PR after the config lands and its next matching run. This PR does not itself upgrade pinned dependencies or resolve outstanding advisories. Review the generated Cargo.lock diff and vulnerability report; dependencies blocked by Cargo.toml constraints need explicit dependency bumps.

Docs: https://docs.renovatebot.com/modules/manager/cargo/ and https://docs.renovatebot.com/configuration-options/#lockfilemaintenance

@pando85
pando85 merged commit de834e8 into master Oct 13, 2026
2 checks passed
@pando85
pando85 deleted the chore/renovate-cargo-lockfile-maintenance branch October 13, 2026 09:29
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