Crate rc_zip

source ·
Expand description

rc-zip

rc-zip is a zip archive library with a focus on compatibility and correctness.

Reading

ArchiveReader is your first stop. It ensures we are dealing with a valid zip archive, and reads the central directory. It does not perform I/O itself, but rather, it is a state machine that asks for reads at specific offsets.

An Archive contains a full list of entries, which you can then extract.

Writing

Writing archives is not implemented yet.

Modules

Macros

Structs

Enums

  • Encodings supported by this crate
  • The contents of an entry: a directory, a file, or a symbolic link.
  • Any zip-related error, from invalid archives to encoding problems.
  • Information stored in the central directory header extra field
  • Specific zip format errors, mostly due to invalid zip archives but that could also stem from implementation shortcomings.
  • System on which an archive was created, as encoded into a version u16.
  • Compression method used for a file entry.
  • NTFS attribute for zip entries (mostly timestamps)