ModulesΒ§
- vcs π
- Helpers to gather the VCS information for
cargo package
. - verify π
- Helpers to verify a packaged
.crate
file.
StructsΒ§
- Archive
File π - Local
Dependencies π - Just the part of the dependency graph thatβs between the packages weβre packaging.
- Package
Opts - 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Β§
- File
Contents π - Generated
File π - Package
Message Format - 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
ArchiveFile
s and writes into the given file.