From cc7e6da08753b82d28179268d7605fe82265c228 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 9 Jun 2022 11:29:07 -0400 Subject: [PATCH] build(deps): bump hyper from 0.14.2 to 0.14.7 in /tensorboard/data/server (#5741) * build(deps): bump hyper in /tensorboard/data/server Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.2 to 0.14.7. - [Release notes](https://github.com/hyperium/hyper/releases) - [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md) - [Commits](https://github.com/hyperium/hyper/compare/v0.14.2...v0.14.7) --- updated-dependencies: - dependency-name: hyper dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Brian Dubois --- tensorboard/data/server/Cargo.lock | 30 +++++--- third_party/rust/crates.bzl | 50 +++++++------ .../rust/remote/BUILD.atty-0.2.14.bazel | 2 +- .../rust/remote/BUILD.getrandom-0.1.15.bazel | 2 +- .../rust/remote/BUILD.getrandom-0.2.1.bazel | 2 +- .../rust/remote/BUILD.hermit-abi-0.1.17.bazel | 2 +- ...1.3.4.bazel => BUILD.httparse-1.7.1.bazel} | 2 +- ...0.3.2.bazel => BUILD.httpdate-1.0.2.bazel} | 6 +- ...-0.14.2.bazel => BUILD.hyper-0.14.7.bazel} | 12 ++-- .../remote/BUILD.hyper-rustls-0.22.1.bazel | 2 +- ...-0.2.80.bazel => BUILD.libc-0.2.126.bazel} | 4 +- third_party/rust/remote/BUILD.mio-0.7.7.bazel | 2 +- .../rust/remote/BUILD.num_cpus-1.13.0.bazel | 2 +- .../rust/remote/BUILD.rand-0.7.3.bazel | 2 +- .../rust/remote/BUILD.rand-0.8.2.bazel | 2 +- .../rust/remote/BUILD.reqwest-0.11.0.bazel | 2 +- .../rust/remote/BUILD.ring-0.16.20.bazel | 2 +- .../rust/remote/BUILD.socket2-0.3.16.bazel | 2 +- .../rust/remote/BUILD.socket2-0.4.4.bazel | 72 +++++++++++++++++++ .../rust/remote/BUILD.tempfile-3.1.0.bazel | 2 +- .../rust/remote/BUILD.tokio-1.8.4.bazel | 2 +- .../rust/remote/BUILD.tonic-0.4.2.bazel | 2 +- .../rust/remote/BUILD.which-4.0.2.bazel | 2 +- 23 files changed, 153 insertions(+), 55 deletions(-) rename third_party/rust/remote/{BUILD.httparse-1.3.4.bazel => BUILD.httparse-1.7.1.bazel} (98%) rename third_party/rust/remote/{BUILD.httpdate-0.3.2.bazel => BUILD.httpdate-1.0.2.bazel} (90%) rename third_party/rust/remote/{BUILD.hyper-0.14.2.bazel => BUILD.hyper-0.14.7.bazel} (92%) rename third_party/rust/remote/{BUILD.libc-0.2.80.bazel => BUILD.libc-0.2.126.bazel} (97%) create mode 100644 third_party/rust/remote/BUILD.socket2-0.4.4.bazel diff --git a/tensorboard/data/server/Cargo.lock b/tensorboard/data/server/Cargo.lock index 2c96fda3c51..08bb1da4bae 100644 --- a/tensorboard/data/server/Cargo.lock +++ b/tensorboard/data/server/Cargo.lock @@ -447,15 +447,15 @@ dependencies = [ [[package]] name = "httparse" -version = "1.3.4" +version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9" +checksum = "496ce29bb5a52785b44e0f7ca2847ae0bb839c9bd28f69acac9b99d461c0c04c" [[package]] name = "httpdate" -version = "0.3.2" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47" +checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" [[package]] name = "humantime" @@ -465,9 +465,9 @@ checksum = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a" [[package]] name = "hyper" -version = "0.14.2" +version = "0.14.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12219dc884514cb4a6a03737f4413c0e01c23a1b059b0156004b23f1e19dccbe" +checksum = "1e5f105c494081baa3bf9e200b279e27ec1623895cd504c7dbef8d0b080fcf54" dependencies = [ "bytes 1.0.1", "futures-channel", @@ -480,7 +480,7 @@ dependencies = [ "httpdate", "itoa", "pin-project 1.0.1", - "socket2", + "socket2 0.4.4", "tokio", "tower-service", "tracing", @@ -561,9 +561,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.80" +version = "0.2.126" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d58d1b70b004888f764dfbf6a26a3b0342a1632d33968e4a179d8011c760614" +checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836" [[package]] name = "log" @@ -620,7 +620,7 @@ version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a33c1b55807fbed163481b5ba66db4b2fa6cde694a5027be10fb724206c5897" dependencies = [ - "socket2", + "socket2 0.3.16", "winapi", ] @@ -1175,6 +1175,16 @@ dependencies = [ "winapi", ] +[[package]] +name = "socket2" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66d72b759436ae32898a2af0a14218dbf55efde3feeb170eb623637db85ee1e0" +dependencies = [ + "libc", + "winapi", +] + [[package]] name = "spin" version = "0.5.2" diff --git a/third_party/rust/crates.bzl b/third_party/rust/crates.bzl index 749fffffcb8..7611a6a207f 100644 --- a/third_party/rust/crates.bzl +++ b/third_party/rust/crates.bzl @@ -493,22 +493,22 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__httparse__1_3_4", - url = "https://crates.io/api/v1/crates/httparse/1.3.4/download", + name = "raze__httparse__1_7_1", + url = "https://crates.io/api/v1/crates/httparse/1.7.1/download", type = "tar.gz", - sha256 = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9", - strip_prefix = "httparse-1.3.4", - build_file = Label("//third_party/rust/remote:BUILD.httparse-1.3.4.bazel"), + sha256 = "496ce29bb5a52785b44e0f7ca2847ae0bb839c9bd28f69acac9b99d461c0c04c", + strip_prefix = "httparse-1.7.1", + build_file = Label("//third_party/rust/remote:BUILD.httparse-1.7.1.bazel"), ) maybe( http_archive, - name = "raze__httpdate__0_3_2", - url = "https://crates.io/api/v1/crates/httpdate/0.3.2/download", + name = "raze__httpdate__1_0_2", + url = "https://crates.io/api/v1/crates/httpdate/1.0.2/download", type = "tar.gz", - sha256 = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47", - strip_prefix = "httpdate-0.3.2", - build_file = Label("//third_party/rust/remote:BUILD.httpdate-0.3.2.bazel"), + sha256 = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421", + strip_prefix = "httpdate-1.0.2", + build_file = Label("//third_party/rust/remote:BUILD.httpdate-1.0.2.bazel"), ) maybe( @@ -523,12 +523,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__hyper__0_14_2", - url = "https://crates.io/api/v1/crates/hyper/0.14.2/download", + name = "raze__hyper__0_14_7", + url = "https://crates.io/api/v1/crates/hyper/0.14.7/download", type = "tar.gz", - sha256 = "12219dc884514cb4a6a03737f4413c0e01c23a1b059b0156004b23f1e19dccbe", - strip_prefix = "hyper-0.14.2", - build_file = Label("//third_party/rust/remote:BUILD.hyper-0.14.2.bazel"), + sha256 = "1e5f105c494081baa3bf9e200b279e27ec1623895cd504c7dbef8d0b080fcf54", + strip_prefix = "hyper-0.14.7", + build_file = Label("//third_party/rust/remote:BUILD.hyper-0.14.7.bazel"), ) maybe( @@ -613,12 +613,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__libc__0_2_80", - url = "https://crates.io/api/v1/crates/libc/0.2.80/download", + name = "raze__libc__0_2_126", + url = "https://crates.io/api/v1/crates/libc/0.2.126/download", type = "tar.gz", - sha256 = "4d58d1b70b004888f764dfbf6a26a3b0342a1632d33968e4a179d8011c760614", - strip_prefix = "libc-0.2.80", - build_file = Label("//third_party/rust/remote:BUILD.libc-0.2.80.bazel"), + sha256 = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836", + strip_prefix = "libc-0.2.126", + build_file = Label("//third_party/rust/remote:BUILD.libc-0.2.126.bazel"), ) maybe( @@ -1211,6 +1211,16 @@ def raze_fetch_remote_crates(): build_file = Label("//third_party/rust/remote:BUILD.socket2-0.3.16.bazel"), ) + maybe( + http_archive, + name = "raze__socket2__0_4_4", + url = "https://crates.io/api/v1/crates/socket2/0.4.4/download", + type = "tar.gz", + sha256 = "66d72b759436ae32898a2af0a14218dbf55efde3feeb170eb623637db85ee1e0", + strip_prefix = "socket2-0.4.4", + build_file = Label("//third_party/rust/remote:BUILD.socket2-0.4.4.bazel"), + ) + maybe( http_archive, name = "raze__spin__0_5_2", diff --git a/third_party/rust/remote/BUILD.atty-0.2.14.bazel b/third_party/rust/remote/BUILD.atty-0.2.14.bazel index d0b3289dde1..9a86fd5ead3 100644 --- a/third_party/rust/remote/BUILD.atty-0.2.14.bazel +++ b/third_party/rust/remote/BUILD.atty-0.2.14.bazel @@ -59,7 +59,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ - "@raze__libc__0_2_80//:libc", + "@raze__libc__0_2_126//:libc", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/third_party/rust/remote/BUILD.getrandom-0.1.15.bazel b/third_party/rust/remote/BUILD.getrandom-0.1.15.bazel index 214ef34bad2..0eb7c5598be 100644 --- a/third_party/rust/remote/BUILD.getrandom-0.1.15.bazel +++ b/third_party/rust/remote/BUILD.getrandom-0.1.15.bazel @@ -63,7 +63,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ - "@raze__libc__0_2_80//:libc", + "@raze__libc__0_2_126//:libc", ], "//conditions:default": [], }), diff --git a/third_party/rust/remote/BUILD.getrandom-0.2.1.bazel b/third_party/rust/remote/BUILD.getrandom-0.2.1.bazel index e2b81427c6f..1ef61a2d1b7 100644 --- a/third_party/rust/remote/BUILD.getrandom-0.2.1.bazel +++ b/third_party/rust/remote/BUILD.getrandom-0.2.1.bazel @@ -63,7 +63,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ - "@raze__libc__0_2_80//:libc", + "@raze__libc__0_2_126//:libc", ], "//conditions:default": [], }), diff --git a/third_party/rust/remote/BUILD.hermit-abi-0.1.17.bazel b/third_party/rust/remote/BUILD.hermit-abi-0.1.17.bazel index 46f3cd64336..c1307cca670 100644 --- a/third_party/rust/remote/BUILD.hermit-abi-0.1.17.bazel +++ b/third_party/rust/remote/BUILD.hermit-abi-0.1.17.bazel @@ -50,6 +50,6 @@ rust_library( version = "0.1.17", # buildifier: leave-alone deps = [ - "@raze__libc__0_2_80//:libc", + "@raze__libc__0_2_126//:libc", ], ) diff --git a/third_party/rust/remote/BUILD.httparse-1.3.4.bazel b/third_party/rust/remote/BUILD.httparse-1.7.1.bazel similarity index 98% rename from third_party/rust/remote/BUILD.httparse-1.3.4.bazel rename to third_party/rust/remote/BUILD.httparse-1.7.1.bazel index 936dca1bcf4..7aa0c77fe7f 100644 --- a/third_party/rust/remote/BUILD.httparse-1.3.4.bazel +++ b/third_party/rust/remote/BUILD.httparse-1.7.1.bazel @@ -52,7 +52,7 @@ rust_library( "cargo-raze", "manual", ], - version = "1.3.4", + version = "1.7.1", # buildifier: leave-alone deps = [ ], diff --git a/third_party/rust/remote/BUILD.httpdate-0.3.2.bazel b/third_party/rust/remote/BUILD.httpdate-1.0.2.bazel similarity index 90% rename from third_party/rust/remote/BUILD.httpdate-0.3.2.bazel rename to third_party/rust/remote/BUILD.httpdate-1.0.2.bazel index 2d29ac1b746..3f578780c9e 100644 --- a/third_party/rust/remote/BUILD.httpdate-0.3.2.bazel +++ b/third_party/rust/remote/BUILD.httpdate-1.0.2.bazel @@ -31,6 +31,8 @@ licenses([ # Generated Targets +# Unsupported target "benchmarks" with type "bench" omitted + rust_library( name = "httpdate", srcs = glob(["**/*.rs"]), @@ -38,7 +40,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2015", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], @@ -46,7 +48,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.3.2", + version = "1.0.2", # buildifier: leave-alone deps = [ ], diff --git a/third_party/rust/remote/BUILD.hyper-0.14.2.bazel b/third_party/rust/remote/BUILD.hyper-0.14.7.bazel similarity index 92% rename from third_party/rust/remote/BUILD.hyper-0.14.2.bazel rename to third_party/rust/remote/BUILD.hyper-0.14.7.bazel index 5119fa6a24f..06d2c66fa01 100644 --- a/third_party/rust/remote/BUILD.hyper-0.14.2.bazel +++ b/third_party/rust/remote/BUILD.hyper-0.14.7.bazel @@ -41,6 +41,8 @@ licenses([ # Unsupported target "server" with type "bench" omitted +# Unsupported target "hyper" with type "cdylib" omitted + # Unsupported target "client" with type "example" omitted # Unsupported target "client_json" with type "example" omitted @@ -99,7 +101,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.14.2", + version = "0.14.7", # buildifier: leave-alone deps = [ "@raze__bytes__1_0_1//:bytes", @@ -109,11 +111,11 @@ rust_library( "@raze__h2__0_3_0//:h2", "@raze__http__0_2_1//:http", "@raze__http_body__0_4_0//:http_body", - "@raze__httparse__1_3_4//:httparse", - "@raze__httpdate__0_3_2//:httpdate", + "@raze__httparse__1_7_1//:httparse", + "@raze__httpdate__1_0_2//:httpdate", "@raze__itoa__0_4_6//:itoa", "@raze__pin_project__1_0_1//:pin_project", - "@raze__socket2__0_3_16//:socket2", + "@raze__socket2__0_4_4//:socket2", "@raze__tokio__1_8_4//:tokio", "@raze__tower_service__0_3_0//:tower_service", "@raze__tracing__0_1_21//:tracing", @@ -121,6 +123,8 @@ rust_library( ], ) +# Unsupported target "hyper" with type "staticlib" omitted + # Unsupported target "client" with type "test" omitted # Unsupported target "integration" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.hyper-rustls-0.22.1.bazel b/third_party/rust/remote/BUILD.hyper-rustls-0.22.1.bazel index 8ca8645974a..059af5da105 100644 --- a/third_party/rust/remote/BUILD.hyper-rustls-0.22.1.bazel +++ b/third_party/rust/remote/BUILD.hyper-rustls-0.22.1.bazel @@ -54,7 +54,7 @@ rust_library( # buildifier: leave-alone deps = [ "@raze__futures_util__0_3_8//:futures_util", - "@raze__hyper__0_14_2//:hyper", + "@raze__hyper__0_14_7//:hyper", "@raze__log__0_4_11//:log", "@raze__rustls__0_19_0//:rustls", "@raze__tokio__1_8_4//:tokio", diff --git a/third_party/rust/remote/BUILD.libc-0.2.80.bazel b/third_party/rust/remote/BUILD.libc-0.2.126.bazel similarity index 97% rename from third_party/rust/remote/BUILD.libc-0.2.80.bazel rename to third_party/rust/remote/BUILD.libc-0.2.126.bazel index 978f88ab248..4e6dcd045c8 100644 --- a/third_party/rust/remote/BUILD.libc-0.2.80.bazel +++ b/third_party/rust/remote/BUILD.libc-0.2.126.bazel @@ -57,7 +57,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.2.80", + version = "0.2.126", visibility = ["//visibility:private"], deps = [ ], @@ -81,7 +81,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.2.80", + version = "0.2.126", # buildifier: leave-alone deps = [ ":libc_build_script", diff --git a/third_party/rust/remote/BUILD.mio-0.7.7.bazel b/third_party/rust/remote/BUILD.mio-0.7.7.bazel index 7a9a31ea9f0..7ae04aeb7a1 100644 --- a/third_party/rust/remote/BUILD.mio-0.7.7.bazel +++ b/third_party/rust/remote/BUILD.mio-0.7.7.bazel @@ -70,7 +70,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ - "@raze__libc__0_2_80//:libc", + "@raze__libc__0_2_126//:libc", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/third_party/rust/remote/BUILD.num_cpus-1.13.0.bazel b/third_party/rust/remote/BUILD.num_cpus-1.13.0.bazel index 8b66ab9b486..a7802cd918b 100644 --- a/third_party/rust/remote/BUILD.num_cpus-1.13.0.bazel +++ b/third_party/rust/remote/BUILD.num_cpus-1.13.0.bazel @@ -51,6 +51,6 @@ rust_library( version = "1.13.0", # buildifier: leave-alone deps = [ - "@raze__libc__0_2_80//:libc", + "@raze__libc__0_2_126//:libc", ], ) diff --git a/third_party/rust/remote/BUILD.rand-0.7.3.bazel b/third_party/rust/remote/BUILD.rand-0.7.3.bazel index e7fa1257e06..66b6df46649 100644 --- a/third_party/rust/remote/BUILD.rand-0.7.3.bazel +++ b/third_party/rust/remote/BUILD.rand-0.7.3.bazel @@ -88,7 +88,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ - "@raze__libc__0_2_80//:libc", + "@raze__libc__0_2_126//:libc", ], "//conditions:default": [], }), diff --git a/third_party/rust/remote/BUILD.rand-0.8.2.bazel b/third_party/rust/remote/BUILD.rand-0.8.2.bazel index f7d83df38cf..675cfefaa61 100644 --- a/third_party/rust/remote/BUILD.rand-0.8.2.bazel +++ b/third_party/rust/remote/BUILD.rand-0.8.2.bazel @@ -77,7 +77,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ - "@raze__libc__0_2_80//:libc", + "@raze__libc__0_2_126//:libc", ], "//conditions:default": [], }), diff --git a/third_party/rust/remote/BUILD.reqwest-0.11.0.bazel b/third_party/rust/remote/BUILD.reqwest-0.11.0.bazel index be6c8f6ffbf..a950ba75f04 100644 --- a/third_party/rust/remote/BUILD.reqwest-0.11.0.bazel +++ b/third_party/rust/remote/BUILD.reqwest-0.11.0.bazel @@ -92,7 +92,7 @@ rust_library( "@raze__futures_core__0_3_12//:futures_core", "@raze__futures_util__0_3_8//:futures_util", "@raze__http_body__0_4_0//:http_body", - "@raze__hyper__0_14_2//:hyper", + "@raze__hyper__0_14_7//:hyper", "@raze__hyper_rustls__0_22_1//:hyper_rustls", "@raze__ipnet__2_3_0//:ipnet", "@raze__lazy_static__1_4_0//:lazy_static", diff --git a/third_party/rust/remote/BUILD.ring-0.16.20.bazel b/third_party/rust/remote/BUILD.ring-0.16.20.bazel index f071931b793..38f48abf2a7 100644 --- a/third_party/rust/remote/BUILD.ring-0.16.20.bazel +++ b/third_party/rust/remote/BUILD.ring-0.16.20.bazel @@ -130,7 +130,7 @@ rust_library( ( "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ - "@raze__libc__0_2_80//:libc", + "@raze__libc__0_2_126//:libc", "@raze__once_cell__1_5_2//:once_cell", ], "//conditions:default": [], diff --git a/third_party/rust/remote/BUILD.socket2-0.3.16.bazel b/third_party/rust/remote/BUILD.socket2-0.3.16.bazel index 4ae93303ddc..eb5fe7140a2 100644 --- a/third_party/rust/remote/BUILD.socket2-0.3.16.bazel +++ b/third_party/rust/remote/BUILD.socket2-0.3.16.bazel @@ -58,7 +58,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ "@raze__cfg_if__0_1_10//:cfg_if", - "@raze__libc__0_2_80//:libc", + "@raze__libc__0_2_126//:libc", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/third_party/rust/remote/BUILD.socket2-0.4.4.bazel b/third_party/rust/remote/BUILD.socket2-0.4.4.bazel new file mode 100644 index 00000000000..333ee788a2a --- /dev/null +++ b/third_party/rust/remote/BUILD.socket2-0.4.4.bazel @@ -0,0 +1,72 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/rust", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "socket2", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.4", + # buildifier: leave-alone + deps = [ + ] + selects.with_or({ + # cfg(unix) + ( + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@raze__libc__0_2_126//:libc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) diff --git a/third_party/rust/remote/BUILD.tempfile-3.1.0.bazel b/third_party/rust/remote/BUILD.tempfile-3.1.0.bazel index 6da0a1872c8..9079621df8b 100644 --- a/third_party/rust/remote/BUILD.tempfile-3.1.0.bazel +++ b/third_party/rust/remote/BUILD.tempfile-3.1.0.bazel @@ -60,7 +60,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ - "@raze__libc__0_2_80//:libc", + "@raze__libc__0_2_126//:libc", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/third_party/rust/remote/BUILD.tokio-1.8.4.bazel b/third_party/rust/remote/BUILD.tokio-1.8.4.bazel index 09696bc2cd6..24654865fbe 100644 --- a/third_party/rust/remote/BUILD.tokio-1.8.4.bazel +++ b/third_party/rust/remote/BUILD.tokio-1.8.4.bazel @@ -83,7 +83,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ - "@raze__libc__0_2_80//:libc", + "@raze__libc__0_2_126//:libc", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/third_party/rust/remote/BUILD.tonic-0.4.2.bazel b/third_party/rust/remote/BUILD.tonic-0.4.2.bazel index 39211c55001..cc910db81c9 100644 --- a/third_party/rust/remote/BUILD.tonic-0.4.2.bazel +++ b/third_party/rust/remote/BUILD.tonic-0.4.2.bazel @@ -78,7 +78,7 @@ rust_library( "@raze__h2__0_3_0//:h2", "@raze__http__0_2_1//:http", "@raze__http_body__0_4_0//:http_body", - "@raze__hyper__0_14_2//:hyper", + "@raze__hyper__0_14_7//:hyper", "@raze__percent_encoding__2_1_0//:percent_encoding", "@raze__pin_project__1_0_1//:pin_project", "@raze__prost__0_7_0//:prost", diff --git a/third_party/rust/remote/BUILD.which-4.0.2.bazel b/third_party/rust/remote/BUILD.which-4.0.2.bazel index 6e30df38c76..976ddf583b9 100644 --- a/third_party/rust/remote/BUILD.which-4.0.2.bazel +++ b/third_party/rust/remote/BUILD.which-4.0.2.bazel @@ -49,7 +49,7 @@ rust_library( version = "4.0.2", # buildifier: leave-alone deps = [ - "@raze__libc__0_2_80//:libc", + "@raze__libc__0_2_126//:libc", "@raze__thiserror__1_0_22//:thiserror", ], )