2022-12-01 17:23:46 +00:00
|
|
|
{
|
2022-12-05 15:36:14 +00:00
|
|
|
"schedule": [
|
|
|
|
"before 3am on the first day of the month"
|
|
|
|
],
|
2022-12-01 17:23:46 +00:00
|
|
|
"semanticCommits": "enabled",
|
|
|
|
"configMigration": true,
|
2023-03-29 19:33:22 +00:00
|
|
|
"dependencyDashboard": true,
|
|
|
|
"regexManagers": [
|
|
|
|
{
|
|
|
|
"fileMatch": [
|
|
|
|
"^rust-toolchain\\.toml$",
|
|
|
|
"Cargo.toml$",
|
|
|
|
"clippy.toml$",
|
|
|
|
"\.clippy.toml$",
|
|
|
|
"^\.github/workflows/ci.yml$",
|
|
|
|
"^\.github/workflows/rust-next.yml$",
|
|
|
|
],
|
|
|
|
"matchStrings": [
|
|
|
|
"MSRV.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)",
|
|
|
|
"(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?MSRV",
|
|
|
|
],
|
|
|
|
"depNameTemplate": "rust",
|
|
|
|
"packageNameTemplate": "rust-lang/rust",
|
|
|
|
"datasourceTemplate": "github-releases",
|
|
|
|
}
|
|
|
|
],
|
2022-12-01 17:23:46 +00:00
|
|
|
"packageRules": [
|
2023-03-29 19:33:22 +00:00
|
|
|
{
|
|
|
|
"commitMessageTopic": "MSRV",
|
|
|
|
"matchManagers": ["regex"],
|
|
|
|
"matchPackageNames": ["rust"],
|
2023-03-30 06:22:54 +00:00
|
|
|
"stabilityDays": 252, // 6 releases * 6 weeks per release * 7 days per week
|
2023-03-29 19:33:22 +00:00
|
|
|
},
|
2022-12-01 17:23:46 +00:00
|
|
|
// Goals:
|
|
|
|
// - Keep version reqs low, ignoring compatible normal/build dependencies
|
|
|
|
// - Take advantage of latest dev-dependencies
|
|
|
|
// - Rollup safe upgrades to reduce CI runner load
|
2022-12-01 21:29:31 +00:00
|
|
|
// - Help keep number of versions down by always using latest breaking change
|
2022-12-01 17:23:46 +00:00
|
|
|
// - Have lockfile and manifest in-sync
|
|
|
|
{
|
|
|
|
"matchManagers": ["cargo"],
|
2022-12-01 21:29:31 +00:00
|
|
|
"matchDepTypes": ["build-dependencies", "dependencies"],
|
|
|
|
"matchCurrentVersion": ">=0.1.0",
|
2022-12-01 17:23:46 +00:00
|
|
|
"matchUpdateTypes": ["patch"],
|
2022-12-01 21:29:31 +00:00
|
|
|
"enabled": false,
|
2022-12-01 17:23:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"matchManagers": ["cargo"],
|
2022-12-01 21:29:31 +00:00
|
|
|
"matchDepTypes": ["build-dependencies", "dependencies"],
|
|
|
|
"matchCurrentVersion": ">=1.0.0",
|
2022-12-01 17:23:46 +00:00
|
|
|
"matchUpdateTypes": ["minor"],
|
|
|
|
"enabled": false,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matchManagers": ["cargo"],
|
2022-12-01 21:29:31 +00:00
|
|
|
"matchDepTypes": ["dev-dependencies"],
|
|
|
|
"matchCurrentVersion": ">=0.1.0",
|
2022-12-01 17:23:46 +00:00
|
|
|
"matchUpdateTypes": ["patch"],
|
2022-12-01 21:29:31 +00:00
|
|
|
"automerge": true,
|
2022-12-05 15:36:14 +00:00
|
|
|
"groupName": "compatible (dev)",
|
2022-12-01 21:29:31 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"matchManagers": ["cargo"],
|
|
|
|
"matchDepTypes": ["dev-dependencies"],
|
|
|
|
"matchCurrentVersion": ">=1.0.0",
|
|
|
|
"matchUpdateTypes": ["minor"],
|
|
|
|
"automerge": true,
|
2022-12-05 15:36:14 +00:00
|
|
|
"groupName": "compatible (dev)",
|
2022-12-01 17:23:46 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|