Cargo Features
[dependencies]
zip = { version = "2.2.2", default-features = false, features = ["aes-crypto", "chrono", "deflate", "deflate-flate2", "deflate-miniz", "deflate-zlib", "deflate-zlib-ng", "deflate-zopfli", "lzma", "unreserved", "xz", "bzip2", "time", "zstd", "deflate64"] }
- aes-crypto default = aes, constant_time_eq, hmac, pbkdf2, rand, sha1, zeroize
-
Affects
read::AesInfo
… - chrono
- deflate default deflate-miniz? = deflate-flate2, deflate-zopfli
-
Enables rust_backend of flate2
- deflate-flate2 deflate deflate-miniz? deflate-zlib? deflate-zlib-ng?
- deflate-miniz = deflate, deflate-flate2
-
DEPRECATED: previously enabled
flate2/miniz_oxide
which is equivalent toflate2/rust_backend
- default = aes-crypto, bzip2, deflate, deflate64, lzma, time, xz, zstd
-
These default features are set whenever
zip
is added without
somewhere in the dependency tree.default-features = false - deflate-zlib = deflate-flate2
- deflate-zlib-ng = deflate-flate2
- deflate-zopfli deflate = zopfli
- lzma default
- unreserved
- xz default
-
Enables raw_decoder of lzma-rs
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- aes aes-crypto
- bzip2 default
-
Enables bzip2 ^0.4.3
- constant_time_eq aes-crypto
- flate2 deflate deflate-zlib? deflate-zlib-ng?
- hmac aes-crypto
- pbkdf2 aes-crypto
- rand aes-crypto
- sha1 aes-crypto
- time default
- zeroize aes-crypto
- zstd default
- zopfli deflate-zopfli?
- deflate64 default
- lzma-rs lzma xz