cargo::util::toml

Function to_dependency_source_id

Source
fn to_dependency_source_id<P: ResolveToPath + Clone>(
    orig: &TomlDetailedDependency<P>,
    name_in_toml: &str,
    manifest_ctx: &mut ManifestContext<'_, '_>,
) -> CargoResult<SourceId>