Skip to main content

split_canonical

Function split_canonical 

Source
pub fn split_canonical(name: &str) -> Option<(PackageId, &str)>
Expand description

Split a canonical dependency unit name into its package and the unit name the package itself declares. None for a project’s own or first-party unit.