Skip to content

Conversation

sorairolake
Copy link

This pull request adds a category for crates that implement archives formats such as tar and ZIP.

It seems there is no category for archives formats. For this reason, the following crates are either not assigned to any category, or crates for file formats that can both archive and compress, such as LHA/LZH, are assigned the compression category.

Examples of crates

  • ar - a library for encoding/decoding Unix archive files.
  • cab - Read/write Windows cabinet (CAB) files.
  • cpio-archive - cpio archive reading and writing.
  • delharc - a library for parsing and extracting files from LHA/LZH archives.
  • ouch - a command-line utility for easily compressing and decompressing files and directories.
  • sevenz-rust2 - a 7z decompressor/compressor written in pure Rust.
  • tar - a Rust implementation of a TAR file reader and writer.
  • unrar - list and extract RAR archives.
  • zip - library to support the reading and writing of zip files.

@Turbo87
Copy link
Member

Turbo87 commented Sep 8, 2025

IMHO since most archive formats usually include compression by default I'm not sure we really need another top-level category for this 🤔

@rust-lang/crates-io thoughts?

@sorairolake
Copy link
Author

sorairolake commented Sep 8, 2025

There are many file formats that can both be archived and compressed, such as ZIP and 7z, but there are also some file formats that can only be archived, such as tar and cpio.1 Since tar and cpio can only archive, I don't think it's appropriate to assign them to the compression category. These archive formats, whether they include compression feature or not, share the common feature of archiving. So, I think having a category for archive formats would make it easier to find implementations of them.

Footnotes

  1. https://en.wikipedia.org/wiki/List_of_archive_formats

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants