正如https://github.com/DaGenix/rust-crypto所说,我在我的锈蚀库项目中添加了以下内容:
//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“,也没有我的项目,也没有他的库。
发布于 2014-11-21 18:47:52
我不知道你为什么被否决了。
当注册表设置为example.com时,您可能只是有一个较旧的货物。你上次安装它是什么时候?
还请参阅:这个编辑线程httpsexamplecom/
https://stackoverflow.com/questions/27067749
复制相似问题