Function pyoxidizerlib::project_layout::write_new_cargo_lock [−][src]
pub fn write_new_cargo_lock(
project_path: &Path,
project_name: &str
) -> Result<()>
Write a Cargo.lock file for a project path.
The Cargo.lock content is under version control and is automatically
updated as part of the release automation. The file is generated in
--offline
mode and the contents of this Cargo.lock
should closely
resemble those in this repository’s Cargo.lock
. This helps ensure that
the crate versions used by generated Rust projects match those of the
build/commit of PyOxidizer used to generate the project.