Magic Config
hate to use these wubalubadubdub things.
cargo && rustup
官方源如果不行国内推荐使用字节源
rsproxy.cn 字节源支持了 sparse-index.
file ~/.zshrc
RUSTUP_DIST_SERVER="https://rsproxy.cn RUSTUP_UPDATE_ROOT="https://rsproxy.cn/rustup rustup update
file ~/.cargo/config
git
default replace https to ssh
file ~/.gitconfig
ssh
ssh use proxy
file ~/.ssh/config
for windows user: ProxyCommand connect -S 127.0.0.1:1080 %h %p