File tree 2 files changed +7
-6
lines changed 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 12
12
{
13
13
customType : 'regex' ,
14
14
fileMatch : [
15
- '^ Cargo.toml$' ,
15
+ 'Cargo.toml$' ,
16
16
] ,
17
17
matchStrings : [
18
- 'rust-version.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)' ,
18
+ '\bMSRV:1\b.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)' ,
19
+ '(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?\bMSRV:1\b' ,
19
20
] ,
20
- depNameTemplate : 'latest-msrv' ,
21
+ depNameTemplate : 'MSRV:1' , // Support 1 version of rustc
21
22
packageNameTemplate : 'rust-lang/rust' ,
22
23
datasourceTemplate : 'github-releases' ,
23
24
} ,
24
25
] ,
25
26
packageRules : [
26
27
{
27
- commitMessageTopic : 'Latest MSRV' ,
28
+ commitMessageTopic : 'MSRV (1 version) ' ,
28
29
matchManagers : [
29
30
'regex' ,
30
31
] ,
31
32
matchPackageNames : [
32
- 'latest-msrv ' ,
33
+ 'MSRV:1 ' ,
33
34
] ,
34
35
"extractVersion" : "^(?<version>\\d+\\.\\d+)" , // Drop the patch version
35
36
schedule : [
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ exclude = [
11
11
]
12
12
13
13
[workspace .package ]
14
- rust-version = " 1.73"
14
+ rust-version = " 1.73" # MSRV:1
15
15
edition = " 2021"
16
16
license = " MIT OR Apache-2.0"
17
17
You can’t perform that action at this time.
0 commit comments