pub fn validate_manifest( target_root: &Path, manifest: &Manifest, max_file_size: u64, max_files: usize, ) -> Result<()>