pub fn local_path_and_canonical_url_with_hash_kind(
url: &str,
cargo_home: Option<&Path>,
hash_kind: &HashKind,
) -> Result<(PathBuf, String), Error>Expand description
Like local_path_and_canonical_url but accepts HashKind for determining the crate index path.