I'm embedding a small zipped directory structure in my Rust binary so that I can unzip it later for users to create a template dir, but what is the better compression algorithm to use for the zip file: Bzip2 or Deflate?
Deflate is faster, bzip2 compresses more. Both are worse than zstd or lzma.
There's also brotli, which also has a native rust implementation
Cool, thanks for the replies. For now I'll go with bzip2 because it is supported out-of-the-box with the zip crate I'm using.