Rust Crates 源使用帮助

Rust Crates 源使用帮助 — USTC Mirror Help 文档

Windows 用户在使用 crates 源时可能会出现 next InitializeSecurityContext failed: Unknown error 错误(见 https://github.com/ustclug/discussions/issues/339 和 https://github.com/rust-lang/cargo/issues/7096)。一个 workaround 是在运行 cargo 的时候加入环境变量 CARGO_HTTP_CHECK_REVOKE=false,或者在配置中增加:

[http]
check-revoke = false
posted @ 2020-12-25 16:29  黄彬子  阅读(184)  评论(0编辑  收藏  举报