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>