Function cargo::util::toml::detailed_dep_to_dependency

source ·
fn detailed_dep_to_dependency<P: ResolveToPath + Clone>(
    orig: &TomlDetailedDependency<P>,
    name_in_toml: &str,
    manifest_ctx: &mut ManifestContext<'_, '_>,
    kind: Option<DepKind>
) -> CargoResult<Dependency>