Module cargo::ops::cargo_package

source ·

Structs

Enums

Constants

Functions

Builds list of files to archive.
build_lock 🔒
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) 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.
hash_all 🔒
run_verify 🔒
tar 🔒
Compresses and packages a list of ArchiveFiles and writes into the given file.