[go: nahoru, domu]

blob: f063a92132f99b50c2d4a0fbaecb90a0f1fd7414 [file] [log] [blame]
Yi Kongf19c3f22021-02-13 04:04:00 +08001[package]
2name = "zip"
3version = "0.5.9"
4authors = ["Mathijs van de Nes <git@mathijs.vd-nes.nl>"]
5license = "MIT"
6repository = "https://github.com/mvdnes/zip-rs.git"
7documentation = "http://mvdnes.github.io/rust-docs/zip-rs/zip/index.html"
8keywords = ["zip", "archive"]
9description = """
10Library to support the reading and writing of zip files.
11"""
12edition = "2018"
13
14[dependencies]
15# FIXME(#170): flate2 1.0.15 has an MSRV of 1.36.0, breaking ours. We'll update when we know if this will be addressed
16flate2 = { version = ">=1.0.0, <=1.0.14", default-features = false, optional = true }
17time = { version = "0.1", optional = true }
18byteorder = "1.3"
19bzip2 = { version = "0.3", optional = true }
20crc32fast = "1.0"
21thiserror = "1.0"
22
23[dev-dependencies]
24bencher = "0.1"
25rand = "0.7"
26walkdir = "2"
27
28[features]
29deflate = ["flate2/rust_backend"]
30deflate-miniz = ["flate2/default"]
31deflate-zlib = ["flate2/zlib"]
32default = ["bzip2", "deflate", "time"]
33
34[[bench]]
35name = "read_entry"
36harness = false