国内镜像源大全cargo中科大(2024-11-12)1 2 3 4 5 6 7 8 touch ~/.cargo/config cat <<EOF | tee ~/.cargo/config [source.crates-io] replace-with = 'ustc' [source.ustc] registry = "git://mirrors.ustc.edu.cn/crates.io-index" EOF