Yi Kong | f19c3f2 | 2021-02-13 04:04:00 +0800 | [diff] [blame] | 1 | [package] |
| 2 | name = "zip" |
Jeff Vander Stoep | 486ff5a | 2023-02-17 09:53:43 +0100 | [diff] [blame^] | 3 | version = "0.6.4" |
Elliott Hughes | 59359f7 | 2021-04-01 16:05:04 -0700 | [diff] [blame] | 4 | authors = ["Mathijs van de Nes <git@mathijs.vd-nes.nl>", "Marli Frost <marli@frost.red>", "Ryan Levick <ryan.levick@gmail.com>"] |
Yi Kong | f19c3f2 | 2021-02-13 04:04:00 +0800 | [diff] [blame] | 5 | license = "MIT" |
Elliott Hughes | 59359f7 | 2021-04-01 16:05:04 -0700 | [diff] [blame] | 6 | repository = "https://github.com/zip-rs/zip.git" |
Yi Kong | f19c3f2 | 2021-02-13 04:04:00 +0800 | [diff] [blame] | 7 | keywords = ["zip", "archive"] |
| 8 | description = """ |
| 9 | Library to support the reading and writing of zip files. |
| 10 | """ |
| 11 | edition = "2018" |
| 12 | |
| 13 | [dependencies] |
David LeGare | 132eccb | 2022-04-11 16:44:12 +0000 | [diff] [blame] | 14 | aes = { version = "0.7.5", optional = true } |
| 15 | byteorder = "1.4.3" |
| 16 | bzip2 = { version = "0.4.3", optional = true } |
| 17 | constant_time_eq = { version = "0.1.5", optional = true } |
| 18 | crc32fast = "1.3.2" |
Jeff Vander Stoep | e1b5983 | 2022-12-19 12:28:35 +0100 | [diff] [blame] | 19 | flate2 = { version = "1.0.23", default-features = false, optional = true } |
David LeGare | 132eccb | 2022-04-11 16:44:12 +0000 | [diff] [blame] | 20 | hmac = { version = "0.12.1", optional = true, features = ["reset"] } |
Jeff Vander Stoep | e1b5983 | 2022-12-19 12:28:35 +0100 | [diff] [blame] | 21 | pbkdf2 = {version = "0.11.0", optional = true } |
David LeGare | 132eccb | 2022-04-11 16:44:12 +0000 | [diff] [blame] | 22 | sha1 = {version = "0.10.1", optional = true } |
Jeff Vander Stoep | 486ff5a | 2023-02-17 09:53:43 +0100 | [diff] [blame^] | 23 | time = { version = "0.3.7", optional = true, default-features = false, features = ["std"] } |
| 24 | zstd = { version = "0.11.2", optional = true } |
David LeGare | 132eccb | 2022-04-11 16:44:12 +0000 | [diff] [blame] | 25 | |
| 26 | [target.'cfg(any(all(target_arch = "arm", target_pointer_width = "32"), target_arch = "mips", target_arch = "powerpc"))'.dependencies] |
| 27 | crossbeam-utils = "0.8.8" |
Yi Kong | f19c3f2 | 2021-02-13 04:04:00 +0800 | [diff] [blame] | 28 | |
| 29 | [dev-dependencies] |
David LeGare | 132eccb | 2022-04-11 16:44:12 +0000 | [diff] [blame] | 30 | bencher = "0.1.5" |
| 31 | getrandom = "0.2.5" |
| 32 | walkdir = "2.3.2" |
Jeff Vander Stoep | 486ff5a | 2023-02-17 09:53:43 +0100 | [diff] [blame^] | 33 | time = { version = "0.3.7", features = ["formatting", "macros"] } |
Yi Kong | f19c3f2 | 2021-02-13 04:04:00 +0800 | [diff] [blame] | 34 | |
| 35 | [features] |
David LeGare | 132eccb | 2022-04-11 16:44:12 +0000 | [diff] [blame] | 36 | aes-crypto = [ "aes", "constant_time_eq", "hmac", "pbkdf2", "sha1" ] |
Yi Kong | f19c3f2 | 2021-02-13 04:04:00 +0800 | [diff] [blame] | 37 | deflate = ["flate2/rust_backend"] |
| 38 | deflate-miniz = ["flate2/default"] |
| 39 | deflate-zlib = ["flate2/zlib"] |
Joel Galenson | 4558110 | 2021-06-21 14:24:55 -0700 | [diff] [blame] | 40 | unreserved = [] |
David LeGare | 132eccb | 2022-04-11 16:44:12 +0000 | [diff] [blame] | 41 | default = ["aes-crypto", "bzip2", "deflate", "time", "zstd"] |
Yi Kong | f19c3f2 | 2021-02-13 04:04:00 +0800 | [diff] [blame] | 42 | |
| 43 | [[bench]] |
| 44 | name = "read_entry" |
| 45 | harness = false |
Jeff Vander Stoep | e1b5983 | 2022-12-19 12:28:35 +0100 | [diff] [blame] | 46 | |
| 47 | [[bench]] |
| 48 | name = "read_metadata" |
| 49 | harness = false |