Pop-Up Thingie

>>> Magnum BBS <<<
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. Usenet
  3. 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 <[email protected]>

    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 <[email protected]>
    Closes: https://github.com/gentoo/gentoo/pull/40944
    Signed-off-by: Arthur Zamarin <[email protected]>
    ---
    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

    • Krenn
      Sat Jun 6 11:38:56 2026
      from Sydney, Nsw via Telnet
    • Furryboy
      Sat Jun 6 10:56:29 2026
      from Romania, Galati via SSH
    • Centurion
      Fri Jun 5 22:28:01 2026
      from Berea, Ohio via Telnet
    • Ab Cadd
      Fri Jun 5 17:52:51 2026
      from Sheboygan, Wi via Telnet
    • Gwylbert
      Fri Jun 5 06:28:52 2026
      from Sydney, Nsw via Telnet
    • Centurion
      Thu Jun 4 23:42:23 2026
      from Berea, Ohio via Telnet
    • Michal Wronka
      Thu Jun 4 23:19:58 2026
      from Wroclaw, Poland via Telnet
    • Michal Wronka
      Thu Jun 4 23:17:20 2026
      from Wroclaw, Poland via SSH
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 715
    Nodes: 16 (3 / 13)
    Uptime: 142:35:31
    Calls: 12,089
    Calls today: 2
    Files: 14,998
    Messages: 6,517,452

© >>> Magnum BBS <<<, 2026