Skip to content

Commit af03af5

Browse files
committed
[rust] Use only deflate feature in zip crate
1 parent 96ee703 commit af03af5

File tree

3 files changed

+4
-151
lines changed

3 files changed

+4
-151
lines changed

rust/Cargo.Bazel.lock

Lines changed: 3 additions & 132 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"checksum": "56fdaab3fc8fbbad2fa1adba945c9339107eb008d5b9fc5e22503e02f134349e",
2+
"checksum": "cf09893e2a6b4d45261e4b6a4cf4136eebe0a2129176ae2113eb63b5f5ff8c52",
33
"crates": {
44
"addr2line 0.21.0": {
55
"name": "addr2line",
@@ -4418,12 +4418,9 @@
44184418
"crate_features": {
44194419
"common": [
44204420
"any_impl",
4421-
"any_zlib",
44224421
"default",
4423-
"libz-sys",
44244422
"miniz_oxide",
4425-
"rust_backend",
4426-
"zlib"
4423+
"rust_backend"
44274424
],
44284425
"selects": {}
44294426
},
@@ -4433,10 +4430,6 @@
44334430
"id": "crc32fast 1.4.0",
44344431
"target": "crc32fast"
44354432
},
4436-
{
4437-
"id": "libz-sys 1.1.16",
4438-
"target": "libz_sys"
4439-
},
44404433
{
44414434
"id": "miniz_oxide 0.7.2",
44424435
"target": "miniz_oxide"
@@ -7802,89 +7795,6 @@
78027795
],
78037796
"license_file": "LICENSE"
78047797
},
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-
},
78887798
"linux-raw-sys 0.4.13": {
78897799
"name": "linux-raw-sys",
78907800
"version": "0.4.13",
@@ -17793,45 +17703,6 @@
1779317703
],
1779417704
"license_file": "LICENSE-APACHE"
1779517705
},
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-
},
1783517706
"version_check 0.9.4": {
1783617707
"name": "version_check",
1783717708
"version": "0.9.4",
@@ -20813,7 +20684,7 @@
2081320684
"crate_features": {
2081420685
"common": [
2081520686
"_deflate-any",
20816-
"deflate-zlib",
20687+
"deflate",
2081720688
"flate2"
2081820689
],
2081920690
"selects": {}

rust/Cargo.lock

Lines changed: 0 additions & 18 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-zlib"]}
22+
zip = { version = "1.2.3", default-features = false, features = ["deflate"]}
2323
directories = "5.0.1"
2424
serde = { version = "1.0.202", features = ["derive"] }
2525
serde_json = "1.0.117"

0 commit comments

Comments
 (0)