pub fn build( dep: &Dep, src: &Source, root: &Path, up: Option<&(PathBuf, Manifest)>, ) -> PackageIndex