Skip to content

Commit

Permalink
Update zip and export its features
Browse files Browse the repository at this point in the history
  • Loading branch information
yujincheng08 committed Jul 26, 2024
1 parent f846ae9 commit d80af67
Showing 1 changed file with 38 additions and 1 deletion.
39 changes: 38 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,41 @@ exclude = [
]

[dependencies]
zip = "2.1.1"
zip = { version = "2", default-features = false }

[features]
aes-crypto = ["zip/aes-crypto" ]
chrono = ["zip/chrono"]
deflate = ["zip/deflate"]
deflate-flate2 = ["zip/deflate-flate2"]
deflate-miniz = ["zip/deflate-miniz"]
deflate-zlib = ["zip/deflate-zlib"]
deflate-zlib-ng = ["zip/deflate-zlib-ng"]
deflate-zopfli = ["zip/deflate-zopfli"]
lzma = ["zip/lzma"]
unreserved = ["zip/unreserved"]
xz = ["zip/xz"]
bzip2 = ["zip/bzip2"]
deflate64 = ["zip/deflate64"]
time = ["zip/time"]
zstd = ["zip/zstd"]
aes = ["zip/aes"]
constant_time_eq = ["zip/constant_time_eq"]
hmac = ["zip/hmac"]
pbkdf2 = ["zip/pbkdf2"]
sha1 = ["zip/sha1"]
rand = ["zip/rand"]
zeroize = ["zip/zeroize"]
zopfli = ["zip/zopfli"]
flate2 = ["zip/flate2"]
lzma-rs = ["zip/lzma-rs"]
default = [
"aes-crypto",
"bzip2",
"deflate64",
"deflate",
"lzma",
"time",
"zstd",
"xz",
]

0 comments on commit d80af67

Please sign in to comment.