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. - 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 π
ConstantsΒ§
- VCS_
INFO_ πFILE
FunctionsΒ§
- build_
ar_ πlist Builds list of files to archive. - build_
lock πConstructCargo.lock
for the package to be published. - check_
filename π - check_
metadata π - compare_
resolve πGenerate warnings when packaging Cargo.lock, and the resolve have changed. - create_
package π - do_
package π - 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. - Packages an entire workspace.
- 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.