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§
Constants§
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.