Skip to content

v1.4.0

Choose a tag to compare

@jakewilliami jakewilliami released this 31 Oct 03:14
· 33 commits to master since this release

Add support for [.tar].gz archive format! v1.4.0

Add support for tarballs (.tar.gz) and gzipped (.gz) files. Support for just .tar files is not yet implemented.

Uses the flate2 crate for decompressing from gzip, and the tar crate for tar variants.

Full support for this requires further work because:

  • the fact that we support .gz without .tar is undocumented, as we have not before made the distinction between archiving and compressing;a
  • we do not yet support password-protected [.tar].gz files (if possible); and
  • a lot of the logic (particularly for checking whether an input file is a .tar.gz or just a .gz) is quite inefficient as it reads the file into a GzDecoder/Archive multiple times, as functions who check these mutate them. It would be better if we could clone them, but I'm not sure that's possible as implemented in the crates that provide those data structures.

See merge request #4

Full Changelog: v1.3.0...v1.4.0


a Implemented in v1.4.1