在.cargo目录下新建config文件
[http] proxy = "socks5://127.0.0.1:1080" [https] proxy = "socks5://127.0.0.1:1080"