Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 415 Bytes

2020.06.02.md

File metadata and controls

24 lines (18 loc) · 415 Bytes

更改源

docker

sudo vim /etc/docker/daemon.json

{"registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"]}

λRust.Config

Rust

cat ~/.cargo/config
[source.crates-io]
registry = "https://github.com/rust-lang/crates.io-index"
# 指定镜像
replace-with = 'tuna'

# 清华大学
[source.tuna]
registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git"