Function cargo_lambda_build::zip_binary
source · pub fn zip_binary<BP: AsRef<Path>, DD: AsRef<Path>>(
name: &str,
binary_path: BP,
destination_directory: DD,
parent: Option<&str>
) -> Result<BinaryArchive>Expand description
Create a zip file from a function binary.
The binary inside the zip file is called bootstrap for function binaries.
The binary inside the zip file is called by its name, and put inside the extensions
directory, for extension binaries.