# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2024" rust-version = "1.88" name = "zip" version = "8.6.0" authors = [ "Mathijs van de Nes ", "Marli Frost ", "Ryan Levick ", "Chris Hennick ", ] build = false exclude = [ "tests/**", "examples/**", ".github/**", "fuzz/**", ".amazonq/**", "benches/**", ".typos.toml", ] autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Library to support the reading and writing of zip files." readme = "README.md" keywords = [ "zip", "archive", "compression", ] categories = [ "compression", "filesystem", "parser-implementations", ] license = "MIT" repository = "https://github.com/zip-rs/zip2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [features] _arbitrary = ["dep:arbitrary"] _bzip2_any = [] _deflate-any = [] aes-crypto = [ "dep:aes", "dep:constant_time_eq", "getrandom/std", "dep:hmac", "dep:pbkdf2", "dep:sha1", "dep:zeroize", ] bzip2 = [ "dep:bzip2", "bzip2/default", "_bzip2_any", ] bzip2-rs = [ "dep:bzip2", "bzip2/bzip2-sys", "_bzip2_any", ] chrono = ["dep:chrono"] default = [ "aes-crypto", "bzip2", "deflate64", "deflate", "lzma", "ppmd", "time", "zstd", "xz", ] deflate = [ "deflate-zopfli", "deflate-flate2-zlib-rs", ] deflate-flate2 = [ "_deflate-any", "dep:flate2", ] deflate-flate2-zlib = [ "deflate-flate2", "flate2/zlib", ] deflate-flate2-zlib-ng = [ "deflate-flate2", "flate2/zlib-ng", ] deflate-flate2-zlib-ng-compat = [ "deflate-flate2", "flate2/zlib-ng-compat", ] deflate-flate2-zlib-rs = [ "deflate-flate2", "flate2/zlib-rs", ] deflate-zopfli = [ "dep:zopfli", "_deflate-any", ] deprecated-time = [] jiff-02 = ["dep:jiff"] legacy-zip = ["bitstream-io"] lzma = ["dep:lzma-rust2"] nt-time = ["dep:nt-time"] ppmd = ["dep:ppmd-rust"] time = ["dep:time"] unreserved = [] xz = ["dep:lzma-rust2"] [lib] name = "zip" path = "src/lib.rs" [dependencies.aes] version = "0.9" optional = true [dependencies.arbitrary] version = "1.4" features = ["derive"] optional = true [dependencies.bitstream-io] version = "4.9" optional = true [dependencies.bzip2] version = "0.6" optional = true default-features = false [dependencies.chrono] version = "^0.4.27" features = ["std"] optional = true default-features = false [dependencies.constant_time_eq] version = "0.4" optional = true [dependencies.crc32fast] version = "1.5" [dependencies.deflate64] version = "^0.1.10" optional = true [dependencies.flate2] version = "1.1" optional = true default-features = false [dependencies.hmac] version = "0.13" features = ["zeroize"] optional = true [dependencies.indexmap] version = "2" [dependencies.jiff] version = "^0.2.4" optional = true [dependencies.lzma-rust2] version = "^0.16.1" features = [ "std", "encoder", "optimization", "xz", ] optional = true default-features = false [dependencies.memchr] version = "2.7" [dependencies.nt-time] version = "0.13" optional = true default-features = false [dependencies.pbkdf2] version = "0.13" optional = true [dependencies.ppmd-rust] version = "1.4" optional = true [dependencies.sha1] version = "0.11" optional = true [dependencies.typed-path] version = "0.12" [dependencies.zeroize] version = "1.8" optional = true [dependencies.zopfli] version = "^0.8.3" optional = true [dependencies.zstd] version = "^0.13.3" optional = true default-features = false [dev-dependencies.bencher] version = "0.1" [dev-dependencies.clap] version = "^4.4.18" features = ["derive"] [dev-dependencies.getrandom] version = "0.4" default-features = false [dev-dependencies.rayon] version = "1.11" [dev-dependencies.tempfile] version = "3.15" [dev-dependencies.time] version = "^0.3.47" features = [ "formatting", "macros", ] [dev-dependencies.walkdir] version = "2.5" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.getrandom] version = "0.4" optional = true default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.time] version = "^0.3.47" features = ["std"] optional = true default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.getrandom] version = "0.4" default-features = false [target.'cfg(target_arch = "wasm32")'.dependencies.getrandom] version = "0.4" features = ["wasm_js"] optional = true default-features = false [target.'cfg(target_arch = "wasm32")'.dependencies.time] version = "^0.3.47" features = [ "std", "wasm-bindgen", ] optional = true default-features = false [target.'cfg(target_arch = "wasm32")'.dev-dependencies.getrandom] version = "0.4" features = ["wasm_js"] default-features = false [target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test] version = "^0.3.56"