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 πŸ”’
PackageMessageFormat
Message format for cargo package.

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.