[[bench]]
harness = false
name = "merge_archive"
path = "benches/merge_archive.rs"
[[bench]]
harness = false
name = "read_entry"
path = "benches/read_entry.rs"
[[bench]]
harness = false
name = "read_metadata"
path = "benches/read_metadata.rs"
[dependencies.aes]
optional = true
version = "0.8.4"
[dependencies.bzip2]
optional = true
version = "0.4.4"
[dependencies.chrono]
optional = true
version = "0.4.38"
[dependencies.constant_time_eq]
optional = true
version = "0.3.1"
[dependencies.crc32fast]
version = "1.4.2"
[dependencies.deflate64]
optional = true
version = "0.1.9"
[dependencies.displaydoc]
default-features = false
version = "0.2.5"
[dependencies.flate2]
default-features = false
optional = true
version = "1.0.33"
[dependencies.hmac]
features = ["reset"]
optional = true
version = "0.12.1"
[dependencies.indexmap]
version = "2"
[dependencies.lzma-rs]
default-features = false
optional = true
version = "0.3.0"
[dependencies.memchr]
version = "2.7.4"
[dependencies.pbkdf2]
optional = true
version = "0.12.2"
[dependencies.rand]
optional = true
version = "0.8.5"
[dependencies.sha1]
optional = true
version = "0.10.6"
[dependencies.thiserror]
version = "2.0.3"
[dependencies.time]
default-features = false
features = ["std"]
optional = true
version = "0.3.36"
[dependencies.zeroize]
features = ["zeroize_derive"]
optional = true
version = "1.8.1"
[dependencies.zopfli]
optional = true
version = "0.8.1"
[dependencies.zstd]
default-features = false
optional = true
version = "0.13.2"
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.bencher]
version = "0.1.5"
[dev-dependencies.clap]
features = ["derive"]
version = "=4.4.18"
[dev-dependencies.getrandom]
features = ["js", "std"]
version = "0.2.15"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.time]
default-features = false
features = ["formatting", "macros"]
version = "0.3.36"
[dev-dependencies.walkdir]
version = "2.5.0"
[features]
_all-features = []
_deflate-any = []
aes-crypto = ["aes", "constant_time_eq", "hmac", "pbkdf2", "sha1", "rand", "zeroize"]
chrono = ["chrono/default"]
default = ["aes-crypto", "bzip2", "deflate64", "deflate", "lzma", "time", "zstd", "xz"]
deflate = ["flate2/rust_backend", "deflate-zopfli", "deflate-flate2"]
deflate-flate2 = ["_deflate-any"]
deflate-miniz = ["deflate", "deflate-flate2"]
deflate-zlib = ["flate2/zlib", "deflate-flate2"]
deflate-zlib-ng = ["flate2/zlib-ng", "deflate-flate2"]
deflate-zopfli = ["zopfli", "_deflate-any"]
lzma = ["lzma-rs/stream"]
unreserved = []
xz = ["lzma-rs/raw_decoder"]
[lib]
name = "zip"
path = "src/lib.rs"
[package]
authors = ["Mathijs van de Nes <git@mathijs.vd-nes.nl>", "Marli Frost <marli@frost.red>", "Ryan Levick <ryan.levick@gmail.com>", "Chris Hennick <hennickc@amazon.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "src/build.rs"
description = """
Library to support the reading and writing of zip files.
"""
edition = "2021"
exclude = ["tests/**", "examples/**", ".github/**", "fuzz_read/**", "fuzz_write/**"]
keywords = ["zip", "archive", "compression"]
license = "MIT"
name = "zip"
readme = "README.md"
repository = "https://github.com/zip-rs/zip2.git"
rust-version = "1.73.0"
version = "2.2.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[target.'cfg(any(all(target_arch = "arm", target_pointer_width = "32"), target_arch = "mips", target_arch = "powerpc"))'.dependencies.crossbeam-utils]
version = "0.8.20"
[target."cfg(fuzzing)".dependencies.arbitrary]
features = ["derive"]
version = "1.3.2"