Skip to main content

derive_package_id

Function derive_package_id 

Source
pub fn derive_package_id(source: &PackageSource) -> String
Expand description

Derives a fallback package id from the source when the manifest does not declare one (npm name tail, git repo name, or directory name).