From dd21ce75d62ede9e998b60a870747781822d04f8 Mon Sep 17 00:00:00 2001 From: Nicolas Mattia Date: Fri, 28 Jun 2024 16:28:07 +0200 Subject: [PATCH] fix(IDX): remove unused async-socks5 The crate dependency is not present in the Cargo build, and is not used in the Bazel build. --- Cargo.Bazel.Fuzzing.json.lock | 68 +---------------------------------- Cargo.Bazel.Fuzzing.toml.lock | 12 ------- Cargo.Bazel.json.lock | 68 +---------------------------------- Cargo.Bazel.toml.lock | 12 ------- bazel/external_crates.bzl | 3 -- 5 files changed, 2 insertions(+), 161 deletions(-) diff --git a/Cargo.Bazel.Fuzzing.json.lock b/Cargo.Bazel.Fuzzing.json.lock index 41d02ca944d..c3e9232c824 100644 --- a/Cargo.Bazel.Fuzzing.json.lock +++ b/Cargo.Bazel.Fuzzing.json.lock @@ -1,5 +1,5 @@ { - "checksum": "93bfcb06da59a01bffd3d4673b873b0d654f691bc97e2317ea54bce3c2d87a26", + "checksum": "1fad9b01754dfc8ab5ab938fd7be19e742886c39dc6ca6831e681dd9402ab23c", "crates": { "abnf 0.12.0": { "name": "abnf", @@ -3629,67 +3629,6 @@ ], "license_file": null }, - "async-socks5 0.5.1": { - "name": "async-socks5", - "version": "0.5.1", - "package_url": "https://github.com/ark0f/async-socks5", - "repository": { - "Http": { - "url": "https://static.crates.io/crates/async-socks5/0.5.1/download", - "sha256": "77f634add2445eb2c1f785642a67ca1073fedd71e73dc3ca69435ef9b9bdedc7" - } - }, - "targets": [ - { - "Library": { - "crate_name": "async_socks5", - "crate_root": "src/lib.rs", - "srcs": { - "allow_empty": false, - "include": [ - "**/*.rs" - ] - } - } - } - ], - "library_target_name": "async_socks5", - "common_attrs": { - "compile_data_glob": [ - "**" - ], - "deps": { - "common": [ - { - "id": "thiserror 1.0.57", - "target": "thiserror" - }, - { - "id": "tokio 1.38.0", - "target": "tokio" - } - ], - "selects": {} - }, - "edition": "2018", - "proc_macro_deps": { - "common": [ - { - "id": "async-trait 0.1.74", - "target": "async_trait" - } - ], - "selects": {} - }, - "version": "0.5.1" - }, - "license": "Apache-2.0 OR MIT", - "license_ids": [ - "Apache-2.0", - "MIT" - ], - "license_file": "LICENSE-APACHE.md" - }, "async-stream 0.3.5": { "name": "async-stream", "version": "0.3.5", @@ -16997,10 +16936,6 @@ "id": "async-scoped 0.8.0", "target": "async_scoped" }, - { - "id": "async-socks5 0.5.1", - "target": "async_socks5" - }, { "id": "async-stream 0.3.5", "target": "async_stream" @@ -77133,7 +77068,6 @@ "assert_matches 1.5.0", "async-recursion 1.0.5", "async-scoped 0.8.0", - "async-socks5 0.5.1", "async-stream 0.3.5", "async-trait 0.1.74", "axum 0.6.20", diff --git a/Cargo.Bazel.Fuzzing.toml.lock b/Cargo.Bazel.Fuzzing.toml.lock index 14b210f2f23..8746aaa1810 100644 --- a/Cargo.Bazel.Fuzzing.toml.lock +++ b/Cargo.Bazel.Fuzzing.toml.lock @@ -637,17 +637,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "async-socks5" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77f634add2445eb2c1f785642a67ca1073fedd71e73dc3ca69435ef9b9bdedc7" -dependencies = [ - "async-trait", - "thiserror", - "tokio", -] - [[package]] name = "async-stream" version = "0.3.5" @@ -2889,7 +2878,6 @@ dependencies = [ "assert_matches", "async-recursion", "async-scoped", - "async-socks5", "async-stream", "async-trait", "axum 0.6.20", diff --git a/Cargo.Bazel.json.lock b/Cargo.Bazel.json.lock index 8700f6f8427..d82ec576d10 100644 --- a/Cargo.Bazel.json.lock +++ b/Cargo.Bazel.json.lock @@ -1,5 +1,5 @@ { - "checksum": "1a9a8930729d40296f094b770a48d7eb9050c3ff157aa5ec0991fe3f164b2f8a", + "checksum": "26f9d3c20340bdce0d732a7492a82ee00e59e45663d0c847dcb88caab0e3a92f", "crates": { "abnf 0.12.0": { "name": "abnf", @@ -3643,67 +3643,6 @@ ], "license_file": null }, - "async-socks5 0.5.1": { - "name": "async-socks5", - "version": "0.5.1", - "package_url": "https://github.com/ark0f/async-socks5", - "repository": { - "Http": { - "url": "https://static.crates.io/crates/async-socks5/0.5.1/download", - "sha256": "77f634add2445eb2c1f785642a67ca1073fedd71e73dc3ca69435ef9b9bdedc7" - } - }, - "targets": [ - { - "Library": { - "crate_name": "async_socks5", - "crate_root": "src/lib.rs", - "srcs": { - "allow_empty": false, - "include": [ - "**/*.rs" - ] - } - } - } - ], - "library_target_name": "async_socks5", - "common_attrs": { - "compile_data_glob": [ - "**" - ], - "deps": { - "common": [ - { - "id": "thiserror 1.0.57", - "target": "thiserror" - }, - { - "id": "tokio 1.38.0", - "target": "tokio" - } - ], - "selects": {} - }, - "edition": "2018", - "proc_macro_deps": { - "common": [ - { - "id": "async-trait 0.1.73", - "target": "async_trait" - } - ], - "selects": {} - }, - "version": "0.5.1" - }, - "license": "Apache-2.0 OR MIT", - "license_ids": [ - "Apache-2.0", - "MIT" - ], - "license_file": "LICENSE-APACHE.md" - }, "async-stream 0.3.5": { "name": "async-stream", "version": "0.3.5", @@ -16830,10 +16769,6 @@ "id": "async-scoped 0.8.0", "target": "async_scoped" }, - { - "id": "async-socks5 0.5.1", - "target": "async_socks5" - }, { "id": "async-stream 0.3.5", "target": "async_stream" @@ -77284,7 +77219,6 @@ "assert_matches 1.5.0", "async-recursion 1.0.5", "async-scoped 0.8.0", - "async-socks5 0.5.1", "async-stream 0.3.5", "async-trait 0.1.73", "axum 0.6.20", diff --git a/Cargo.Bazel.toml.lock b/Cargo.Bazel.toml.lock index c3406d76555..d87697ed13d 100644 --- a/Cargo.Bazel.toml.lock +++ b/Cargo.Bazel.toml.lock @@ -639,17 +639,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "async-socks5" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77f634add2445eb2c1f785642a67ca1073fedd71e73dc3ca69435ef9b9bdedc7" -dependencies = [ - "async-trait", - "thiserror", - "tokio", -] - [[package]] name = "async-stream" version = "0.3.5" @@ -2879,7 +2868,6 @@ dependencies = [ "assert_matches", "async-recursion", "async-scoped", - "async-socks5", "async-stream", "async-trait", "axum 0.6.20", diff --git a/bazel/external_crates.bzl b/bazel/external_crates.bzl index 0ae6fcd20f8..963ef85f510 100644 --- a/bazel/external_crates.bzl +++ b/bazel/external_crates.bzl @@ -146,9 +146,6 @@ def external_crates_repository(name, cargo_lockfile, lockfile, sanitizers_enable "use-tokio", ], ), - "async-socks5": crate.spec( - version = "^0.5.1", - ), "async-stream": crate.spec( version = "^0.3.5", ),