Module cargo_package

Source

Modules§

vcs 🔒
Helpers to gather the VCS information for cargo package.
verify 🔒
Helpers to verify a packaged .crate file.

Structs§

ArchiveFile 🔒
LocalDependencies 🔒
Just the part of the dependency graph that’s between the packages we’re packaging.
PackageOpts
TmpRegistry 🔒
Manages a temporary local registry that we use to overlay our new packages on the upstream registry. This way we can build lockfiles that depend on the new packages even before they’re published.

Enums§

FileContents 🔒
GeneratedFile 🔒

Constants§

ORIGINAL_MANIFEST_FILE 🔒
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_for_file_and_add 🔒
check_metadata 🔒
check_yanked
compare_resolve 🔒
Generate warnings when packaging Cargo.lock, and the resolve have changed.
create_package 🔒
do_package 🔒
error_custom_build_file_not_in_package 🔒
error_on_nonexistent_file 🔒
get_registry 🔒
Determine which registry the packages are for.
local_deps 🔒
Build just the part of the dependency graph that’s between the given packages, ignoring dev dependencies.
package
Packages an entire workspace.
package_with_dep_graph 🔒
Packages an entire workspace.
prepare_archive 🔒
Performs pre-archiving checks and builds a list of files to archive.
tar 🔒
Compresses and packages a list of ArchiveFiles and writes into the given file.