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