diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 00000000000..4edc99fdd10 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,4 @@ +# This matches what is configured in renovate, and the corporate policy at +# commit time. +[registry] +global-min-publish-age = "7 days" diff --git a/.github/renovate.json5 b/.github/renovate.json5 index e8f462318d2..48c55b81a3e 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -2,6 +2,11 @@ $schema: "https://docs.renovatebot.com/renovate-schema.json", extends: ["github>bitwarden/renovate-config"], // Extends our default configuration for pinned dependencies enabledManagers: ["cargo", "github-actions", "npm", "custom.regex"], + // Renovate's current default Rust (1.99) ignores + // registry.global-min-publish-age in .cargo/config.toml. Remove once + // Renovate installs Rust 1.100+ This should be in stable 2026-11-12, + // but double check before removing this line. + constraints: { rust: "nightly-2026-09-25" }, customManagers: [ { // Pinned binary cargo tools declared in [workspace.metadata.bin]. These are