cargo::ops::cargo_package

Function prepare_archive

Source
fn prepare_archive(
    ws: &Workspace<'_>,
    pkg: &Package,
    opts: &PackageOpts<'_>,
) -> CargoResult<Vec<ArchiveFile>>
Expand description

Performs pre-archiving checks and builds a list of files to archive.