Skip to content

Commit

Permalink
Configure zip not to use its time feature
Browse files Browse the repository at this point in the history
This is the second half of getting us out of the position of depending
on the vulnerable version of `time`.
  • Loading branch information
chriskrycho committed Dec 20, 2023
1 parent f594000 commit 59e272a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
12 changes: 0 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion crates/archive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ edition = "2018"
[dependencies]
flate2 = "1.0"
tar = "0.4.13"
zip_rs = { version = "0.5", package = "zip" }
# Set features manually to drop usage of `time` crate: we do not rely on that
# set of capabilities, and it has a vulnerability. NOTE: this should be updated
# to include the `aes-crypto` and `zstd` features when upgrading to v0.6+.
zip_rs = { version = "0.5", package = "zip", default-features = false, features = ["deflate", "bzip2"] }
tee = "0.1.0"
fs-utils = { path = "../fs-utils" }
progress-read = { path = "../progress-read" }
Expand Down

0 comments on commit 59e272a

Please sign in to comment.