2 # if you need to download other versions replace the URL below with this one:
3 # https://static.rust-lang.org/dist/index.html
4 # it's a bit slower to download, that's why we use the other one normally
7 pgpsigurlmangle=s/$/.asc/,\
8 uversionmangle=s/(\d)[_.+-]?((beta|alpha)\.?\d*)$/$1~$2/,\
9 dversionmangle=s/\+dfsg\d*$//,\
10 downloadurlmangle=s/\.[gx]z/.xz/,\
11 filenamemangle=s/.*\/(.*)\.[gx]z(\..*)?/$1.xz$2/,\
16 https://forge.rust-lang.org/other-installation-methods.html \
17 (?:.*/)rustc?-(\d[\d.]*(?:-[\w.]+)?)-src\.tar\.[gx]z