Come https://github.com/DaGenix/rust-crypto dice, ho aggiunto questo al mio ruggine-lib progetto:Aggiornamento registro `https: // example.com /`
//Cargo.toml
[dependencies]
rust-crypto = "*"
//lib.rs
extern crate "rust-crypto" as rust_crypto;
E ottenuto questo:
$ 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
Non c'è " example.com "né il mio progetto, né il suo lib.
Per quanto riguarda le downvotes, ho trovato persone sono pronti a downvote su questioni Rust rispetto ai diciamo C#. – Gilles
:(Devo venire più tardi, poi, di solito li vedo nei lati positivi. –