gecko-dev/third_party/rust/zip
Andreas Tolfsen f23e8c7f0e Bug 1439329 - Bump crate dependencies for zip 0.3. r=jgraham
Output from "./mach vendor rust":

	% ./mach vendor rust
	 0:01.15 rm -rf /Users/ato/src/gecko/third_party/rust
	      Adding adler32 v1.0.2
	      Adding build_const v0.2.0
	      Adding bzip2 v0.3.2
	      Adding bzip2-sys v0.1.6
	      Adding cc v1.0.4
	      Adding crc v1.7.0
	      Adding flate2 v1.0.1
	      Adding miniz_oxide v0.1.2
	      Adding miniz_oxide_c_api v0.1.2

MozReview-Commit-ID: EBVi4OdzYm3

--HG--
extra : rebase_source : b2f756574ebabc96b1378713a7ee6247274a388e
2018-02-19 12:33:08 +01:00
..
examples Bug 1439329 - Bump crate dependencies for zip 0.3. r=jgraham 2018-02-19 12:33:08 +01:00
script Bug 1439329 - Bump crate dependencies for zip 0.3. r=jgraham 2018-02-19 12:33:08 +01:00
src Bug 1439329 - Bump crate dependencies for zip 0.3. r=jgraham 2018-02-19 12:33:08 +01:00
tests Bug 1439329 - Bump crate dependencies for zip 0.3. r=jgraham 2018-02-19 12:33:08 +01:00
.cargo-checksum.json Bug 1439329 - Bump crate dependencies for zip 0.3. r=jgraham 2018-02-19 12:33:08 +01:00
.travis.yml Bug 1439329 - Bump crate dependencies for zip 0.3. r=jgraham 2018-02-19 12:33:08 +01:00
Cargo.toml Bug 1439329 - Bump crate dependencies for zip 0.3. r=jgraham 2018-02-19 12:33:08 +01:00
LICENSE Bug 1439329 - Bump crate dependencies for zip 0.3. r=jgraham 2018-02-19 12:33:08 +01:00
README.md 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

README.md

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.