Builds list of files to archive.
Construct Cargo.lock
for the package to be published.
Checks if the package source is in a git DVCS repository. If git, and
the source is dirty (e.g., has uncommitted changes), and --allow-dirty
has not been passed, then bail!
with an informative message. Otherwise
return the sha1 hash of the current HEAD commit, or None
if no repo is
found.
Generate warnings when packaging Cargo.lock, and the resolve have changed.
Determine which registry the packages are for.
Build just the part of the dependency graph thatβs between the given packages,
ignoring dev dependencies.
Packages an entire workspace.
Packages an entire workspace.
Performs pre-archiving checks and builds a list of files to archive.
Compresses and packages a list of
ArchiveFile
s and writes into the given file.