Module cargo::ops::cargo_package
source ยท Structsยง
- ArchiveFile ๐
- GitVcsInfo ๐
- VcsInfo ๐
Enumsยง
- FileContents ๐
- GeneratedFile ๐
Constantsยง
- VCS_INFO_FILE ๐
Functionsยง
- build_ar_list ๐Builds list of files to archive.
- build_lock ๐Construct
Cargo.lock
for the package to be published. - check_filename ๐
- check_metadata ๐
- check_repo_state ๐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, orNone
if no repo is found. - compare_resolve ๐Generate warnings when packaging Cargo.lock, and the resolve have changed.
- hash_all ๐
- run_verify ๐
- tar ๐Compresses and packages a list of
ArchiveFile
s and writes into the given file.