Function create_binary_archive

Source
pub fn create_binary_archive<P>(
    metadata: Option<&CargoMetadata>,
    base_dir: &Option<P>,
    data: &BinaryData<'_>,
    include: Option<Vec<String>>,
) -> Result<BinaryArchive>
where P: AsRef<Path>,
Expand description

Search for the bootstrap file for a function inside the target directory. If the binary file exists, it creates the zip archive and extracts its architecture by reading the binary.