Skip to main content

crate_hash

Function crate_hash 

Source
pub fn crate_hash(unique_crate_identifier: &str) -> &str
Expand description

Extract the crate hash from a unique_crate_identifier, which is encoded as "{crate_name}-{hash}" (the hash contains no -).