Skip to content

Commit 57c4a5f

Browse files
committed
Configure Renovate for Rust dependencies
1 parent 9a8067e commit 57c4a5f

1 file changed

Lines changed: 29 additions & 1 deletion

File tree

renovate.json

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,34 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
4-
"config:recommended"
4+
"config:recommended",
5+
"group:allNonMajor",
6+
"schedule:weekly"
7+
],
8+
"prConcurrentLimit": 5,
9+
"prHourlyLimit": 2,
10+
"minimumReleaseAge": "7 days",
11+
"osvVulnerabilityAlerts": true,
12+
"packageRules": [
13+
{
14+
"matchManagers": ["cargo"],
15+
"versioning": "cargo"
16+
},
17+
{
18+
"matchManagers": ["cargo"],
19+
"matchCurrentVersion": "/^0\\.[0-9]/",
20+
"matchUpdateTypes": ["minor"],
21+
"groupName": "cargo pre-1.0 breaking updates",
22+
"prBodyNotes": [
23+
"**Cargo breaking update (pre-v1.0)** — `0.x` → `0.y` is a breaking change in Cargo's semver. Before merging, verify the workspace compiles and check upstream release notes for removed features or API changes."
24+
]
25+
},
26+
{
27+
"matchManagers": ["cargo"],
28+
"matchUpdateTypes": ["major"],
29+
"prBodyNotes": [
30+
"**Cargo major update** — Before merging, verify the workspace compiles and check upstream release notes for removed features or API changes."
31+
]
32+
}
533
]
634
}

0 commit comments

Comments
 (0)