Skip to content

Commit e234a9c

Browse files
committed
Revert "[rust] Use only deflate feature in zip crate"
This reverts commit af03af5.
1 parent af03af5 commit e234a9c

File tree

3 files changed

+151
-4
lines changed

3 files changed

+151
-4
lines changed

rust/Cargo.Bazel.lock

Lines changed: 132 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"checksum": "cf09893e2a6b4d45261e4b6a4cf4136eebe0a2129176ae2113eb63b5f5ff8c52",
2+
"checksum": "56fdaab3fc8fbbad2fa1adba945c9339107eb008d5b9fc5e22503e02f134349e",
33
"crates": {
44
"addr2line 0.21.0": {
55
"name": "addr2line",
@@ -4418,9 +4418,12 @@
44184418
"crate_features": {
44194419
"common": [
44204420
"any_impl",
4421+
"any_zlib",
44214422
"default",
4423+
"libz-sys",
44224424
"miniz_oxide",
4423-
"rust_backend"
4425+
"rust_backend",
4426+
"zlib"
44244427
],
44254428
"selects": {}
44264429
},
@@ -4430,6 +4433,10 @@
44304433
"id": "crc32fast 1.4.0",
44314434
"target": "crc32fast"
44324435
},
4436+
{
4437+
"id": "libz-sys 1.1.16",
4438+
"target": "libz_sys"
4439+
},
44334440
{
44344441
"id": "miniz_oxide 0.7.2",
44354442
"target": "miniz_oxide"
@@ -7795,6 +7802,89 @@
77957802
],
77967803
"license_file": "LICENSE"
77977804
},
7805+
"libz-sys 1.1.16": {
7806+
"name": "libz-sys",
7807+
"version": "1.1.16",
7808+
"package_url": "https://github.com/rust-lang/libz-sys",
7809+
"repository": {
7810+
"Http": {
7811+
"url": "https://static.crates.io/crates/libz-sys/1.1.16/download",
7812+
"sha256": "5e143b5e666b2695d28f6bca6497720813f699c9602dd7f5cac91008b8ada7f9"
7813+
}
7814+
},
7815+
"targets": [
7816+
{
7817+
"Library": {
7818+
"crate_name": "libz_sys",
7819+
"crate_root": "src/lib.rs",
7820+
"srcs": {
7821+
"allow_empty": false,
7822+
"include": [
7823+
"**/*.rs"
7824+
]
7825+
}
7826+
}
7827+
},
7828+
{
7829+
"BuildScript": {
7830+
"crate_name": "build_script_build",
7831+
"crate_root": "build.rs",
7832+
"srcs": {
7833+
"allow_empty": false,
7834+
"include": [
7835+
"**/*.rs"
7836+
]
7837+
}
7838+
}
7839+
}
7840+
],
7841+
"library_target_name": "libz_sys",
7842+
"common_attrs": {
7843+
"compile_data_glob": [
7844+
"**"
7845+
],
7846+
"deps": {
7847+
"common": [
7848+
{
7849+
"id": "libz-sys 1.1.16",
7850+
"target": "build_script_build"
7851+
}
7852+
],
7853+
"selects": {}
7854+
},
7855+
"edition": "2018",
7856+
"version": "1.1.16"
7857+
},
7858+
"build_script_attrs": {
7859+
"data_glob": [
7860+
"**"
7861+
],
7862+
"deps": {
7863+
"common": [
7864+
{
7865+
"id": "cc 1.0.97",
7866+
"target": "cc"
7867+
},
7868+
{
7869+
"id": "pkg-config 0.3.30",
7870+
"target": "pkg_config"
7871+
},
7872+
{
7873+
"id": "vcpkg 0.2.15",
7874+
"target": "vcpkg"
7875+
}
7876+
],
7877+
"selects": {}
7878+
},
7879+
"links": "z"
7880+
},
7881+
"license": "MIT OR Apache-2.0",
7882+
"license_ids": [
7883+
"Apache-2.0",
7884+
"MIT"
7885+
],
7886+
"license_file": "LICENSE-APACHE"
7887+
},
77987888
"linux-raw-sys 0.4.13": {
77997889
"name": "linux-raw-sys",
78007890
"version": "0.4.13",
@@ -17703,6 +17793,45 @@
1770317793
],
1770417794
"license_file": "LICENSE-APACHE"
1770517795
},
17796+
"vcpkg 0.2.15": {
17797+
"name": "vcpkg",
17798+
"version": "0.2.15",
17799+
"package_url": "https://github.com/mcgoo/vcpkg-rs",
17800+
"repository": {
17801+
"Http": {
17802+
"url": "https://static.crates.io/crates/vcpkg/0.2.15/download",
17803+
"sha256": "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
17804+
}
17805+
},
17806+
"targets": [
17807+
{
17808+
"Library": {
17809+
"crate_name": "vcpkg",
17810+
"crate_root": "src/lib.rs",
17811+
"srcs": {
17812+
"allow_empty": false,
17813+
"include": [
17814+
"**/*.rs"
17815+
]
17816+
}
17817+
}
17818+
}
17819+
],
17820+
"library_target_name": "vcpkg",
17821+
"common_attrs": {
17822+
"compile_data_glob": [
17823+
"**"
17824+
],
17825+
"edition": "2015",
17826+
"version": "0.2.15"
17827+
},
17828+
"license": "MIT/Apache-2.0",
17829+
"license_ids": [
17830+
"Apache-2.0",
17831+
"MIT"
17832+
],
17833+
"license_file": "LICENSE-APACHE"
17834+
},
1770617835
"version_check 0.9.4": {
1770717836
"name": "version_check",
1770817837
"version": "0.9.4",
@@ -20684,7 +20813,7 @@
2068420813
"crate_features": {
2068520814
"common": [
2068620815
"_deflate-any",
20687-
"deflate",
20816+
"deflate-zlib",
2068820817
"flate2"
2068920818
],
2069020819
"selects": {}

rust/Cargo.lock

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ regex = "1.10.4"
1919
tokio = { version = "1.37.0", default-features = false, features = ["macros", "net", "rt-multi-thread"] }
2020
tempfile = "3.10.1"
2121
reqwest = { version = "0.12.4", default-features = false, features = ["rustls-tls"] }
22-
zip = { version = "1.2.3", default-features = false, features = ["deflate"]}
22+
zip = { version = "1.2.3", default-features = false, features = ["deflate-zlib"]}
2323
directories = "5.0.1"
2424
serde = { version = "1.0.202", features = ["derive"] }
2525
serde_json = "1.0.117"

0 commit comments

Comments
 (0)