[−][src]Function cargo_update::ops::get_index_url
pub fn get_index_url(crates_file: &Path) -> Cow<'static, str>
Get the URL to update index from the config file parallel to the specified crates file
Get source.crates-io.registry
or follow source.crates-io.replace-with
,
to source.$SRCNAME.registry
or follow source.$SRCNAME.replace-with
,
et caetera.
Defaults to https://github.com/rust-lang/crates.io-index
Consult #107 for details