我正在尝试在Windows 10 x64上使用Rust 1.35.0构建具有来自不同板条箱的依赖关系的本地Rust项目。每当我尝试运行cargo build
或cargo run
时,都会出现以下错误消息。
error: failed to download from `https://crates.io/api/v1/crates/nom/5.0.0/download`Caused by: [35] SSL connect error (schannel: next InitializeSecurityContext failed: Unknown error (0x80092013) - The revocation function was unable to check revocation because the revocation server was offline.)
除了nom以外,我还尝试了其他几个板条箱,并得到与板条箱名称和版本完全相同的错误消息。仔细阅读后,我发现我禁用了防火墙,这是行不通的。
如何解决。