Rust 更新注册表`https://example.com/`
如前所述,我在我的rust lib项目中添加了以下内容:Rust 更新注册表`https://example.com/`,rust,Rust,如前所述,我在我的rust lib项目中添加了以下内容: //Cargo.toml [dependencies] rust-crypto = "*" //lib.rs extern crate "rust-crypto" as rust_crypto; 得到这个: $ cargo build --verbose Updating registry `https://example.com/` Unable to update the package registry Caused
//Cargo.toml
[dependencies]
rust-crypto = "*"
//lib.rs
extern crate "rust-crypto" as rust_crypto;
得到这个:
$ cargo build --verbose
Updating registry `https://example.com/`
Unable to update the package registry
Caused by:
failed to fetch `https://example.com/`
Caused by:
[16] hostname does not match certificate
我的项目和他的库中都没有“example.com”。我不知道你为什么会被否决 当注册表设置为example.com时,您可能只有一个较旧的货物。你上次安装它是什么时候
另请参见:这个reddit线程关于否决票,我发现人们在生锈问题上的否决票比C#更快。(我必须稍后再来,然后,我通常认为他们是积极的。