Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
LINUX.GENTOO.DEV
[gentoo-dev] [PATCH 5/5] cargo.eclass: use static.crates.io cdn
From
Arthur Zamarin
@21:1/5 to
All
on Sat Mar 8 15:10:01 2025
From: swomf <
swomf@proton.me
>
Starting from 2024-03-12, cargo began to download crates directly from static.crates.io CDN servers worldwide. See
https://blog.rust-lang.org/2024/03/11/crates-io-download-changes.html
Signed-off-by: swomf <
swomf@proton.me
>
Closes:
https://github.com/gentoo/gentoo/pull/40944
Signed-off-by: Arthur Zamarin <
arthurzam@gentoo.org
>
---
eclass/cargo.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index dae2b93f24f..9edfff88aa2 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.eclass
@@ -269,7 +269,7 @@ _cargo_set_crate_uris() {
name="${BASH_REMATCH[1]}"
version="${BASH_REMATCH[2]}"
fi
- url="
https://crates.io/api/v1/crates/${name}/${version}/download
-> ${name}-${version}.crate"
+ url="
https://static.crates.io/api/v1/crates/${name}/${version}/download
-> ${name}-${version}.crate"
CARGO_CRATE_URIS+="${url} "
# when invoked by pkgbump, avoid fetching all the crates
--
2.48.1
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
Who's Online
Recent Visitors
Gwylbert
Mon May 12 05:32:08 2025
from
Sydney, Nsw
via
Telnet
Centurion
Mon May 12 05:18:30 2025
from
Berea, Ohio
via
Telnet
Foriest Jan Smith
Mon May 12 03:34:28 2025
from
Natchitoches, La
via
SSH
Plume
Mon May 12 02:17:08 2025
from
Uk
via
SSH
Centurion
Mon May 12 00:44:41 2025
from
Berea, Ohio
via
Telnet
Bob Smith
Mon May 12 00:15:43 2025
from
Here
via
Raw
Brianm
Sun May 11 22:42:59 2025
from
Glasgow
via
Raw
Foriest Jan Smith
Sun May 11 01:11:46 2025
from
Natchitoches, La
via
SSH
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
475
Nodes:
16 (
2
/
14
)
Uptime:
19:06:53
Calls:
9,487
Calls today:
6
Files:
13,617
Messages:
6,121,093