fn resolve_dependency(
    manifest: &LocalManifest,
    arg: &DepOp,
    ws: &Workspace<'_>,
    spec: &Package,
    section: &DepTable,
    honor_rust_version: bool,
    config: &Config,
    registry: &mut PackageRegistry<'_>
) -> CargoResult<DependencyUI>