File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8686 ]
8787 }
8888 ],
89+ "customDatasources" : {
90+ "rust-stable-toml" : {
91+ "defaultRegistryUrlTemplate" : " https://static.rust-lang.org/dist/channel-rust-stable.toml" ,
92+ "format" : " plain" ,
93+ "transformTemplates" : [
94+ " pkg.rust.version" ,
95+ " $match($, /(\\ d+\\ .\\ d+\\ .\\ d+)/)[0].groups[0]" ,
96+ " { \" releases\" : [{ \" version\" : $ }] }"
97+ ]
98+ }
99+ },
89100 "customManagers" : [
90101 {
91102 "customType" : " regex" ,
99110 "fileFormat" : " toml" ,
100111 "fileMatch" : [" ^rust-toolchain\\ .toml$" ],
101112 "matchStrings" : [
102- " toolchain.{ 'depName': 'rust-lang/rust', ' currentValue': channel }"
113+ " toolchain.{ 'currentValue': channel }"
103114 ],
104- "datasourceTemplate" : " github-releases"
115+ "depNameTemplate" : " rust" ,
116+ "datasourceTemplate" : " custom.rust-stable-toml"
105117 }
106118 ]
107119}
You can’t perform that action at this time.
0 commit comments