1[package] 2name = "zip" 3version = "0.6.6" 4authors = ["Mathijs van de Nes <git@mathijs.vd-nes.nl>", "Marli Frost <marli@frost.red>", "Ryan Levick <ryan.levick@gmail.com>"] 5license = "MIT" 6repository = "https://github.com/zip-rs/zip.git" 7keywords = ["zip", "archive"] 8description = """ 9Library to support the reading and writing of zip files. 10""" 11edition = "2021" 12rust-version = "1.59.0" 13 14[dependencies] 15aes = { version = "0.8.2", optional = true } 16byteorder = "1.4.3" 17bzip2 = { version = "0.4.3", optional = true } 18constant_time_eq = { version = "0.1.5", optional = true } 19crc32fast = "1.3.2" 20flate2 = { version = "1.0.23", default-features = false, optional = true } 21hmac = { version = "0.12.1", optional = true, features = ["reset"] } 22pbkdf2 = {version = "0.11.0", optional = true } 23sha1 = {version = "0.10.1", optional = true } 24time = { version = "0.3.7", optional = true, default-features = false, features = ["std"] } 25zstd = { version = "0.11.2", optional = true } 26 27[target.'cfg(any(all(target_arch = "arm", target_pointer_width = "32"), target_arch = "mips", target_arch = "powerpc"))'.dependencies] 28crossbeam-utils = "0.8.8" 29 30[dev-dependencies] 31bencher = "0.1.5" 32getrandom = "0.2.5" 33walkdir = "2.3.2" 34time = { version = "0.3.7", features = ["formatting", "macros"] } 35 36[features] 37aes-crypto = [ "aes", "constant_time_eq", "hmac", "pbkdf2", "sha1" ] 38deflate = ["flate2/rust_backend"] 39deflate-miniz = ["flate2/default"] 40deflate-zlib = ["flate2/zlib"] 41unreserved = [] 42default = ["aes-crypto", "bzip2", "deflate", "time", "zstd"] 43 44[[bench]] 45name = "read_entry" 46harness = false 47 48[[bench]] 49name = "read_metadata" 50harness = false 51