The filename cargo writes in packages with file checksums
The name of the Cargo.toml file
The path we use in Cargo.toml i.e. package.metadata.vendor-filter
The package entry
The CLI argument passed to cargo to work offline
The CLI argument passed to cargo vendor
to respect override of the crates.io
source when downloading crates
The name of our binary
The CLI argument passed to cargo to work with multiple Cargo.toml-files
Extra targets which we need to remove because Cargo validates them and will
error out when we’ve replaced the library with a stub.
Cargo also checks these keys in the package section
The default directory path
The default path for –format=tar
The default path for –format=tar.gz
The default path for –format=tar.zstd
The CLI argument passed to cargo vendor
to always include version in subdir name