summaryrefslogtreecommitdiffstats
path: root/src/tools/cargo/.github/renovate.json5
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/cargo/.github/renovate.json5')
-rw-r--r--src/tools/cargo/.github/renovate.json527
1 files changed, 27 insertions, 0 deletions
diff --git a/src/tools/cargo/.github/renovate.json5 b/src/tools/cargo/.github/renovate.json5
index 8ad9952d2..b633fc245 100644
--- a/src/tools/cargo/.github/renovate.json5
+++ b/src/tools/cargo/.github/renovate.json5
@@ -8,7 +8,34 @@
ignorePaths: [
"**/tests/**",
],
+ customManagers: [
+ {
+ customType: 'regex',
+ fileMatch: [
+ '^Cargo.toml$',
+ ],
+ matchStrings: [
+ 'rust-version.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
+ ],
+ depNameTemplate: 'latest-msrv',
+ packageNameTemplate: 'rust-lang/rust',
+ datasourceTemplate: 'github-releases',
+ },
+ ],
packageRules: [
+ {
+ commitMessageTopic: 'Latest MSRV',
+ matchManagers: [
+ 'regex',
+ ],
+ matchPackageNames: [
+ 'latest-msrv',
+ ],
+ "extractVersion": "^(?<version>\\d+\\.\\d+)", // Drop the patch version
+ schedule: [
+ '* * * * *',
+ ],
+ },
// Goals:
// - Rollup safe upgrades to reduce CI runner load
// - Have lockfile and manifest in-sync (implicit rules)