pub(crate) fn package_with_dep_graph(
    ws: &Workspace<'_>,
    opts: &PackageOpts<'_>,
    pkgs: Vec<(&Package, CliFeatures)>,
) -> CargoResult<LocalDependencies<(CliFeatures, FileLock)>>Expand description
Packages an entire workspace.
Returns the generated package files and the dependencies between them. If
opts.list is true, skips generating package files and returns an empty
list.