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