Function cargo::util::toml::dep_to_dependency

source ยท
fn dep_to_dependency<P: ResolveToPath + Clone>(
    orig: &TomlDependency<P>,
    name: &str,
    manifest_ctx: &mut ManifestContext<'_, '_>,
    kind: Option<DepKind>,
) -> CargoResult<Dependency>