Like https://github.com/DaGenix/rust-crypto , I added this to my rust-lib project:
//Cargo.toml [dependencies] rust-crypto = "*" //lib.rs extern crate "rust-crypto" as rust_crypto;
And got the following:
$ 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
There is no "example.com" neither my project nor its lib.
source share