mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
cargo.eclass: Revert "use static.crates.io cdn"
CloudFront is giving us 403 Forbidden errors.
Reverts: 89ebdf7e00
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -269,7 +269,7 @@ _cargo_set_crate_uris() {
|
||||
name="${BASH_REMATCH[1]}"
|
||||
version="${BASH_REMATCH[2]}"
|
||||
fi
|
||||
url="https://static.crates.io/api/v1/crates/${name}/${version}/download -> ${name}-${version}.crate"
|
||||
url="https://crates.io/api/v1/crates/${name}/${version}/download -> ${name}-${version}.crate"
|
||||
CARGO_CRATE_URIS+="${url} "
|
||||
|
||||
# when invoked by pkgbump, avoid fetching all the crates
|
||||
|
||||
Reference in New Issue
Block a user