View previous topic :: View next topic |
Author |
Message |
liulanghaitun n00b

Joined: 23 Dec 2022 Posts: 6
|
Posted: Wed Jan 17, 2024 9:39 am Post subject: how to change default rust crates mirrors |
|
|
Because access to crates.io is slow, I want to change the default crates mirror. but cargo.eclass default mirror is crates.io. how can I change the default mirror by hook.
for example i want to change default crates.io to https://mirrors.ustc.edu.cn/crates.io-index. |
|
Back to top |
|
 |
Zucca Moderator


Joined: 14 Jun 2007 Posts: 3961 Location: Rasi, Finland
|
Posted: Fri Jan 19, 2024 8:55 pm Post subject: |
|
|
Unfortunately, crates.io seems to be hardcoded in that eclass.
Please submit a bug. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
 |
|