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:
Michał Górny
2025-03-08 17:57:24 +01:00
parent a2e60106db
commit 33cf31d11d

View File

@@ -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