[go: nahoru, domu]

blob: caf6a07fb8ad5cd437b2fea358097e92ea929ec9 [file] [log] [blame]
Yi Kongf19c3f22021-02-13 04:04:00 +08001[package]
2name = "zip"
Jeff Vander Stoep486ff5a2023-02-17 09:53:43 +01003version = "0.6.4"
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 }
Jeff Vander Stoep486ff5a2023-02-17 09:53:43 +010023time = { version = "0.3.7", optional = true, default-features = false, features = ["std"] }
24zstd = { version = "0.11.2", 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"
Jeff Vander Stoep486ff5a2023-02-17 09:53:43 +010033time = { version = "0.3.7", features = ["formatting", "macros"] }
Yi Kongf19c3f22021-02-13 04:04:00 +080034
35[features]
David LeGare132eccb2022-04-11 16:44:12 +000036aes-crypto = [ "aes", "constant_time_eq", "hmac", "pbkdf2", "sha1" ]
Yi Kongf19c3f22021-02-13 04:04:00 +080037deflate = ["flate2/rust_backend"]
38deflate-miniz = ["flate2/default"]
39deflate-zlib = ["flate2/zlib"]
Joel Galenson45581102021-06-21 14:24:55 -070040unreserved = []
David LeGare132eccb2022-04-11 16:44:12 +000041default = ["aes-crypto", "bzip2", "deflate", "time", "zstd"]
Yi Kongf19c3f22021-02-13 04:04:00 +080042
43[[bench]]
44name = "read_entry"
45harness = false
Jeff Vander Stoepe1b59832022-12-19 12:28:35 +010046
47[[bench]]
48name = "read_metadata"
49harness = false