【发布时间】:2021-08-06 07:28:27
【问题描述】:
我想在我的工作区使用 bat 和 lsd。
但是为了安全起见,我公司的 Centos 6 Linux 服务器已与 Internet 断开连接。
但我们可以安装一些有助于工作的东西。
> cargo install --locked bat
Updating crates.io index
warning: spurious network error (2 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)
warning: spurious network error (1 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)
error: failed to fetch `https://github.com/rust-lang/crates.io-index`
Caused by:
failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)
我该怎么做?
【问题讨论】:
标签: installation rust rust-cargo