twin-commander icon indicating copy to clipboard operation
twin-commander copied to clipboard

Archive support

Open kivimango opened this issue 1 year ago • 0 comments

twin commander should handle the following archives:

  • iso
  • gz
  • rar
  • tar
  • zip
  • 7zip

View archive content

Contents of archive files should be listed as a regular folder on the file system.

CRUD

twin commander should be able to support creating archives from file(s) or folder(s), and updating already existing archives.

Possible dependency candidates

There is an article about rust compression libraries here: https://blog.logrocket.com/rust-compression-libraries/

lib.rs has a list of compression libraries: https://lib.rs/compression

The candidates must meet some requirements:

  • should be a pure rust library (or there is none yet, maybe a wrapper over some C lib)
  • minimal use of unsafe, or None at all (twin commander has 0% unsafe as of right now)
  • should be documentation with examples
  • tests (unit or integration, best is both)
  • a green CI badge in the README
  • feature complete or support features as many as it can

Candidates:

zip

  • zip
  • vfs-zip (2 years old, seems unmaintaned)
  • rc-zip (3 years old, unmaintaned)

gz

rar

  • rar
  • xcompress (good candidate, supports multiple formats, not popular)

kivimango avatar Jan 12 '23 14:01 kivimango