[go: nahoru, domu]

blob: a6996fc64d65ec2b3654286dd360eb84008b48a6 [file] [log] [blame]
Yi Kongf19c3f22021-02-13 04:04:00 +08001[package]
2name = "zip"
Jeff Vander Stoepe1b59832022-12-19 12:28:35 +01003version = "0.6.3"
Elliott Hughes59359f72021-04-01 16:05:04 -07004authors = ["Mathijs van de Nes <git@mathijs.vd-nes.nl>", "Marli Frost <marli@frost.red>", "Ryan Levick <ryan.levick@gmail.com>"]
Yi Kongf19c3f22021-02-13 04:04:00 +08005license = "MIT"
Elliott Hughes59359f72021-04-01 16:05:04 -07006repository = "https://github.com/zip-rs/zip.git"
Yi Kongf19c3f22021-02-13 04:04:00 +08007keywords = ["zip", "archive"]
8description = """
9Library to support the reading and writing of zip files.
10"""
11edition = "2018"
12
13[dependencies]
David LeGare132eccb2022-04-11 16:44:12 +000014aes = { version = "0.7.5", optional = true }
15byteorder = "1.4.3"
16bzip2 = { version = "0.4.3", optional = true }
17constant_time_eq = { version = "0.1.5", optional = true }
18crc32fast = "1.3.2"
Jeff Vander Stoepe1b59832022-12-19 12:28:35 +010019flate2 = { version = "1.0.23", default-features = false, optional = true }
David LeGare132eccb2022-04-11 16:44:12 +000020hmac = { version = "0.12.1", optional = true, features = ["reset"] }
Jeff Vander Stoepe1b59832022-12-19 12:28:35 +010021pbkdf2 = {version = "0.11.0", optional = true }
David LeGare132eccb2022-04-11 16:44:12 +000022sha1 = {version = "0.10.1", optional = true }
23time = { version = "0.3.7", features = ["formatting", "macros" ], optional = true }
Jeff Vander Stoepe1b59832022-12-19 12:28:35 +010024zstd = { version = "0.11.0", optional = true }
David LeGare132eccb2022-04-11 16:44:12 +000025
26[target.'cfg(any(all(target_arch = "arm", target_pointer_width = "32"), target_arch = "mips", target_arch = "powerpc"))'.dependencies]
27crossbeam-utils = "0.8.8"
Yi Kongf19c3f22021-02-13 04:04:00 +080028
29[dev-dependencies]
David LeGare132eccb2022-04-11 16:44:12 +000030bencher = "0.1.5"
31getrandom = "0.2.5"
32walkdir = "2.3.2"
Yi Kongf19c3f22021-02-13 04:04:00 +080033
34[features]
David LeGare132eccb2022-04-11 16:44:12 +000035aes-crypto = [ "aes", "constant_time_eq", "hmac", "pbkdf2", "sha1" ]
Yi Kongf19c3f22021-02-13 04:04:00 +080036deflate = ["flate2/rust_backend"]
37deflate-miniz = ["flate2/default"]
38deflate-zlib = ["flate2/zlib"]
Joel Galenson45581102021-06-21 14:24:55 -070039unreserved = []
David LeGare132eccb2022-04-11 16:44:12 +000040default = ["aes-crypto", "bzip2", "deflate", "time", "zstd"]
Yi Kongf19c3f22021-02-13 04:04:00 +080041
42[[bench]]
43name = "read_entry"
44harness = false
Jeff Vander Stoepe1b59832022-12-19 12:28:35 +010045
46[[bench]]
47name = "read_metadata"
48harness = false