Skip to main content

hash_metadata

Function hash_metadata 

Source
fn hash_metadata(
    ws_root: &Path,
    trim_paths: bool,
    hasher: &mut StableHasher,
    unit: &Unit,
)
Expand description

Hash unique metadata per (name, source, version) triple.

This’ll allow us to pull crates from anywhere without worrying about conflicts.