[Backport release-26.05] fetchCrate: download crates from static.crates.io (#525163)

This commit is contained in:
Toma 2026-06-13 11:35:44 +00:00 committed by GitHub
commit 5ae242631b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,7 @@
pname ? null,
# The `dl` field of the registry's index configuration
# https://doc.rust-lang.org/cargo/reference/registry-index.html#index-configuration
registryDl ? "https://crates.io/api/v1/crates",
registryDl ? "https://static.crates.io/crates",
version,
unpack ? true,
...