Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922544 - how to change default rust crates mirrors(cargo.eclass)
Summary: how to change default rust crates mirrors(cargo.eclass)
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-20 15:14 UTC by renwei
Modified: 2024-02-11 06:01 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description renwei 2024-01-20 15:14:32 UTC
crates.io seems to be hardcoded in cargo.eclass

Reproducible: Always

Steps to Reproduce:
1.open cargo.eclass
2.crates.io is hardcoded in cargo.eclass
3.
Actual Results:  
crates.io seems to be hardcoded in cargo.eclass

Expected Results:  
I want to change the default crates mirror
for example i want to change default crates.io to https://mirrors.ustc.edu.cn/crates.io-index.

url="https://crates.io/api/v1/crates/${name}/${version}/download -> ${name}-${version}.crate"

hardcode in cargo.eclass.