gecko-dev/third_party/rust/zip
Andreas Tolfsen 08c845b39c Bug 1441204 - Upgrade zip crate from 0.3.1 to 0.3.3. r=maja_zf
MozReview-Commit-ID: LjzVBrGK4LM

--HG--
extra : rebase_source : 0326e546304339ade10e312df0a619f627b115e7
2018-06-14 12:57:36 -07:00
..
examples Bug 1441204 - Upgrade zip crate from 0.3.1 to 0.3.3. r=maja_zf 2018-06-14 12:57:36 -07:00
script Bug 1439329 - Bump crate dependencies for zip 0.3. r=jgraham 2018-02-19 12:33:08 +01:00
src Bug 1441204 - Upgrade zip crate from 0.3.1 to 0.3.3. r=maja_zf 2018-06-14 12:57:36 -07:00
tests Bug 1441204 - Upgrade zip crate from 0.3.1 to 0.3.3. r=maja_zf 2018-06-14 12:57:36 -07:00
.cargo-checksum.json Bug 1441204 - Upgrade zip crate from 0.3.1 to 0.3.3. r=maja_zf 2018-06-14 12:57:36 -07:00
.travis.yml Bug 1439329 - Bump crate dependencies for zip 0.3. r=jgraham 2018-02-19 12:33:08 +01:00
appveyor.yml Bug 1439329 - Bump crate dependencies for zip 0.3. r=jgraham 2018-02-19 12:33:08 +01:00
Cargo.toml Bug 1441204 - Upgrade zip crate from 0.3.1 to 0.3.3. r=maja_zf 2018-06-14 12:57:36 -07:00
LICENSE Bug 1439329 - Bump crate dependencies for zip 0.3. r=jgraham 2018-02-19 12:33:08 +01:00
README.md Bug 1441204 - Upgrade zip crate from 0.3.1 to 0.3.3. r=maja_zf 2018-06-14 12:57:36 -07:00

zip-rs

Build Status Build status Crates.io version

Documentation

Info

A zip library for rust which supports reading and writing of simple ZIP files.

Supported compression formats:

  • stored (i.e. none)
  • deflate
  • bzip2 (optional, enabled by default)

Currently unsupported zip extensions:

  • Most of ZIP64, although there is some support for archives with more than 65535 files
  • Encryption
  • Multi-disk

We aim to support rust versions 1.20+.

Usage

With all default features:

[dependencies]
zip = "0.3"

Without the default features:

[dependencies]
zip = { version = "0.3", default-features = false }

Examples

See the examples directory for:

  • How to write a file to a zip.
  • how to write a directory of files to a zip (using walkdir).
  • How to extract a zip file.
  • How to extract a single file from a zip.