Skip to main content

pack

Function pack 

Source
pub fn pack(
    source: &Path,
    executable: &Path,
    output: &Path,
    version: Option<&str>,
) -> Result<PathBuf>
Expand description

Write a new package directory; existing output is never overwritten. The manifest is published last. A failed pack may leave an incomplete output directory, which must not be installed. Choose a fresh output for a retry.