Function cargo_update::ops::registry_shortname [−][src]
pub fn registry_shortname(url: &str) -> String
Expand description
The short filesystem name for the repository, as used by cargo
Must be equivalent to https://github.com/rust-lang/cargo/blob/74f2b400d2be43da798f99f94957d359bc223988/src/cargo/sources/registry/mod.rs#L387-L402 and https://github.com/rust-lang/cargo/blob/74f2b400d2be43da798f99f94957d359bc223988/src/cargo/util/hex.rs
For main repository it’s github.com-1ecc6299db9ec823