Function cargo::util::toml::dep_to_dependency
source · fn dep_to_dependency<P: ResolveToPath + Clone>(
orig: &TomlDependency<P>,
name: &str,
cx: &mut Context<'_, '_>,
kind: Option<DepKind>
) -> CargoResult<Dependency>