From b480ba3202000299921265590d9ece37a4a51c36 Mon Sep 17 00:00:00 2001 From: Brian Dubois Date: Mon, 13 Jun 2022 07:21:38 -0400 Subject: [PATCH] build(deps): bump prost* to 0.9.0, tonic to 0.6.2, tonic-reflection to 0.3.0 (#5755) Note: This subsumes #5738, which just attempted to update prost-types to 0.8.0. For Reviewers: The only file I modified by hand is Cargo.toml. Everything else is auto-generated from subsequent commands (`cargo update`, `cargo raze`, `bazel run //tensorboard/data/server:update_protos`) #5738 attempted to update prost-types from 0.7.0 to 0.8.0. This did not work out-of-the-box for several reasons, the most important of which is that we could not successfully build and run the server with mixed versions of prost (0.7.0), prost-types (0.8.0), and prost-build (0.7.0). This PR attempts to upgrade all three of prost, prost-types, and prost-build to the same version at the same time. We also upgrade tonic, tonic-reflection, and tonic-build so that they, too, depend on the same prost version and we don't have multiple prost crates of different versions. * https://crates.io/crates/prost/0.9.0 * https://crates.io/crates/prost-types/0.9.0 * https://crates.io/crates/prost-build/0.9.0 * https://crates.io/crates/tonic/0.6.2 * https://crates.io/crates/tonic-build/0.6.2 * https://crates.io/crates/tonic-reflection/0.3.0 We choose to upgrade prost to 0.9.0 because, why not? We attempted to upgrade to 0.10.* (the latest version) but these versions of prost have a dependency on cmake, which seems to assume cmake is installed on your machine, which it typically is not within Google. There seems to be some work to further refine the dependency on cmake (https://github.com/tokio-rs/prost/pull/620, https://github.com/tokio-rs/prost/pull/657) so hopefully this gets resolved in a future release of prost and a future upgrade to, say, 0.11 will not have the cmake problems. The upgrade was not straightforward for me, a rust and rustboard newb. Several other edits had to be made and commands had to be run to get it to work. This was the incantation that finally worked for me: * Edit Cargo.toml to update versions of prost, prost-types, prost-build, tonic, tonic-reflection, tonic-build and to update any related raze metadata entries. * Run `cargo update -p prost -p prost-types -p prost-build -p tonic -p tonic-reflection -p tonic-build` * Inspect Cargo.lock and compare to raze metadata entries in Cargo.toml. If any of the versions changed (indexmap) then update the associated raze metadata entry. If any of the crates were removed (none were) then remove the associated raze metadata entry. Also, libc version didn't change but I updated its raze metadata anyway since its version seems to have changed in the past. * Run `cargo raze` * Run `bazel test //tensorboard/data/server:update_protos_test` (especially since this is updating proto-related libraries) and witness it FAIL and then run `bazel run //tensorboard/data/server:update_protos`. * Confirm server works with `bazel run -c opt //tensorboard/data/server -- --logdir ` --- tensorboard/data/server/Cargo.lock | 287 +++++++----- tensorboard/data/server/Cargo.toml | 22 +- tensorboard/data/server/cargo/BUILD.bazel | 14 +- .../data/server/tensorboard.data.pb.rs | 8 +- tensorboard/data/server/tensorboard.pb.rs | 2 +- third_party/rust/crates.bzl | 420 ++++++++++-------- ....bazel => BUILD.aho-corasick-0.7.18.bazel} | 6 +- .../rust/remote/BUILD.clap-3.0.0-beta.2.bazel | 2 +- .../rust/remote/BUILD.env_logger-0.8.2.bazel | 2 +- ....0.bazel => BUILD.fixedbitset-0.4.1.bazel} | 2 +- .../remote/BUILD.futures-util-0.3.8.bazel | 2 +- ...D.h2-0.3.0.bazel => BUILD.h2-0.3.13.bazel} | 11 +- ...9.1.bazel => BUILD.hashbrown-0.11.2.bazel} | 2 +- ....4.0.bazel => BUILD.http-body-0.4.5.bazel} | 3 +- ...0.14.7.bazel => BUILD.hyper-0.14.19.bazel} | 18 +- .../remote/BUILD.hyper-rustls-0.22.1.bazel | 4 +- .../remote/BUILD.hyper-timeout-0.4.1.bazel | 59 +++ ...1.6.0.bazel => BUILD.indexmap-1.8.2.bazel} | 5 +- ...9.0.bazel => BUILD.itertools-0.10.3.bazel} | 11 +- ...ax-0.6.21.bazel => BUILD.itoa-1.0.2.bazel} | 8 +- .../rust/remote/BUILD.libc-0.2.126.bazel | 2 - ...r-2.3.4.bazel => BUILD.memchr-2.5.0.bazel} | 5 +- ....mio-0.7.7.bazel => BUILD.mio-0.8.3.bazel} | 12 +- .../rust/remote/BUILD.once_cell-1.5.2.bazel | 1 + ...0.5.1.bazel => BUILD.petgraph-0.6.2.bazel} | 28 +- .../BUILD.pin-project-lite-0.1.11.bazel | 61 --- ...zel => BUILD.pin-project-lite-0.2.9.bazel} | 4 +- ...st-0.7.0.bazel => BUILD.prost-0.9.0.bazel} | 4 +- ....0.bazel => BUILD.prost-build-0.9.0.bazel} | 14 +- ...0.bazel => BUILD.prost-derive-0.9.0.bazel} | 4 +- ....0.bazel => BUILD.prost-types-0.9.0.bazel} | 4 +- ...ex-1.4.2.bazel => BUILD.regex-1.5.6.bazel} | 21 +- .../remote/BUILD.regex-syntax-0.6.26.bazel | 64 +++ .../rust/remote/BUILD.reqwest-0.11.0.bazel | 8 +- .../rust/remote/BUILD.socket2-0.4.4.bazel | 1 + .../remote/BUILD.thread_local-1.0.1.bazel | 56 --- ...o-1.8.4.bazel => BUILD.tokio-1.19.2.bazel} | 34 +- .../remote/BUILD.tokio-io-timeout-1.2.0.bazel | 55 +++ .../remote/BUILD.tokio-rustls-0.22.0.bazel | 2 +- .../remote/BUILD.tokio-stream-0.1.2.bazel | 4 +- .../rust/remote/BUILD.tokio-util-0.6.6.bazel | 4 +- .../rust/remote/BUILD.tokio-util-0.7.3.bazel | 100 +++++ ...ic-0.4.2.bazel => BUILD.tonic-0.6.2.bazel} | 23 +- ....2.bazel => BUILD.tonic-build-0.6.2.bazel} | 4 +- ...zel => BUILD.tonic-reflection-0.3.0.bazel} | 22 +- ...r-0.4.6.bazel => BUILD.tower-0.4.11.bazel} | 9 +- ....1.21.bazel => BUILD.tracing-0.1.34.bazel} | 24 +- ... => BUILD.tracing-attributes-0.1.21.bazel} | 8 +- ....bazel => BUILD.tracing-core-0.1.26.bazel} | 2 +- .../remote/BUILD.tracing-futures-0.2.4.bazel | 2 +- ...D.wasi-0.11.0+wasi-snapshot-preview1.bazel | 55 +++ .../rust/remote/BUILD.winapi-0.3.9.bazel | 10 - ...6.bazel => BUILD.windows-sys-0.36.1.bazel} | 30 +- ...> BUILD.windows_aarch64_msvc-0.36.1.bazel} | 9 +- ...el => BUILD.windows_i686_gnu-0.36.1.bazel} | 8 +- .../BUILD.windows_i686_msvc-0.36.1.bazel | 55 +++ .../BUILD.windows_x86_64_gnu-0.36.1.bazel | 55 +++ .../BUILD.windows_x86_64_msvc-0.36.1.bazel | 55 +++ 58 files changed, 1154 insertions(+), 593 deletions(-) rename third_party/rust/remote/{BUILD.aho-corasick-0.7.15.bazel => BUILD.aho-corasick-0.7.18.bazel} (92%) rename third_party/rust/remote/{BUILD.fixedbitset-0.2.0.bazel => BUILD.fixedbitset-0.4.1.bazel} (97%) rename third_party/rust/remote/{BUILD.h2-0.3.0.bazel => BUILD.h2-0.3.13.bazel} (85%) rename third_party/rust/remote/{BUILD.hashbrown-0.9.1.bazel => BUILD.hashbrown-0.11.2.bazel} (98%) rename third_party/rust/remote/{BUILD.http-body-0.4.0.bazel => BUILD.http-body-0.4.5.bazel} (93%) rename third_party/rust/remote/{BUILD.hyper-0.14.7.bazel => BUILD.hyper-0.14.19.bazel} (88%) create mode 100644 third_party/rust/remote/BUILD.hyper-timeout-0.4.1.bazel rename third_party/rust/remote/{BUILD.indexmap-1.6.0.bazel => BUILD.indexmap-1.8.2.bazel} (94%) rename third_party/rust/remote/{BUILD.itertools-0.9.0.bazel => BUILD.itertools-0.10.3.bazel} (87%) rename third_party/rust/remote/{BUILD.regex-syntax-0.6.21.bazel => BUILD.itoa-1.0.2.bazel} (89%) rename third_party/rust/remote/{BUILD.memchr-2.3.4.bazel => BUILD.memchr-2.5.0.bazel} (94%) rename third_party/rust/remote/{BUILD.mio-0.7.7.bazel => BUILD.mio-0.8.3.bazel} (88%) rename third_party/rust/remote/{BUILD.petgraph-0.5.1.bazel => BUILD.petgraph-0.6.2.bazel} (68%) delete mode 100644 third_party/rust/remote/BUILD.pin-project-lite-0.1.11.bazel rename third_party/rust/remote/{BUILD.pin-project-lite-0.2.4.bazel => BUILD.pin-project-lite-0.2.9.bazel} (94%) rename third_party/rust/remote/{BUILD.prost-0.7.0.bazel => BUILD.prost-0.9.0.bazel} (93%) rename third_party/rust/remote/{BUILD.prost-build-0.7.0.bazel => BUILD.prost-build-0.9.0.bazel} (85%) rename third_party/rust/remote/{BUILD.prost-derive-0.7.0.bazel => BUILD.prost-derive-0.9.0.bazel} (94%) rename third_party/rust/remote/{BUILD.prost-types-0.7.0.bazel => BUILD.prost-types-0.9.0.bazel} (94%) rename third_party/rust/remote/{BUILD.regex-1.4.2.bazel => BUILD.regex-1.5.6.bazel} (84%) create mode 100644 third_party/rust/remote/BUILD.regex-syntax-0.6.26.bazel delete mode 100644 third_party/rust/remote/BUILD.thread_local-1.0.1.bazel rename third_party/rust/remote/{BUILD.tokio-1.8.4.bazel => BUILD.tokio-1.19.2.bazel} (89%) create mode 100644 third_party/rust/remote/BUILD.tokio-io-timeout-1.2.0.bazel create mode 100644 third_party/rust/remote/BUILD.tokio-util-0.7.3.bazel rename third_party/rust/remote/{BUILD.tonic-0.4.2.bazel => BUILD.tonic-0.6.2.bazel} (78%) rename third_party/rust/remote/{BUILD.tonic-build-0.4.2.bazel => BUILD.tonic-build-0.6.2.bazel} (94%) rename third_party/rust/remote/{BUILD.tonic-reflection-0.1.0.bazel => BUILD.tonic-reflection-0.3.0.bazel} (82%) rename third_party/rust/remote/{BUILD.tower-0.4.6.bazel => BUILD.tower-0.4.11.bazel} (92%) rename third_party/rust/remote/{BUILD.tracing-0.1.21.bazel => BUILD.tracing-0.1.34.bazel} (74%) rename third_party/rust/remote/{BUILD.tracing-attributes-0.1.11.bazel => BUILD.tracing-attributes-0.1.21.bazel} (89%) rename third_party/rust/remote/{BUILD.tracing-core-0.1.17.bazel => BUILD.tracing-core-0.1.26.bazel} (98%) create mode 100644 third_party/rust/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel rename third_party/rust/remote/{BUILD.socket2-0.3.16.bazel => BUILD.windows-sys-0.36.1.bazel} (70%) rename third_party/rust/remote/{BUILD.ntapi-0.3.6.bazel => BUILD.windows_aarch64_msvc-0.36.1.bazel} (84%) rename third_party/rust/remote/{BUILD.miow-0.3.6.bazel => BUILD.windows_i686_gnu-0.36.1.bazel} (88%) create mode 100644 third_party/rust/remote/BUILD.windows_i686_msvc-0.36.1.bazel create mode 100644 third_party/rust/remote/BUILD.windows_x86_64_gnu-0.36.1.bazel create mode 100644 third_party/rust/remote/BUILD.windows_x86_64_msvc-0.36.1.bazel diff --git a/tensorboard/data/server/Cargo.lock b/tensorboard/data/server/Cargo.lock index 08bb1da4bae..b6f2e1e6929 100644 --- a/tensorboard/data/server/Cargo.lock +++ b/tensorboard/data/server/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "aho-corasick" -version = "0.7.15" +version = "0.7.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7404febffaa47dac81aa44dba71523c9d069b1bdc50a77db41195149e17f68e5" +checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" dependencies = [ "memchr", ] @@ -272,9 +272,9 @@ dependencies = [ [[package]] name = "fixedbitset" -version = "0.2.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d" +checksum = "279fb028e20b3c4c320317955b77c5e0c9701f05a1d309905d6fc702cdc5053e" [[package]] name = "fnv" @@ -382,9 +382,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.0" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b67e66362108efccd8ac053abafc8b7a8d86a37e6e48fc4f6f7485eb5e9e6a5" +checksum = "37a82c6d637fc9515a4694bbf1cb2457b79d81ce52b3108bdeea58b07dd34a57" dependencies = [ "bytes 1.0.1", "fnv", @@ -395,16 +395,15 @@ dependencies = [ "indexmap", "slab", "tokio", - "tokio-util", + "tokio-util 0.7.3", "tracing", - "tracing-futures", ] [[package]] name = "hashbrown" -version = "0.9.1" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04" +checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" [[package]] name = "heck" @@ -432,17 +431,18 @@ checksum = "28d569972648b2c512421b5f2a405ad6ac9666547189d0c5477a3f200f3e02f9" dependencies = [ "bytes 0.5.6", "fnv", - "itoa", + "itoa 0.4.6", ] [[package]] name = "http-body" -version = "0.4.0" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2861bd27ee074e5ee891e8b539837a9430012e249d7f0ca2d795650f579c1994" +checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes 1.0.1", "http", + "pin-project-lite", ] [[package]] @@ -465,9 +465,9 @@ checksum = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a" [[package]] name = "hyper" -version = "0.14.7" +version = "0.14.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e5f105c494081baa3bf9e200b279e27ec1623895cd504c7dbef8d0b080fcf54" +checksum = "42dc3c131584288d375f2d07f822b0cb012d8c6fb899a5b9fdb3cb7eb9b6004f" dependencies = [ "bytes 1.0.1", "futures-channel", @@ -478,9 +478,9 @@ dependencies = [ "http-body", "httparse", "httpdate", - "itoa", - "pin-project 1.0.1", - "socket2 0.4.4", + "itoa 1.0.2", + "pin-project-lite", + "socket2", "tokio", "tower-service", "tracing", @@ -502,6 +502,18 @@ dependencies = [ "webpki", ] +[[package]] +name = "hyper-timeout" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1" +dependencies = [ + "hyper", + "pin-project-lite", + "tokio", + "tokio-io-timeout", +] + [[package]] name = "idna" version = "0.2.0" @@ -515,9 +527,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "1.6.0" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55e2e4c765aa53a0424761bf9f41aa7a6ac1efa87238f59560640e27fca028f2" +checksum = "e6012d540c5baa3589337a98ce73408de9b5a25ec9fc2c6fd6be8f0d39e0ca5a" dependencies = [ "autocfg", "hashbrown", @@ -531,9 +543,9 @@ checksum = "47be2f14c678be2fdcab04ab1171db51b2762ce6f0a8ee87c8dd4a04ed216135" [[package]] name = "itertools" -version = "0.9.0" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b" +checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3" dependencies = [ "either", ] @@ -544,6 +556,12 @@ version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6" +[[package]] +name = "itoa" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "112c678d4050afce233f4f2852bb2eb519230b3cf12f33585275537d7e41578d" + [[package]] name = "js-sys" version = "0.3.47" @@ -582,9 +600,9 @@ checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" [[package]] name = "memchr" -version = "2.3.4" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525" +checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "memoffset" @@ -603,25 +621,14 @@ checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" [[package]] name = "mio" -version = "0.7.7" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e50ae3f04d169fcc9bde0b547d1c205219b7157e07ded9c5aff03e0637cb3ed7" +checksum = "713d550d9b44d89174e066b7a6217ae06234c10cb47819a88290d2b353c31799" dependencies = [ "libc", "log", - "miow", - "ntapi", - "winapi", -] - -[[package]] -name = "miow" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a33c1b55807fbed163481b5ba66db4b2fa6cde694a5027be10fb724206c5897" -dependencies = [ - "socket2 0.3.16", - "winapi", + "wasi 0.11.0+wasi-snapshot-preview1", + "windows-sys", ] [[package]] @@ -630,15 +637,6 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1255076139a83bb467426e7f8d0134968a8118844faa755985e077cf31850333" -[[package]] -name = "ntapi" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44" -dependencies = [ - "winapi", -] - [[package]] name = "num_cpus" version = "1.13.0" @@ -669,9 +667,9 @@ checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" [[package]] name = "petgraph" -version = "0.5.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7" +checksum = "e6d5014253a1331579ce62aa67443b4a658c5e7dd03d4bc6d302b94474888143" dependencies = [ "fixedbitset", "indexmap", @@ -719,15 +717,9 @@ dependencies = [ [[package]] name = "pin-project-lite" -version = "0.1.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c917123afa01924fc84bb20c4c03f004d9c38e5127e3c039bbf7f4b9c76a2f6b" - -[[package]] -name = "pin-project-lite" -version = "0.2.4" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439697af366c49a6d0a010c56a0d97685bc140ce0d377b13a2ea2aa42d64a827" +checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" [[package]] name = "pin-utils" @@ -788,9 +780,9 @@ dependencies = [ [[package]] name = "prost" -version = "0.7.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e6984d2f1a23009bd270b8bb56d0926810a3d483f59c987d77969e9d8e840b2" +checksum = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001" dependencies = [ "bytes 1.0.1", "prost-derive", @@ -798,27 +790,29 @@ dependencies = [ [[package]] name = "prost-build" -version = "0.7.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32d3ebd75ac2679c2af3a92246639f9fcc8a442ee420719cc4fe195b98dd5fa3" +checksum = "62941722fb675d463659e49c4f3fe1fe792ff24fe5bbaa9c08cd3b98a1c354f5" dependencies = [ "bytes 1.0.1", "heck", "itertools", + "lazy_static", "log", "multimap", "petgraph", "prost", "prost-types", + "regex", "tempfile", "which", ] [[package]] name = "prost-derive" -version = "0.7.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "169a15f3008ecb5160cba7d37bcd690a7601b6d30cfb87a117d45e59d52af5d4" +checksum = "f9cc1a3263e07e0bf68e96268f37665207b49560d98739662cdfaae215c720fe" dependencies = [ "anyhow", "itertools", @@ -829,9 +823,9 @@ dependencies = [ [[package]] name = "prost-types" -version = "0.7.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b518d7cdd93dab1d1122cf07fa9a60771836c668dde9d9e2a139f957f0d9f1bb" +checksum = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a" dependencies = [ "bytes 1.0.1", "prost", @@ -960,21 +954,20 @@ checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" [[package]] name = "regex" -version = "1.4.2" +version = "1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38cf2c13ed4745de91a5eb834e11c00bcc3709e773173b2ce4c56c9fbde04b9c" +checksum = "d83f127d94bdbcda4c8cc2e50f6f84f4b611f69c902699ca385a39c3a75f9ff1" dependencies = [ "aho-corasick", "memchr", "regex-syntax", - "thread_local", ] [[package]] name = "regex-syntax" -version = "0.6.21" +version = "0.6.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b181ba2dcf07aaccad5448e8ead58db5b742cf85dfe035e2227f137a539a189" +checksum = "49b3de9ec5dc0a3417da371aab17d729997c15010e7fd24ff707773a33bddb64" [[package]] name = "remove_dir_all" @@ -1006,7 +999,7 @@ dependencies = [ "log", "mime", "percent-encoding", - "pin-project-lite 0.2.4", + "pin-project-lite", "rustls", "serde", "serde_json", @@ -1140,7 +1133,7 @@ version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fceb2595057b6891a4ee808f70054bd2d12f0e97f1cbb78689b59f676df325a" dependencies = [ - "itoa", + "itoa 0.4.6", "ryu", "serde", ] @@ -1152,7 +1145,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "edfa57a7f8d9c1d260a549e7224100f6c43d43f9103e06dd8b4095a9b2b43ce9" dependencies = [ "form_urlencoded", - "itoa", + "itoa 0.4.6", "ryu", "serde", ] @@ -1163,18 +1156,6 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" -[[package]] -name = "socket2" -version = "0.3.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fd8b795c389288baa5f355489c65e71fd48a02104600d15c4cfbc561e9e429d" -dependencies = [ - "cfg-if 0.1.10", - "libc", - "redox_syscall", - "winapi", -] - [[package]] name = "socket2" version = "0.4.4" @@ -1260,15 +1241,6 @@ dependencies = [ "syn", ] -[[package]] -name = "thread_local" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14" -dependencies = [ - "lazy_static", -] - [[package]] name = "tinyvec" version = "1.1.1" @@ -1286,21 +1258,32 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.8.4" +version = "1.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50dae83881bc9b0403dd5b44ea9deed3e939856cc8722d5be37f0d6e5c6d53dd" +checksum = "c51a52ed6686dd62c320f9b89299e9dfb46f730c7a48e635c19f21d116cb1439" dependencies = [ - "autocfg", "bytes 1.0.1", "libc", "memchr", "mio", "num_cpus", - "pin-project-lite 0.2.4", + "once_cell", + "pin-project-lite", + "socket2", "tokio-macros", "winapi", ] +[[package]] +name = "tokio-io-timeout" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30b74022ada614a1b4834de765f9bb43877f910cc8ce4be40e89042c9223a8bf" +dependencies = [ + "pin-project-lite", + "tokio", +] + [[package]] name = "tokio-macros" version = "1.8.0" @@ -1330,7 +1313,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "76066865172052eb8796c686f0b441a93df8b08d40a950b062ffb9a426f00edd" dependencies = [ "futures-core", - "pin-project-lite 0.2.4", + "pin-project-lite", "tokio", ] @@ -1344,15 +1327,29 @@ dependencies = [ "futures-core", "futures-sink", "log", - "pin-project-lite 0.2.4", + "pin-project-lite", "tokio", ] +[[package]] +name = "tokio-util" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc463cd8deddc3770d20f9852143d50bf6094e640b485cb2e189a2099085ff45" +dependencies = [ + "bytes 1.0.1", + "futures-core", + "futures-sink", + "pin-project-lite", + "tokio", + "tracing", +] + [[package]] name = "tonic" -version = "0.4.2" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "556dc31b450f45d18279cfc3d2519280273f460d5387e6b7b24503e65d206f8b" +checksum = "ff08f4649d10a70ffa3522ca559031285d8e421d727ac85c60825761818f5d0a" dependencies = [ "async-stream", "async-trait", @@ -1364,14 +1361,16 @@ dependencies = [ "http", "http-body", "hyper", + "hyper-timeout", "percent-encoding", "pin-project 1.0.1", "prost", "prost-derive", "tokio", "tokio-stream", - "tokio-util", + "tokio-util 0.6.6", "tower", + "tower-layer", "tower-service", "tracing", "tracing-futures", @@ -1379,9 +1378,9 @@ dependencies = [ [[package]] name = "tonic-build" -version = "0.4.2" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c695de27302f4697191dda1c7178131a8cb805463dda02864acb80fe1322fdcf" +checksum = "9403f1bafde247186684b230dc6f38b5cd514584e8bec1dd32514be4745fa757" dependencies = [ "proc-macro2", "prost-build", @@ -1391,9 +1390,9 @@ dependencies = [ [[package]] name = "tonic-reflection" -version = "0.1.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56498d20188550337ea6c48ecf59d11646382dbfcd61051fb98c1093cfae3c21" +checksum = "228cc5aa5d3e6e0624b5f756a7558038ee86428d1d58d8c6e551b389b12cf355" dependencies = [ "bytes 1.0.1", "prost", @@ -1406,19 +1405,20 @@ dependencies = [ [[package]] name = "tower" -version = "0.4.6" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f715efe02c0862926eb463e49368d38ddb119383475686178e32e26d15d06a66" +checksum = "5651b5f6860a99bd1adb59dbfe1db8beb433e73709d9032b413a77e2fb7c066a" dependencies = [ "futures-core", "futures-util", "indexmap", "pin-project 1.0.1", + "pin-project-lite", "rand 0.8.2", "slab", "tokio", "tokio-stream", - "tokio-util", + "tokio-util 0.6.6", "tower-layer", "tower-service", "tracing", @@ -1438,22 +1438,22 @@ checksum = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860" [[package]] name = "tracing" -version = "0.1.21" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0987850db3733619253fe60e17cb59b82d37c7e6c0236bb81e4d6b87c879f27" +checksum = "5d0ecdcb44a79f0fe9844f0c4f33a342cbcbb5117de8001e6ba0dc2351327d09" dependencies = [ - "cfg-if 0.1.10", + "cfg-if 1.0.0", "log", - "pin-project-lite 0.1.11", + "pin-project-lite", "tracing-attributes", "tracing-core", ] [[package]] name = "tracing-attributes" -version = "0.1.11" +version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80e0ccfc3378da0cce270c946b676a376943f5cd16aeba64568e7939806f4ada" +checksum = "cc6b8ad3567499f98a1db7a752b07a7c8c7c7c34c332ec00effb2b0027974b7c" dependencies = [ "proc-macro2", "quote", @@ -1462,9 +1462,9 @@ dependencies = [ [[package]] name = "tracing-core" -version = "0.1.17" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f50de3927f93d202783f4513cda820ab47ef17f624b03c096e86ef00c67e6b5f" +checksum = "f54c8ca710e81886d498c2fd3331b56c93aa248d49de2222ad2742247c60072f" dependencies = [ "lazy_static", ] @@ -1584,6 +1584,12 @@ version = "0.10.1+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93c6c3420963c5c64bca373b25e77acb562081b9bb4dd5bb864187742186cea9" +[[package]] +name = "wasi" +version = "0.11.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + [[package]] name = "wasm-bindgen" version = "0.2.70" @@ -1722,6 +1728,49 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "windows-sys" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" +dependencies = [ + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_msvc", +] + +[[package]] +name = "windows_aarch64_msvc" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" + +[[package]] +name = "windows_i686_gnu" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" + +[[package]] +name = "windows_i686_msvc" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" + [[package]] name = "winreg" version = "0.7.0" diff --git a/tensorboard/data/server/Cargo.toml b/tensorboard/data/server/Cargo.toml index d7482d99b28..a6a04acbada 100644 --- a/tensorboard/data/server/Cargo.toml +++ b/tensorboard/data/server/Cargo.toml @@ -35,8 +35,8 @@ crossbeam = "0.8.0" env_logger = "0.8.2" futures-core = "0.3.12" log = "0.4.11" -prost = "0.7.0" -prost-types = "0.7.0" +prost = "0.9.0" +prost-types = "0.9.0" rand = "0.7.3" rand_chacha = "0.2.2" rayon = "1.5.0" @@ -46,14 +46,14 @@ serde_json = "1.0.59" thiserror = "1.0.21" tokio = { version = "1.8.4", features = ["macros", "rt-multi-thread"] } tokio-stream = { version = "0.1.2", features = ["net"] } -tonic = "0.4.2" -tonic-reflection = "0.1.0" +tonic = "0.6.2" +tonic-reflection = "0.3.0" walkdir = "2.3.1" [dev-dependencies] -prost-build = "0.7.0" +prost-build = "0.9.0" tempfile = "3.1.0" -tonic-build = "0.4.2" +tonic-build = "0.6.2" [[bin]] name = "rustboard" @@ -86,13 +86,13 @@ targets = [ [package.metadata.raze.crates.crc.'1.8.1'] gen_buildrs = true -[package.metadata.raze.crates.libc.'0.2.80'] +[package.metadata.raze.crates.libc.'0.2.126'] gen_buildrs = true [package.metadata.raze.crates.log.'0.4.11'] gen_buildrs = true -[package.metadata.raze.crates.indexmap.'1.6.0'] +[package.metadata.raze.crates.indexmap.'1.8.2'] additional_flags = [ "--cfg=has_std", ] @@ -109,18 +109,18 @@ additional_flags = [ "--cfg=wrap_proc_macro", ] -[package.metadata.raze.crates.prost-build.'0.7.0'] +[package.metadata.raze.crates.prost-build.'0.9.0'] gen_buildrs = true [package.metadata.raze.crates.ring.'0.16.20'] gen_buildrs = true data_attr = "glob([\"src/**/*.der\"])" -[package.metadata.raze.crates.tonic-reflection.'0.1.0'] +[package.metadata.raze.crates.tonic-reflection.'0.3.0'] gen_buildrs = true build_data_dependencies = ["@com_google_protobuf//:protoc"] -[package.metadata.raze.crates.tonic-reflection.'0.1.0'.buildrs_additional_environment_variables] +[package.metadata.raze.crates.tonic-reflection.'0.3.0'.buildrs_additional_environment_variables] PROTOC = "$(execpath @com_google_protobuf//:protoc)" # We don't have easy access to a rustfmt binary, so make it a no-op. # https://github.com/bazelbuild/rules_rust/issues/87 diff --git a/tensorboard/data/server/cargo/BUILD.bazel b/tensorboard/data/server/cargo/BUILD.bazel index ed9ca66795a..db211121be8 100644 --- a/tensorboard/data/server/cargo/BUILD.bazel +++ b/tensorboard/data/server/cargo/BUILD.bazel @@ -113,7 +113,7 @@ alias( alias( name = "prost", - actual = "@raze__prost__0_7_0//:prost", + actual = "@raze__prost__0_9_0//:prost", tags = [ "cargo-raze", "manual", @@ -122,7 +122,7 @@ alias( alias( name = "prost_build", - actual = "@raze__prost_build__0_7_0//:prost_build", + actual = "@raze__prost_build__0_9_0//:prost_build", tags = [ "cargo-raze", "manual", @@ -131,7 +131,7 @@ alias( alias( name = "prost_types", - actual = "@raze__prost_types__0_7_0//:prost_types", + actual = "@raze__prost_types__0_9_0//:prost_types", tags = [ "cargo-raze", "manual", @@ -212,7 +212,7 @@ alias( alias( name = "tokio", - actual = "@raze__tokio__1_8_4//:tokio", + actual = "@raze__tokio__1_19_2//:tokio", tags = [ "cargo-raze", "manual", @@ -230,7 +230,7 @@ alias( alias( name = "tonic", - actual = "@raze__tonic__0_4_2//:tonic", + actual = "@raze__tonic__0_6_2//:tonic", tags = [ "cargo-raze", "manual", @@ -239,7 +239,7 @@ alias( alias( name = "tonic_build", - actual = "@raze__tonic_build__0_4_2//:tonic_build", + actual = "@raze__tonic_build__0_6_2//:tonic_build", tags = [ "cargo-raze", "manual", @@ -248,7 +248,7 @@ alias( alias( name = "tonic_reflection", - actual = "@raze__tonic_reflection__0_1_0//:tonic_reflection", + actual = "@raze__tonic_reflection__0_3_0//:tonic_reflection", tags = [ "cargo-raze", "manual", diff --git a/tensorboard/data/server/tensorboard.data.pb.rs b/tensorboard/data/server/tensorboard.data.pb.rs index 83e995d0892..315f51e12c4 100644 --- a/tensorboard/data/server/tensorboard.data.pb.rs +++ b/tensorboard/data/server/tensorboard.data.pb.rs @@ -214,7 +214,7 @@ pub mod read_scalars_response { /// `value` have the same lengths. /// /// These are repeated primitive values, so they will be packed on the wire: -/// +/// <> #[derive(Clone, PartialEq, ::prost::Message)] pub struct ScalarData { #[prost(int64, repeated, tag="1")] @@ -315,7 +315,7 @@ pub mod read_tensors_response { /// /// The `step` and `wall_time` fields are repeated primitive values, so they /// will be packed on the wire: -/// +/// <> #[derive(Clone, PartialEq, ::prost::Message)] pub struct TensorData { #[prost(int64, repeated, tag="1")] @@ -419,7 +419,7 @@ pub mod read_blob_sequences_response { /// /// The `step` and `wall_time` fields are repeated primitive values, so they /// will be packed on the wire: -/// +/// <> #[derive(Clone, PartialEq, ::prost::Message)] pub struct BlobSequenceData { #[prost(int64, repeated, tag="1")] @@ -459,4 +459,4 @@ pub struct ReadBlobResponse { #[prost(bytes="bytes", tag="1")] pub data: ::prost::bytes::Bytes, } -# [doc = r" Generated client implementations."] pub mod tensor_board_data_provider_client { # ! [allow (unused_variables , dead_code , missing_docs)] use tonic :: codegen :: * ; pub struct TensorBoardDataProviderClient < T > { inner : tonic :: client :: Grpc < T > , } impl TensorBoardDataProviderClient < tonic :: transport :: Channel > { # [doc = r" Attempt to create a new client by connecting to a given endpoint."] pub async fn connect < D > (dst : D) -> Result < Self , tonic :: transport :: Error > where D : std :: convert :: TryInto < tonic :: transport :: Endpoint > , D :: Error : Into < StdError > , { let conn = tonic :: transport :: Endpoint :: new (dst) ? . connect () . await ? ; Ok (Self :: new (conn)) } } impl < T > TensorBoardDataProviderClient < T > where T : tonic :: client :: GrpcService < tonic :: body :: BoxBody > , T :: ResponseBody : Body + HttpBody + Send + 'static , T :: Error : Into < StdError > , < T :: ResponseBody as HttpBody > :: Error : Into < StdError > + Send , { pub fn new (inner : T) -> Self { let inner = tonic :: client :: Grpc :: new (inner) ; Self { inner } } pub fn with_interceptor (inner : T , interceptor : impl Into < tonic :: Interceptor >) -> Self { let inner = tonic :: client :: Grpc :: with_interceptor (inner , interceptor) ; Self { inner } } # [doc = " Get metadata about an experiment."] pub async fn get_experiment (& mut self , request : impl tonic :: IntoRequest < super :: GetExperimentRequest > ,) -> Result < tonic :: Response < super :: GetExperimentResponse > , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/GetExperiment") ; self . inner . unary (request . into_request () , path , codec) . await } # [doc = " List plugins that have data for an experiment."] pub async fn list_plugins (& mut self , request : impl tonic :: IntoRequest < super :: ListPluginsRequest > ,) -> Result < tonic :: Response < super :: ListPluginsResponse > , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/ListPlugins") ; self . inner . unary (request . into_request () , path , codec) . await } # [doc = " List runs within an experiment."] pub async fn list_runs (& mut self , request : impl tonic :: IntoRequest < super :: ListRunsRequest > ,) -> Result < tonic :: Response < super :: ListRunsResponse > , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/ListRuns") ; self . inner . unary (request . into_request () , path , codec) . await } # [doc = " List metadata about scalar time series."] pub async fn list_scalars (& mut self , request : impl tonic :: IntoRequest < super :: ListScalarsRequest > ,) -> Result < tonic :: Response < super :: ListScalarsResponse > , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/ListScalars") ; self . inner . unary (request . into_request () , path , codec) . await } # [doc = " Read data from scalar time series."] pub async fn read_scalars (& mut self , request : impl tonic :: IntoRequest < super :: ReadScalarsRequest > ,) -> Result < tonic :: Response < super :: ReadScalarsResponse > , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/ReadScalars") ; self . inner . unary (request . into_request () , path , codec) . await } # [doc = " List metadata about tensor time series."] pub async fn list_tensors (& mut self , request : impl tonic :: IntoRequest < super :: ListTensorsRequest > ,) -> Result < tonic :: Response < super :: ListTensorsResponse > , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/ListTensors") ; self . inner . unary (request . into_request () , path , codec) . await } # [doc = " Read data from tensor time series."] pub async fn read_tensors (& mut self , request : impl tonic :: IntoRequest < super :: ReadTensorsRequest > ,) -> Result < tonic :: Response < super :: ReadTensorsResponse > , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/ReadTensors") ; self . inner . unary (request . into_request () , path , codec) . await } # [doc = " List metadata about blob sequence time series."] pub async fn list_blob_sequences (& mut self , request : impl tonic :: IntoRequest < super :: ListBlobSequencesRequest > ,) -> Result < tonic :: Response < super :: ListBlobSequencesResponse > , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/ListBlobSequences") ; self . inner . unary (request . into_request () , path , codec) . await } # [doc = " Read blob references from blob sequence time series. See `ReadBlob` to read"] # [doc = " the actual blob data."] pub async fn read_blob_sequences (& mut self , request : impl tonic :: IntoRequest < super :: ReadBlobSequencesRequest > ,) -> Result < tonic :: Response < super :: ReadBlobSequencesResponse > , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/ReadBlobSequences") ; self . inner . unary (request . into_request () , path , codec) . await } # [doc = " Read data for a specific blob."] pub async fn read_blob (& mut self , request : impl tonic :: IntoRequest < super :: ReadBlobRequest > ,) -> Result < tonic :: Response < tonic :: codec :: Streaming < super :: ReadBlobResponse >> , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/ReadBlob") ; self . inner . server_streaming (request . into_request () , path , codec) . await } } impl < T : Clone > Clone for TensorBoardDataProviderClient < T > { fn clone (& self) -> Self { Self { inner : self . inner . clone () , } } } impl < T > std :: fmt :: Debug for TensorBoardDataProviderClient < T > { fn fmt (& self , f : & mut std :: fmt :: Formatter < '_ >) -> std :: fmt :: Result { write ! (f , "TensorBoardDataProviderClient {{ ... }}") } } }# [doc = r" Generated server implementations."] pub mod tensor_board_data_provider_server { # ! [allow (unused_variables , dead_code , missing_docs)] use tonic :: codegen :: * ; # [doc = "Generated trait containing gRPC methods that should be implemented for use with TensorBoardDataProviderServer."] # [async_trait] pub trait TensorBoardDataProvider : Send + Sync + 'static { # [doc = " Get metadata about an experiment."] async fn get_experiment (& self , request : tonic :: Request < super :: GetExperimentRequest >) -> Result < tonic :: Response < super :: GetExperimentResponse > , tonic :: Status > ; # [doc = " List plugins that have data for an experiment."] async fn list_plugins (& self , request : tonic :: Request < super :: ListPluginsRequest >) -> Result < tonic :: Response < super :: ListPluginsResponse > , tonic :: Status > ; # [doc = " List runs within an experiment."] async fn list_runs (& self , request : tonic :: Request < super :: ListRunsRequest >) -> Result < tonic :: Response < super :: ListRunsResponse > , tonic :: Status > ; # [doc = " List metadata about scalar time series."] async fn list_scalars (& self , request : tonic :: Request < super :: ListScalarsRequest >) -> Result < tonic :: Response < super :: ListScalarsResponse > , tonic :: Status > ; # [doc = " Read data from scalar time series."] async fn read_scalars (& self , request : tonic :: Request < super :: ReadScalarsRequest >) -> Result < tonic :: Response < super :: ReadScalarsResponse > , tonic :: Status > ; # [doc = " List metadata about tensor time series."] async fn list_tensors (& self , request : tonic :: Request < super :: ListTensorsRequest >) -> Result < tonic :: Response < super :: ListTensorsResponse > , tonic :: Status > ; # [doc = " Read data from tensor time series."] async fn read_tensors (& self , request : tonic :: Request < super :: ReadTensorsRequest >) -> Result < tonic :: Response < super :: ReadTensorsResponse > , tonic :: Status > ; # [doc = " List metadata about blob sequence time series."] async fn list_blob_sequences (& self , request : tonic :: Request < super :: ListBlobSequencesRequest >) -> Result < tonic :: Response < super :: ListBlobSequencesResponse > , tonic :: Status > ; # [doc = " Read blob references from blob sequence time series. See `ReadBlob` to read"] # [doc = " the actual blob data."] async fn read_blob_sequences (& self , request : tonic :: Request < super :: ReadBlobSequencesRequest >) -> Result < tonic :: Response < super :: ReadBlobSequencesResponse > , tonic :: Status > ; # [doc = "Server streaming response type for the ReadBlob method."] type ReadBlobStream : futures_core :: Stream < Item = Result < super :: ReadBlobResponse , tonic :: Status >> + Send + Sync + 'static ; # [doc = " Read data for a specific blob."] async fn read_blob (& self , request : tonic :: Request < super :: ReadBlobRequest >) -> Result < tonic :: Response < Self :: ReadBlobStream > , tonic :: Status > ; } # [derive (Debug)] pub struct TensorBoardDataProviderServer < T : TensorBoardDataProvider > { inner : _Inner < T > , } struct _Inner < T > (Arc < T > , Option < tonic :: Interceptor >) ; impl < T : TensorBoardDataProvider > TensorBoardDataProviderServer < T > { pub fn new (inner : T) -> Self { let inner = Arc :: new (inner) ; let inner = _Inner (inner , None) ; Self { inner } } pub fn with_interceptor (inner : T , interceptor : impl Into < tonic :: Interceptor >) -> Self { let inner = Arc :: new (inner) ; let inner = _Inner (inner , Some (interceptor . into ())) ; Self { inner } } } impl < T , B > Service < http :: Request < B >> for TensorBoardDataProviderServer < T > where T : TensorBoardDataProvider , B : HttpBody + Send + Sync + 'static , B :: Error : Into < StdError > + Send + 'static , { type Response = http :: Response < tonic :: body :: BoxBody > ; type Error = Never ; type Future = BoxFuture < Self :: Response , Self :: Error > ; fn poll_ready (& mut self , _cx : & mut Context < '_ >) -> Poll < Result < () , Self :: Error >> { Poll :: Ready (Ok (())) } fn call (& mut self , req : http :: Request < B >) -> Self :: Future { let inner = self . inner . clone () ; match req . uri () . path () { "/tensorboard.data.TensorBoardDataProvider/GetExperiment" => { # [allow (non_camel_case_types)] struct GetExperimentSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: UnaryService < super :: GetExperimentRequest > for GetExperimentSvc < T > { type Response = super :: GetExperimentResponse ; type Future = BoxFuture < tonic :: Response < Self :: Response > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: GetExperimentRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . get_experiment (request) . await } ; Box :: pin (fut) } } let inner = self . inner . clone () ; let fut = async move { let interceptor = inner . 1 . clone () ; let inner = inner . 0 ; let method = GetExperimentSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = if let Some (interceptor) = interceptor { tonic :: server :: Grpc :: with_interceptor (codec , interceptor) } else { tonic :: server :: Grpc :: new (codec) } ; let res = grpc . unary (method , req) . await ; Ok (res) } ; Box :: pin (fut) } "/tensorboard.data.TensorBoardDataProvider/ListPlugins" => { # [allow (non_camel_case_types)] struct ListPluginsSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: UnaryService < super :: ListPluginsRequest > for ListPluginsSvc < T > { type Response = super :: ListPluginsResponse ; type Future = BoxFuture < tonic :: Response < Self :: Response > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: ListPluginsRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . list_plugins (request) . await } ; Box :: pin (fut) } } let inner = self . inner . clone () ; let fut = async move { let interceptor = inner . 1 . clone () ; let inner = inner . 0 ; let method = ListPluginsSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = if let Some (interceptor) = interceptor { tonic :: server :: Grpc :: with_interceptor (codec , interceptor) } else { tonic :: server :: Grpc :: new (codec) } ; let res = grpc . unary (method , req) . await ; Ok (res) } ; Box :: pin (fut) } "/tensorboard.data.TensorBoardDataProvider/ListRuns" => { # [allow (non_camel_case_types)] struct ListRunsSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: UnaryService < super :: ListRunsRequest > for ListRunsSvc < T > { type Response = super :: ListRunsResponse ; type Future = BoxFuture < tonic :: Response < Self :: Response > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: ListRunsRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . list_runs (request) . await } ; Box :: pin (fut) } } let inner = self . inner . clone () ; let fut = async move { let interceptor = inner . 1 . clone () ; let inner = inner . 0 ; let method = ListRunsSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = if let Some (interceptor) = interceptor { tonic :: server :: Grpc :: with_interceptor (codec , interceptor) } else { tonic :: server :: Grpc :: new (codec) } ; let res = grpc . unary (method , req) . await ; Ok (res) } ; Box :: pin (fut) } "/tensorboard.data.TensorBoardDataProvider/ListScalars" => { # [allow (non_camel_case_types)] struct ListScalarsSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: UnaryService < super :: ListScalarsRequest > for ListScalarsSvc < T > { type Response = super :: ListScalarsResponse ; type Future = BoxFuture < tonic :: Response < Self :: Response > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: ListScalarsRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . list_scalars (request) . await } ; Box :: pin (fut) } } let inner = self . inner . clone () ; let fut = async move { let interceptor = inner . 1 . clone () ; let inner = inner . 0 ; let method = ListScalarsSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = if let Some (interceptor) = interceptor { tonic :: server :: Grpc :: with_interceptor (codec , interceptor) } else { tonic :: server :: Grpc :: new (codec) } ; let res = grpc . unary (method , req) . await ; Ok (res) } ; Box :: pin (fut) } "/tensorboard.data.TensorBoardDataProvider/ReadScalars" => { # [allow (non_camel_case_types)] struct ReadScalarsSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: UnaryService < super :: ReadScalarsRequest > for ReadScalarsSvc < T > { type Response = super :: ReadScalarsResponse ; type Future = BoxFuture < tonic :: Response < Self :: Response > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: ReadScalarsRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . read_scalars (request) . await } ; Box :: pin (fut) } } let inner = self . inner . clone () ; let fut = async move { let interceptor = inner . 1 . clone () ; let inner = inner . 0 ; let method = ReadScalarsSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = if let Some (interceptor) = interceptor { tonic :: server :: Grpc :: with_interceptor (codec , interceptor) } else { tonic :: server :: Grpc :: new (codec) } ; let res = grpc . unary (method , req) . await ; Ok (res) } ; Box :: pin (fut) } "/tensorboard.data.TensorBoardDataProvider/ListTensors" => { # [allow (non_camel_case_types)] struct ListTensorsSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: UnaryService < super :: ListTensorsRequest > for ListTensorsSvc < T > { type Response = super :: ListTensorsResponse ; type Future = BoxFuture < tonic :: Response < Self :: Response > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: ListTensorsRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . list_tensors (request) . await } ; Box :: pin (fut) } } let inner = self . inner . clone () ; let fut = async move { let interceptor = inner . 1 . clone () ; let inner = inner . 0 ; let method = ListTensorsSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = if let Some (interceptor) = interceptor { tonic :: server :: Grpc :: with_interceptor (codec , interceptor) } else { tonic :: server :: Grpc :: new (codec) } ; let res = grpc . unary (method , req) . await ; Ok (res) } ; Box :: pin (fut) } "/tensorboard.data.TensorBoardDataProvider/ReadTensors" => { # [allow (non_camel_case_types)] struct ReadTensorsSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: UnaryService < super :: ReadTensorsRequest > for ReadTensorsSvc < T > { type Response = super :: ReadTensorsResponse ; type Future = BoxFuture < tonic :: Response < Self :: Response > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: ReadTensorsRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . read_tensors (request) . await } ; Box :: pin (fut) } } let inner = self . inner . clone () ; let fut = async move { let interceptor = inner . 1 . clone () ; let inner = inner . 0 ; let method = ReadTensorsSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = if let Some (interceptor) = interceptor { tonic :: server :: Grpc :: with_interceptor (codec , interceptor) } else { tonic :: server :: Grpc :: new (codec) } ; let res = grpc . unary (method , req) . await ; Ok (res) } ; Box :: pin (fut) } "/tensorboard.data.TensorBoardDataProvider/ListBlobSequences" => { # [allow (non_camel_case_types)] struct ListBlobSequencesSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: UnaryService < super :: ListBlobSequencesRequest > for ListBlobSequencesSvc < T > { type Response = super :: ListBlobSequencesResponse ; type Future = BoxFuture < tonic :: Response < Self :: Response > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: ListBlobSequencesRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . list_blob_sequences (request) . await } ; Box :: pin (fut) } } let inner = self . inner . clone () ; let fut = async move { let interceptor = inner . 1 . clone () ; let inner = inner . 0 ; let method = ListBlobSequencesSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = if let Some (interceptor) = interceptor { tonic :: server :: Grpc :: with_interceptor (codec , interceptor) } else { tonic :: server :: Grpc :: new (codec) } ; let res = grpc . unary (method , req) . await ; Ok (res) } ; Box :: pin (fut) } "/tensorboard.data.TensorBoardDataProvider/ReadBlobSequences" => { # [allow (non_camel_case_types)] struct ReadBlobSequencesSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: UnaryService < super :: ReadBlobSequencesRequest > for ReadBlobSequencesSvc < T > { type Response = super :: ReadBlobSequencesResponse ; type Future = BoxFuture < tonic :: Response < Self :: Response > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: ReadBlobSequencesRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . read_blob_sequences (request) . await } ; Box :: pin (fut) } } let inner = self . inner . clone () ; let fut = async move { let interceptor = inner . 1 . clone () ; let inner = inner . 0 ; let method = ReadBlobSequencesSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = if let Some (interceptor) = interceptor { tonic :: server :: Grpc :: with_interceptor (codec , interceptor) } else { tonic :: server :: Grpc :: new (codec) } ; let res = grpc . unary (method , req) . await ; Ok (res) } ; Box :: pin (fut) } "/tensorboard.data.TensorBoardDataProvider/ReadBlob" => { # [allow (non_camel_case_types)] struct ReadBlobSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: ServerStreamingService < super :: ReadBlobRequest > for ReadBlobSvc < T > { type Response = super :: ReadBlobResponse ; type ResponseStream = T :: ReadBlobStream ; type Future = BoxFuture < tonic :: Response < Self :: ResponseStream > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: ReadBlobRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . read_blob (request) . await } ; Box :: pin (fut) } } let inner = self . inner . clone () ; let fut = async move { let interceptor = inner . 1 ; let inner = inner . 0 ; let method = ReadBlobSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = if let Some (interceptor) = interceptor { tonic :: server :: Grpc :: with_interceptor (codec , interceptor) } else { tonic :: server :: Grpc :: new (codec) } ; let res = grpc . server_streaming (method , req) . await ; Ok (res) } ; Box :: pin (fut) } _ => Box :: pin (async move { Ok (http :: Response :: builder () . status (200) . header ("grpc-status" , "12") . header ("content-type" , "application/grpc") . body (tonic :: body :: BoxBody :: empty ()) . unwrap ()) }) , } } } impl < T : TensorBoardDataProvider > Clone for TensorBoardDataProviderServer < T > { fn clone (& self) -> Self { let inner = self . inner . clone () ; Self { inner } } } impl < T : TensorBoardDataProvider > Clone for _Inner < T > { fn clone (& self) -> Self { Self (self . 0 . clone () , self . 1 . clone ()) } } impl < T : std :: fmt :: Debug > std :: fmt :: Debug for _Inner < T > { fn fmt (& self , f : & mut std :: fmt :: Formatter < '_ >) -> std :: fmt :: Result { write ! (f , "{:?}" , self . 0) } } impl < T : TensorBoardDataProvider > tonic :: transport :: NamedService for TensorBoardDataProviderServer < T > { const NAME : & 'static str = "tensorboard.data.TensorBoardDataProvider" ; } } \ No newline at end of file +# [doc = r" Generated client implementations."] pub mod tensor_board_data_provider_client { # ! [allow (unused_variables , dead_code , missing_docs , clippy :: let_unit_value ,)] use tonic :: codegen :: * ; # [derive (Debug , Clone)] pub struct TensorBoardDataProviderClient < T > { inner : tonic :: client :: Grpc < T > , } impl TensorBoardDataProviderClient < tonic :: transport :: Channel > { # [doc = r" Attempt to create a new client by connecting to a given endpoint."] pub async fn connect < D > (dst : D) -> Result < Self , tonic :: transport :: Error > where D : std :: convert :: TryInto < tonic :: transport :: Endpoint > , D :: Error : Into < StdError > , { let conn = tonic :: transport :: Endpoint :: new (dst) ? . connect () . await ? ; Ok (Self :: new (conn)) } } impl < T > TensorBoardDataProviderClient < T > where T : tonic :: client :: GrpcService < tonic :: body :: BoxBody > , T :: ResponseBody : Body + Send + 'static , T :: Error : Into < StdError > , < T :: ResponseBody as Body > :: Error : Into < StdError > + Send , { pub fn new (inner : T) -> Self { let inner = tonic :: client :: Grpc :: new (inner) ; Self { inner } } pub fn with_interceptor < F > (inner : T , interceptor : F) -> TensorBoardDataProviderClient < InterceptedService < T , F >> where F : tonic :: service :: Interceptor , T : tonic :: codegen :: Service < http :: Request < tonic :: body :: BoxBody > , Response = http :: Response << T as tonic :: client :: GrpcService < tonic :: body :: BoxBody >> :: ResponseBody > > , < T as tonic :: codegen :: Service < http :: Request < tonic :: body :: BoxBody >> > :: Error : Into < StdError > + Send + Sync , { TensorBoardDataProviderClient :: new (InterceptedService :: new (inner , interceptor)) } # [doc = r" Compress requests with `gzip`."] # [doc = r""] # [doc = r" This requires the server to support it otherwise it might respond with an"] # [doc = r" error."] pub fn send_gzip (mut self) -> Self { self . inner = self . inner . send_gzip () ; self } # [doc = r" Enable decompressing responses with `gzip`."] pub fn accept_gzip (mut self) -> Self { self . inner = self . inner . accept_gzip () ; self } # [doc = " Get metadata about an experiment."] pub async fn get_experiment (& mut self , request : impl tonic :: IntoRequest < super :: GetExperimentRequest > ,) -> Result < tonic :: Response < super :: GetExperimentResponse > , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/GetExperiment") ; self . inner . unary (request . into_request () , path , codec) . await } # [doc = " List plugins that have data for an experiment."] pub async fn list_plugins (& mut self , request : impl tonic :: IntoRequest < super :: ListPluginsRequest > ,) -> Result < tonic :: Response < super :: ListPluginsResponse > , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/ListPlugins") ; self . inner . unary (request . into_request () , path , codec) . await } # [doc = " List runs within an experiment."] pub async fn list_runs (& mut self , request : impl tonic :: IntoRequest < super :: ListRunsRequest > ,) -> Result < tonic :: Response < super :: ListRunsResponse > , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/ListRuns") ; self . inner . unary (request . into_request () , path , codec) . await } # [doc = " List metadata about scalar time series."] pub async fn list_scalars (& mut self , request : impl tonic :: IntoRequest < super :: ListScalarsRequest > ,) -> Result < tonic :: Response < super :: ListScalarsResponse > , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/ListScalars") ; self . inner . unary (request . into_request () , path , codec) . await } # [doc = " Read data from scalar time series."] pub async fn read_scalars (& mut self , request : impl tonic :: IntoRequest < super :: ReadScalarsRequest > ,) -> Result < tonic :: Response < super :: ReadScalarsResponse > , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/ReadScalars") ; self . inner . unary (request . into_request () , path , codec) . await } # [doc = " List metadata about tensor time series."] pub async fn list_tensors (& mut self , request : impl tonic :: IntoRequest < super :: ListTensorsRequest > ,) -> Result < tonic :: Response < super :: ListTensorsResponse > , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/ListTensors") ; self . inner . unary (request . into_request () , path , codec) . await } # [doc = " Read data from tensor time series."] pub async fn read_tensors (& mut self , request : impl tonic :: IntoRequest < super :: ReadTensorsRequest > ,) -> Result < tonic :: Response < super :: ReadTensorsResponse > , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/ReadTensors") ; self . inner . unary (request . into_request () , path , codec) . await } # [doc = " List metadata about blob sequence time series."] pub async fn list_blob_sequences (& mut self , request : impl tonic :: IntoRequest < super :: ListBlobSequencesRequest > ,) -> Result < tonic :: Response < super :: ListBlobSequencesResponse > , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/ListBlobSequences") ; self . inner . unary (request . into_request () , path , codec) . await } # [doc = " Read blob references from blob sequence time series. See `ReadBlob` to read"] # [doc = " the actual blob data."] pub async fn read_blob_sequences (& mut self , request : impl tonic :: IntoRequest < super :: ReadBlobSequencesRequest > ,) -> Result < tonic :: Response < super :: ReadBlobSequencesResponse > , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/ReadBlobSequences") ; self . inner . unary (request . into_request () , path , codec) . await } # [doc = " Read data for a specific blob."] pub async fn read_blob (& mut self , request : impl tonic :: IntoRequest < super :: ReadBlobRequest > ,) -> Result < tonic :: Response < tonic :: codec :: Streaming < super :: ReadBlobResponse >> , tonic :: Status > { self . inner . ready () . await . map_err (| e | { tonic :: Status :: new (tonic :: Code :: Unknown , format ! ("Service was not ready: {}" , e . into ())) }) ? ; let codec = tonic :: codec :: ProstCodec :: default () ; let path = http :: uri :: PathAndQuery :: from_static ("/tensorboard.data.TensorBoardDataProvider/ReadBlob") ; self . inner . server_streaming (request . into_request () , path , codec) . await } } }# [doc = r" Generated server implementations."] pub mod tensor_board_data_provider_server { # ! [allow (unused_variables , dead_code , missing_docs , clippy :: let_unit_value ,)] use tonic :: codegen :: * ; # [doc = "Generated trait containing gRPC methods that should be implemented for use with TensorBoardDataProviderServer."] # [async_trait] pub trait TensorBoardDataProvider : Send + Sync + 'static { # [doc = " Get metadata about an experiment."] async fn get_experiment (& self , request : tonic :: Request < super :: GetExperimentRequest >) -> Result < tonic :: Response < super :: GetExperimentResponse > , tonic :: Status > ; # [doc = " List plugins that have data for an experiment."] async fn list_plugins (& self , request : tonic :: Request < super :: ListPluginsRequest >) -> Result < tonic :: Response < super :: ListPluginsResponse > , tonic :: Status > ; # [doc = " List runs within an experiment."] async fn list_runs (& self , request : tonic :: Request < super :: ListRunsRequest >) -> Result < tonic :: Response < super :: ListRunsResponse > , tonic :: Status > ; # [doc = " List metadata about scalar time series."] async fn list_scalars (& self , request : tonic :: Request < super :: ListScalarsRequest >) -> Result < tonic :: Response < super :: ListScalarsResponse > , tonic :: Status > ; # [doc = " Read data from scalar time series."] async fn read_scalars (& self , request : tonic :: Request < super :: ReadScalarsRequest >) -> Result < tonic :: Response < super :: ReadScalarsResponse > , tonic :: Status > ; # [doc = " List metadata about tensor time series."] async fn list_tensors (& self , request : tonic :: Request < super :: ListTensorsRequest >) -> Result < tonic :: Response < super :: ListTensorsResponse > , tonic :: Status > ; # [doc = " Read data from tensor time series."] async fn read_tensors (& self , request : tonic :: Request < super :: ReadTensorsRequest >) -> Result < tonic :: Response < super :: ReadTensorsResponse > , tonic :: Status > ; # [doc = " List metadata about blob sequence time series."] async fn list_blob_sequences (& self , request : tonic :: Request < super :: ListBlobSequencesRequest >) -> Result < tonic :: Response < super :: ListBlobSequencesResponse > , tonic :: Status > ; # [doc = " Read blob references from blob sequence time series. See `ReadBlob` to read"] # [doc = " the actual blob data."] async fn read_blob_sequences (& self , request : tonic :: Request < super :: ReadBlobSequencesRequest >) -> Result < tonic :: Response < super :: ReadBlobSequencesResponse > , tonic :: Status > ; # [doc = "Server streaming response type for the ReadBlob method."] type ReadBlobStream : futures_core :: Stream < Item = Result < super :: ReadBlobResponse , tonic :: Status >> + Send + 'static ; # [doc = " Read data for a specific blob."] async fn read_blob (& self , request : tonic :: Request < super :: ReadBlobRequest >) -> Result < tonic :: Response < Self :: ReadBlobStream > , tonic :: Status > ; } # [derive (Debug)] pub struct TensorBoardDataProviderServer < T : TensorBoardDataProvider > { inner : _Inner < T > , accept_compression_encodings : () , send_compression_encodings : () , } struct _Inner < T > (Arc < T >) ; impl < T : TensorBoardDataProvider > TensorBoardDataProviderServer < T > { pub fn new (inner : T) -> Self { let inner = Arc :: new (inner) ; let inner = _Inner (inner) ; Self { inner , accept_compression_encodings : Default :: default () , send_compression_encodings : Default :: default () , } } pub fn with_interceptor < F > (inner : T , interceptor : F) -> InterceptedService < Self , F > where F : tonic :: service :: Interceptor , { InterceptedService :: new (Self :: new (inner) , interceptor) } } impl < T , B > tonic :: codegen :: Service < http :: Request < B >> for TensorBoardDataProviderServer < T > where T : TensorBoardDataProvider , B : Body + Send + 'static , B :: Error : Into < StdError > + Send + 'static , { type Response = http :: Response < tonic :: body :: BoxBody > ; type Error = Never ; type Future = BoxFuture < Self :: Response , Self :: Error > ; fn poll_ready (& mut self , _cx : & mut Context < '_ >) -> Poll < Result < () , Self :: Error >> { Poll :: Ready (Ok (())) } fn call (& mut self , req : http :: Request < B >) -> Self :: Future { let inner = self . inner . clone () ; match req . uri () . path () { "/tensorboard.data.TensorBoardDataProvider/GetExperiment" => { # [allow (non_camel_case_types)] struct GetExperimentSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: UnaryService < super :: GetExperimentRequest > for GetExperimentSvc < T > { type Response = super :: GetExperimentResponse ; type Future = BoxFuture < tonic :: Response < Self :: Response > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: GetExperimentRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . get_experiment (request) . await } ; Box :: pin (fut) } } let accept_compression_encodings = self . accept_compression_encodings ; let send_compression_encodings = self . send_compression_encodings ; let inner = self . inner . clone () ; let fut = async move { let inner = inner . 0 ; let method = GetExperimentSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = tonic :: server :: Grpc :: new (codec) . apply_compression_config (accept_compression_encodings , send_compression_encodings) ; let res = grpc . unary (method , req) . await ; Ok (res) } ; Box :: pin (fut) } "/tensorboard.data.TensorBoardDataProvider/ListPlugins" => { # [allow (non_camel_case_types)] struct ListPluginsSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: UnaryService < super :: ListPluginsRequest > for ListPluginsSvc < T > { type Response = super :: ListPluginsResponse ; type Future = BoxFuture < tonic :: Response < Self :: Response > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: ListPluginsRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . list_plugins (request) . await } ; Box :: pin (fut) } } let accept_compression_encodings = self . accept_compression_encodings ; let send_compression_encodings = self . send_compression_encodings ; let inner = self . inner . clone () ; let fut = async move { let inner = inner . 0 ; let method = ListPluginsSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = tonic :: server :: Grpc :: new (codec) . apply_compression_config (accept_compression_encodings , send_compression_encodings) ; let res = grpc . unary (method , req) . await ; Ok (res) } ; Box :: pin (fut) } "/tensorboard.data.TensorBoardDataProvider/ListRuns" => { # [allow (non_camel_case_types)] struct ListRunsSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: UnaryService < super :: ListRunsRequest > for ListRunsSvc < T > { type Response = super :: ListRunsResponse ; type Future = BoxFuture < tonic :: Response < Self :: Response > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: ListRunsRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . list_runs (request) . await } ; Box :: pin (fut) } } let accept_compression_encodings = self . accept_compression_encodings ; let send_compression_encodings = self . send_compression_encodings ; let inner = self . inner . clone () ; let fut = async move { let inner = inner . 0 ; let method = ListRunsSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = tonic :: server :: Grpc :: new (codec) . apply_compression_config (accept_compression_encodings , send_compression_encodings) ; let res = grpc . unary (method , req) . await ; Ok (res) } ; Box :: pin (fut) } "/tensorboard.data.TensorBoardDataProvider/ListScalars" => { # [allow (non_camel_case_types)] struct ListScalarsSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: UnaryService < super :: ListScalarsRequest > for ListScalarsSvc < T > { type Response = super :: ListScalarsResponse ; type Future = BoxFuture < tonic :: Response < Self :: Response > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: ListScalarsRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . list_scalars (request) . await } ; Box :: pin (fut) } } let accept_compression_encodings = self . accept_compression_encodings ; let send_compression_encodings = self . send_compression_encodings ; let inner = self . inner . clone () ; let fut = async move { let inner = inner . 0 ; let method = ListScalarsSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = tonic :: server :: Grpc :: new (codec) . apply_compression_config (accept_compression_encodings , send_compression_encodings) ; let res = grpc . unary (method , req) . await ; Ok (res) } ; Box :: pin (fut) } "/tensorboard.data.TensorBoardDataProvider/ReadScalars" => { # [allow (non_camel_case_types)] struct ReadScalarsSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: UnaryService < super :: ReadScalarsRequest > for ReadScalarsSvc < T > { type Response = super :: ReadScalarsResponse ; type Future = BoxFuture < tonic :: Response < Self :: Response > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: ReadScalarsRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . read_scalars (request) . await } ; Box :: pin (fut) } } let accept_compression_encodings = self . accept_compression_encodings ; let send_compression_encodings = self . send_compression_encodings ; let inner = self . inner . clone () ; let fut = async move { let inner = inner . 0 ; let method = ReadScalarsSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = tonic :: server :: Grpc :: new (codec) . apply_compression_config (accept_compression_encodings , send_compression_encodings) ; let res = grpc . unary (method , req) . await ; Ok (res) } ; Box :: pin (fut) } "/tensorboard.data.TensorBoardDataProvider/ListTensors" => { # [allow (non_camel_case_types)] struct ListTensorsSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: UnaryService < super :: ListTensorsRequest > for ListTensorsSvc < T > { type Response = super :: ListTensorsResponse ; type Future = BoxFuture < tonic :: Response < Self :: Response > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: ListTensorsRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . list_tensors (request) . await } ; Box :: pin (fut) } } let accept_compression_encodings = self . accept_compression_encodings ; let send_compression_encodings = self . send_compression_encodings ; let inner = self . inner . clone () ; let fut = async move { let inner = inner . 0 ; let method = ListTensorsSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = tonic :: server :: Grpc :: new (codec) . apply_compression_config (accept_compression_encodings , send_compression_encodings) ; let res = grpc . unary (method , req) . await ; Ok (res) } ; Box :: pin (fut) } "/tensorboard.data.TensorBoardDataProvider/ReadTensors" => { # [allow (non_camel_case_types)] struct ReadTensorsSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: UnaryService < super :: ReadTensorsRequest > for ReadTensorsSvc < T > { type Response = super :: ReadTensorsResponse ; type Future = BoxFuture < tonic :: Response < Self :: Response > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: ReadTensorsRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . read_tensors (request) . await } ; Box :: pin (fut) } } let accept_compression_encodings = self . accept_compression_encodings ; let send_compression_encodings = self . send_compression_encodings ; let inner = self . inner . clone () ; let fut = async move { let inner = inner . 0 ; let method = ReadTensorsSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = tonic :: server :: Grpc :: new (codec) . apply_compression_config (accept_compression_encodings , send_compression_encodings) ; let res = grpc . unary (method , req) . await ; Ok (res) } ; Box :: pin (fut) } "/tensorboard.data.TensorBoardDataProvider/ListBlobSequences" => { # [allow (non_camel_case_types)] struct ListBlobSequencesSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: UnaryService < super :: ListBlobSequencesRequest > for ListBlobSequencesSvc < T > { type Response = super :: ListBlobSequencesResponse ; type Future = BoxFuture < tonic :: Response < Self :: Response > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: ListBlobSequencesRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . list_blob_sequences (request) . await } ; Box :: pin (fut) } } let accept_compression_encodings = self . accept_compression_encodings ; let send_compression_encodings = self . send_compression_encodings ; let inner = self . inner . clone () ; let fut = async move { let inner = inner . 0 ; let method = ListBlobSequencesSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = tonic :: server :: Grpc :: new (codec) . apply_compression_config (accept_compression_encodings , send_compression_encodings) ; let res = grpc . unary (method , req) . await ; Ok (res) } ; Box :: pin (fut) } "/tensorboard.data.TensorBoardDataProvider/ReadBlobSequences" => { # [allow (non_camel_case_types)] struct ReadBlobSequencesSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: UnaryService < super :: ReadBlobSequencesRequest > for ReadBlobSequencesSvc < T > { type Response = super :: ReadBlobSequencesResponse ; type Future = BoxFuture < tonic :: Response < Self :: Response > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: ReadBlobSequencesRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . read_blob_sequences (request) . await } ; Box :: pin (fut) } } let accept_compression_encodings = self . accept_compression_encodings ; let send_compression_encodings = self . send_compression_encodings ; let inner = self . inner . clone () ; let fut = async move { let inner = inner . 0 ; let method = ReadBlobSequencesSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = tonic :: server :: Grpc :: new (codec) . apply_compression_config (accept_compression_encodings , send_compression_encodings) ; let res = grpc . unary (method , req) . await ; Ok (res) } ; Box :: pin (fut) } "/tensorboard.data.TensorBoardDataProvider/ReadBlob" => { # [allow (non_camel_case_types)] struct ReadBlobSvc < T : TensorBoardDataProvider > (pub Arc < T >) ; impl < T : TensorBoardDataProvider > tonic :: server :: ServerStreamingService < super :: ReadBlobRequest > for ReadBlobSvc < T > { type Response = super :: ReadBlobResponse ; type ResponseStream = T :: ReadBlobStream ; type Future = BoxFuture < tonic :: Response < Self :: ResponseStream > , tonic :: Status > ; fn call (& mut self , request : tonic :: Request < super :: ReadBlobRequest >) -> Self :: Future { let inner = self . 0 . clone () ; let fut = async move { (* inner) . read_blob (request) . await } ; Box :: pin (fut) } } let accept_compression_encodings = self . accept_compression_encodings ; let send_compression_encodings = self . send_compression_encodings ; let inner = self . inner . clone () ; let fut = async move { let inner = inner . 0 ; let method = ReadBlobSvc (inner) ; let codec = tonic :: codec :: ProstCodec :: default () ; let mut grpc = tonic :: server :: Grpc :: new (codec) . apply_compression_config (accept_compression_encodings , send_compression_encodings) ; let res = grpc . server_streaming (method , req) . await ; Ok (res) } ; Box :: pin (fut) } _ => Box :: pin (async move { Ok (http :: Response :: builder () . status (200) . header ("grpc-status" , "12") . header ("content-type" , "application/grpc") . body (empty_body ()) . unwrap ()) }) , } } } impl < T : TensorBoardDataProvider > Clone for TensorBoardDataProviderServer < T > { fn clone (& self) -> Self { let inner = self . inner . clone () ; Self { inner , accept_compression_encodings : self . accept_compression_encodings , send_compression_encodings : self . send_compression_encodings , } } } impl < T : TensorBoardDataProvider > Clone for _Inner < T > { fn clone (& self) -> Self { Self (self . 0 . clone ()) } } impl < T : std :: fmt :: Debug > std :: fmt :: Debug for _Inner < T > { fn fmt (& self , f : & mut std :: fmt :: Formatter < '_ >) -> std :: fmt :: Result { write ! (f , "{:?}" , self . 0) } } impl < T : TensorBoardDataProvider > tonic :: transport :: NamedService for TensorBoardDataProviderServer < T > { const NAME : & 'static str = "tensorboard.data.TensorBoardDataProvider" ; } } \ No newline at end of file diff --git a/tensorboard/data/server/tensorboard.pb.rs b/tensorboard/data/server/tensorboard.pb.rs index bd1bbd057f5..5c6d089efad 100644 --- a/tensorboard/data/server/tensorboard.pb.rs +++ b/tensorboard/data/server/tensorboard.pb.rs @@ -593,7 +593,7 @@ pub struct AudioPluginData { /// - If the tensor shape is rank-2, then `t[:, 0]` represent encoded /// audio data, and `t[:, 1]` represent corresponding UTF-8 encoded /// Markdown labels. - /// - If the tensor shape is rank-1, then `t[:]` represent encoded + /// - If the tensor shape is rank-1, then `t\[:\]` represent encoded /// audio data. There are no labels. #[prost(int32, tag="1")] pub version: i32, diff --git a/third_party/rust/crates.bzl b/third_party/rust/crates.bzl index 7611a6a207f..28779a3b068 100644 --- a/third_party/rust/crates.bzl +++ b/third_party/rust/crates.bzl @@ -13,12 +13,12 @@ def raze_fetch_remote_crates(): """This function defines a collection of repos and should be called in a WORKSPACE file""" maybe( http_archive, - name = "raze__aho_corasick__0_7_15", - url = "https://crates.io/api/v1/crates/aho-corasick/0.7.15/download", + name = "raze__aho_corasick__0_7_18", + url = "https://crates.io/api/v1/crates/aho-corasick/0.7.18/download", type = "tar.gz", - sha256 = "7404febffaa47dac81aa44dba71523c9d069b1bdc50a77db41195149e17f68e5", - strip_prefix = "aho-corasick-0.7.15", - build_file = Label("//third_party/rust/remote:BUILD.aho-corasick-0.7.15.bazel"), + sha256 = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f", + strip_prefix = "aho-corasick-0.7.18", + build_file = Label("//third_party/rust/remote:BUILD.aho-corasick-0.7.18.bazel"), ) maybe( @@ -313,12 +313,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__fixedbitset__0_2_0", - url = "https://crates.io/api/v1/crates/fixedbitset/0.2.0/download", + name = "raze__fixedbitset__0_4_1", + url = "https://crates.io/api/v1/crates/fixedbitset/0.4.1/download", type = "tar.gz", - sha256 = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d", - strip_prefix = "fixedbitset-0.2.0", - build_file = Label("//third_party/rust/remote:BUILD.fixedbitset-0.2.0.bazel"), + sha256 = "279fb028e20b3c4c320317955b77c5e0c9701f05a1d309905d6fc702cdc5053e", + strip_prefix = "fixedbitset-0.4.1", + build_file = Label("//third_party/rust/remote:BUILD.fixedbitset-0.4.1.bazel"), ) maybe( @@ -433,22 +433,22 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__h2__0_3_0", - url = "https://crates.io/api/v1/crates/h2/0.3.0/download", + name = "raze__h2__0_3_13", + url = "https://crates.io/api/v1/crates/h2/0.3.13/download", type = "tar.gz", - sha256 = "6b67e66362108efccd8ac053abafc8b7a8d86a37e6e48fc4f6f7485eb5e9e6a5", - strip_prefix = "h2-0.3.0", - build_file = Label("//third_party/rust/remote:BUILD.h2-0.3.0.bazel"), + sha256 = "37a82c6d637fc9515a4694bbf1cb2457b79d81ce52b3108bdeea58b07dd34a57", + strip_prefix = "h2-0.3.13", + build_file = Label("//third_party/rust/remote:BUILD.h2-0.3.13.bazel"), ) maybe( http_archive, - name = "raze__hashbrown__0_9_1", - url = "https://crates.io/api/v1/crates/hashbrown/0.9.1/download", + name = "raze__hashbrown__0_11_2", + url = "https://crates.io/api/v1/crates/hashbrown/0.11.2/download", type = "tar.gz", - sha256 = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04", - strip_prefix = "hashbrown-0.9.1", - build_file = Label("//third_party/rust/remote:BUILD.hashbrown-0.9.1.bazel"), + sha256 = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e", + strip_prefix = "hashbrown-0.11.2", + build_file = Label("//third_party/rust/remote:BUILD.hashbrown-0.11.2.bazel"), ) maybe( @@ -483,12 +483,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__http_body__0_4_0", - url = "https://crates.io/api/v1/crates/http-body/0.4.0/download", + name = "raze__http_body__0_4_5", + url = "https://crates.io/api/v1/crates/http-body/0.4.5/download", type = "tar.gz", - sha256 = "2861bd27ee074e5ee891e8b539837a9430012e249d7f0ca2d795650f579c1994", - strip_prefix = "http-body-0.4.0", - build_file = Label("//third_party/rust/remote:BUILD.http-body-0.4.0.bazel"), + sha256 = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1", + strip_prefix = "http-body-0.4.5", + build_file = Label("//third_party/rust/remote:BUILD.http-body-0.4.5.bazel"), ) maybe( @@ -523,12 +523,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__hyper__0_14_7", - url = "https://crates.io/api/v1/crates/hyper/0.14.7/download", + name = "raze__hyper__0_14_19", + url = "https://crates.io/api/v1/crates/hyper/0.14.19/download", type = "tar.gz", - sha256 = "1e5f105c494081baa3bf9e200b279e27ec1623895cd504c7dbef8d0b080fcf54", - strip_prefix = "hyper-0.14.7", - build_file = Label("//third_party/rust/remote:BUILD.hyper-0.14.7.bazel"), + sha256 = "42dc3c131584288d375f2d07f822b0cb012d8c6fb899a5b9fdb3cb7eb9b6004f", + strip_prefix = "hyper-0.14.19", + build_file = Label("//third_party/rust/remote:BUILD.hyper-0.14.19.bazel"), ) maybe( @@ -541,6 +541,16 @@ def raze_fetch_remote_crates(): build_file = Label("//third_party/rust/remote:BUILD.hyper-rustls-0.22.1.bazel"), ) + maybe( + http_archive, + name = "raze__hyper_timeout__0_4_1", + url = "https://crates.io/api/v1/crates/hyper-timeout/0.4.1/download", + type = "tar.gz", + sha256 = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1", + strip_prefix = "hyper-timeout-0.4.1", + build_file = Label("//third_party/rust/remote:BUILD.hyper-timeout-0.4.1.bazel"), + ) + maybe( http_archive, name = "raze__idna__0_2_0", @@ -553,12 +563,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__indexmap__1_6_0", - url = "https://crates.io/api/v1/crates/indexmap/1.6.0/download", + name = "raze__indexmap__1_8_2", + url = "https://crates.io/api/v1/crates/indexmap/1.8.2/download", type = "tar.gz", - sha256 = "55e2e4c765aa53a0424761bf9f41aa7a6ac1efa87238f59560640e27fca028f2", - strip_prefix = "indexmap-1.6.0", - build_file = Label("//third_party/rust/remote:BUILD.indexmap-1.6.0.bazel"), + sha256 = "e6012d540c5baa3589337a98ce73408de9b5a25ec9fc2c6fd6be8f0d39e0ca5a", + strip_prefix = "indexmap-1.8.2", + build_file = Label("//third_party/rust/remote:BUILD.indexmap-1.8.2.bazel"), ) maybe( @@ -573,12 +583,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__itertools__0_9_0", - url = "https://crates.io/api/v1/crates/itertools/0.9.0/download", + name = "raze__itertools__0_10_3", + url = "https://crates.io/api/v1/crates/itertools/0.10.3/download", type = "tar.gz", - sha256 = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b", - strip_prefix = "itertools-0.9.0", - build_file = Label("//third_party/rust/remote:BUILD.itertools-0.9.0.bazel"), + sha256 = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3", + strip_prefix = "itertools-0.10.3", + build_file = Label("//third_party/rust/remote:BUILD.itertools-0.10.3.bazel"), ) maybe( @@ -591,6 +601,16 @@ def raze_fetch_remote_crates(): build_file = Label("//third_party/rust/remote:BUILD.itoa-0.4.6.bazel"), ) + maybe( + http_archive, + name = "raze__itoa__1_0_2", + url = "https://crates.io/api/v1/crates/itoa/1.0.2/download", + type = "tar.gz", + sha256 = "112c678d4050afce233f4f2852bb2eb519230b3cf12f33585275537d7e41578d", + strip_prefix = "itoa-1.0.2", + build_file = Label("//third_party/rust/remote:BUILD.itoa-1.0.2.bazel"), + ) + maybe( http_archive, name = "raze__js_sys__0_3_47", @@ -643,12 +663,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__memchr__2_3_4", - url = "https://crates.io/api/v1/crates/memchr/2.3.4/download", + name = "raze__memchr__2_5_0", + url = "https://crates.io/api/v1/crates/memchr/2.5.0/download", type = "tar.gz", - sha256 = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525", - strip_prefix = "memchr-2.3.4", - build_file = Label("//third_party/rust/remote:BUILD.memchr-2.3.4.bazel"), + sha256 = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d", + strip_prefix = "memchr-2.5.0", + build_file = Label("//third_party/rust/remote:BUILD.memchr-2.5.0.bazel"), ) maybe( @@ -673,22 +693,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__mio__0_7_7", - url = "https://crates.io/api/v1/crates/mio/0.7.7/download", + name = "raze__mio__0_8_3", + url = "https://crates.io/api/v1/crates/mio/0.8.3/download", type = "tar.gz", - sha256 = "e50ae3f04d169fcc9bde0b547d1c205219b7157e07ded9c5aff03e0637cb3ed7", - strip_prefix = "mio-0.7.7", - build_file = Label("//third_party/rust/remote:BUILD.mio-0.7.7.bazel"), - ) - - maybe( - http_archive, - name = "raze__miow__0_3_6", - url = "https://crates.io/api/v1/crates/miow/0.3.6/download", - type = "tar.gz", - sha256 = "5a33c1b55807fbed163481b5ba66db4b2fa6cde694a5027be10fb724206c5897", - strip_prefix = "miow-0.3.6", - build_file = Label("//third_party/rust/remote:BUILD.miow-0.3.6.bazel"), + sha256 = "713d550d9b44d89174e066b7a6217ae06234c10cb47819a88290d2b353c31799", + strip_prefix = "mio-0.8.3", + build_file = Label("//third_party/rust/remote:BUILD.mio-0.8.3.bazel"), ) maybe( @@ -701,16 +711,6 @@ def raze_fetch_remote_crates(): build_file = Label("//third_party/rust/remote:BUILD.multimap-0.8.2.bazel"), ) - maybe( - http_archive, - name = "raze__ntapi__0_3_6", - url = "https://crates.io/api/v1/crates/ntapi/0.3.6/download", - type = "tar.gz", - sha256 = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44", - strip_prefix = "ntapi-0.3.6", - build_file = Label("//third_party/rust/remote:BUILD.ntapi-0.3.6.bazel"), - ) - maybe( http_archive, name = "raze__num_cpus__1_13_0", @@ -753,12 +753,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__petgraph__0_5_1", - url = "https://crates.io/api/v1/crates/petgraph/0.5.1/download", + name = "raze__petgraph__0_6_2", + url = "https://crates.io/api/v1/crates/petgraph/0.6.2/download", type = "tar.gz", - sha256 = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7", - strip_prefix = "petgraph-0.5.1", - build_file = Label("//third_party/rust/remote:BUILD.petgraph-0.5.1.bazel"), + sha256 = "e6d5014253a1331579ce62aa67443b4a658c5e7dd03d4bc6d302b94474888143", + strip_prefix = "petgraph-0.6.2", + build_file = Label("//third_party/rust/remote:BUILD.petgraph-0.6.2.bazel"), ) maybe( @@ -803,22 +803,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__pin_project_lite__0_1_11", - url = "https://crates.io/api/v1/crates/pin-project-lite/0.1.11/download", + name = "raze__pin_project_lite__0_2_9", + url = "https://crates.io/api/v1/crates/pin-project-lite/0.2.9/download", type = "tar.gz", - sha256 = "c917123afa01924fc84bb20c4c03f004d9c38e5127e3c039bbf7f4b9c76a2f6b", - strip_prefix = "pin-project-lite-0.1.11", - build_file = Label("//third_party/rust/remote:BUILD.pin-project-lite-0.1.11.bazel"), - ) - - maybe( - http_archive, - name = "raze__pin_project_lite__0_2_4", - url = "https://crates.io/api/v1/crates/pin-project-lite/0.2.4/download", - type = "tar.gz", - sha256 = "439697af366c49a6d0a010c56a0d97685bc140ce0d377b13a2ea2aa42d64a827", - strip_prefix = "pin-project-lite-0.2.4", - build_file = Label("//third_party/rust/remote:BUILD.pin-project-lite-0.2.4.bazel"), + sha256 = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116", + strip_prefix = "pin-project-lite-0.2.9", + build_file = Label("//third_party/rust/remote:BUILD.pin-project-lite-0.2.9.bazel"), ) maybe( @@ -893,42 +883,42 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__prost__0_7_0", - url = "https://crates.io/api/v1/crates/prost/0.7.0/download", + name = "raze__prost__0_9_0", + url = "https://crates.io/api/v1/crates/prost/0.9.0/download", type = "tar.gz", - sha256 = "9e6984d2f1a23009bd270b8bb56d0926810a3d483f59c987d77969e9d8e840b2", - strip_prefix = "prost-0.7.0", - build_file = Label("//third_party/rust/remote:BUILD.prost-0.7.0.bazel"), + sha256 = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001", + strip_prefix = "prost-0.9.0", + build_file = Label("//third_party/rust/remote:BUILD.prost-0.9.0.bazel"), ) maybe( http_archive, - name = "raze__prost_build__0_7_0", - url = "https://crates.io/api/v1/crates/prost-build/0.7.0/download", + name = "raze__prost_build__0_9_0", + url = "https://crates.io/api/v1/crates/prost-build/0.9.0/download", type = "tar.gz", - sha256 = "32d3ebd75ac2679c2af3a92246639f9fcc8a442ee420719cc4fe195b98dd5fa3", - strip_prefix = "prost-build-0.7.0", - build_file = Label("//third_party/rust/remote:BUILD.prost-build-0.7.0.bazel"), + sha256 = "62941722fb675d463659e49c4f3fe1fe792ff24fe5bbaa9c08cd3b98a1c354f5", + strip_prefix = "prost-build-0.9.0", + build_file = Label("//third_party/rust/remote:BUILD.prost-build-0.9.0.bazel"), ) maybe( http_archive, - name = "raze__prost_derive__0_7_0", - url = "https://crates.io/api/v1/crates/prost-derive/0.7.0/download", + name = "raze__prost_derive__0_9_0", + url = "https://crates.io/api/v1/crates/prost-derive/0.9.0/download", type = "tar.gz", - sha256 = "169a15f3008ecb5160cba7d37bcd690a7601b6d30cfb87a117d45e59d52af5d4", - strip_prefix = "prost-derive-0.7.0", - build_file = Label("//third_party/rust/remote:BUILD.prost-derive-0.7.0.bazel"), + sha256 = "f9cc1a3263e07e0bf68e96268f37665207b49560d98739662cdfaae215c720fe", + strip_prefix = "prost-derive-0.9.0", + build_file = Label("//third_party/rust/remote:BUILD.prost-derive-0.9.0.bazel"), ) maybe( http_archive, - name = "raze__prost_types__0_7_0", - url = "https://crates.io/api/v1/crates/prost-types/0.7.0/download", + name = "raze__prost_types__0_9_0", + url = "https://crates.io/api/v1/crates/prost-types/0.9.0/download", type = "tar.gz", - sha256 = "b518d7cdd93dab1d1122cf07fa9a60771836c668dde9d9e2a139f957f0d9f1bb", - strip_prefix = "prost-types-0.7.0", - build_file = Label("//third_party/rust/remote:BUILD.prost-types-0.7.0.bazel"), + sha256 = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a", + strip_prefix = "prost-types-0.9.0", + build_file = Label("//third_party/rust/remote:BUILD.prost-types-0.9.0.bazel"), ) maybe( @@ -1053,22 +1043,22 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__regex__1_4_2", - url = "https://crates.io/api/v1/crates/regex/1.4.2/download", + name = "raze__regex__1_5_6", + url = "https://crates.io/api/v1/crates/regex/1.5.6/download", type = "tar.gz", - sha256 = "38cf2c13ed4745de91a5eb834e11c00bcc3709e773173b2ce4c56c9fbde04b9c", - strip_prefix = "regex-1.4.2", - build_file = Label("//third_party/rust/remote:BUILD.regex-1.4.2.bazel"), + sha256 = "d83f127d94bdbcda4c8cc2e50f6f84f4b611f69c902699ca385a39c3a75f9ff1", + strip_prefix = "regex-1.5.6", + build_file = Label("//third_party/rust/remote:BUILD.regex-1.5.6.bazel"), ) maybe( http_archive, - name = "raze__regex_syntax__0_6_21", - url = "https://crates.io/api/v1/crates/regex-syntax/0.6.21/download", + name = "raze__regex_syntax__0_6_26", + url = "https://crates.io/api/v1/crates/regex-syntax/0.6.26/download", type = "tar.gz", - sha256 = "3b181ba2dcf07aaccad5448e8ead58db5b742cf85dfe035e2227f137a539a189", - strip_prefix = "regex-syntax-0.6.21", - build_file = Label("//third_party/rust/remote:BUILD.regex-syntax-0.6.21.bazel"), + sha256 = "49b3de9ec5dc0a3417da371aab17d729997c15010e7fd24ff707773a33bddb64", + strip_prefix = "regex-syntax-0.6.26", + build_file = Label("//third_party/rust/remote:BUILD.regex-syntax-0.6.26.bazel"), ) maybe( @@ -1201,16 +1191,6 @@ def raze_fetch_remote_crates(): build_file = Label("//third_party/rust/remote:BUILD.slab-0.4.2.bazel"), ) - maybe( - http_archive, - name = "raze__socket2__0_3_16", - url = "https://crates.io/api/v1/crates/socket2/0.3.16/download", - type = "tar.gz", - sha256 = "7fd8b795c389288baa5f355489c65e71fd48a02104600d15c4cfbc561e9e429d", - strip_prefix = "socket2-0.3.16", - build_file = Label("//third_party/rust/remote:BUILD.socket2-0.3.16.bazel"), - ) - maybe( http_archive, name = "raze__socket2__0_4_4", @@ -1301,16 +1281,6 @@ def raze_fetch_remote_crates(): build_file = Label("//third_party/rust/remote:BUILD.thiserror-impl-1.0.22.bazel"), ) - maybe( - http_archive, - name = "raze__thread_local__1_0_1", - url = "https://crates.io/api/v1/crates/thread_local/1.0.1/download", - type = "tar.gz", - sha256 = "d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14", - strip_prefix = "thread_local-1.0.1", - build_file = Label("//third_party/rust/remote:BUILD.thread_local-1.0.1.bazel"), - ) - maybe( http_archive, name = "raze__tinyvec__1_1_1", @@ -1333,12 +1303,22 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__tokio__1_8_4", - url = "https://crates.io/api/v1/crates/tokio/1.8.4/download", + name = "raze__tokio__1_19_2", + url = "https://crates.io/api/v1/crates/tokio/1.19.2/download", + type = "tar.gz", + sha256 = "c51a52ed6686dd62c320f9b89299e9dfb46f730c7a48e635c19f21d116cb1439", + strip_prefix = "tokio-1.19.2", + build_file = Label("//third_party/rust/remote:BUILD.tokio-1.19.2.bazel"), + ) + + maybe( + http_archive, + name = "raze__tokio_io_timeout__1_2_0", + url = "https://crates.io/api/v1/crates/tokio-io-timeout/1.2.0/download", type = "tar.gz", - sha256 = "50dae83881bc9b0403dd5b44ea9deed3e939856cc8722d5be37f0d6e5c6d53dd", - strip_prefix = "tokio-1.8.4", - build_file = Label("//third_party/rust/remote:BUILD.tokio-1.8.4.bazel"), + sha256 = "30b74022ada614a1b4834de765f9bb43877f910cc8ce4be40e89042c9223a8bf", + strip_prefix = "tokio-io-timeout-1.2.0", + build_file = Label("//third_party/rust/remote:BUILD.tokio-io-timeout-1.2.0.bazel"), ) maybe( @@ -1383,42 +1363,52 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__tonic__0_4_2", - url = "https://crates.io/api/v1/crates/tonic/0.4.2/download", + name = "raze__tokio_util__0_7_3", + url = "https://crates.io/api/v1/crates/tokio-util/0.7.3/download", type = "tar.gz", - sha256 = "556dc31b450f45d18279cfc3d2519280273f460d5387e6b7b24503e65d206f8b", - strip_prefix = "tonic-0.4.2", - build_file = Label("//third_party/rust/remote:BUILD.tonic-0.4.2.bazel"), + sha256 = "cc463cd8deddc3770d20f9852143d50bf6094e640b485cb2e189a2099085ff45", + strip_prefix = "tokio-util-0.7.3", + build_file = Label("//third_party/rust/remote:BUILD.tokio-util-0.7.3.bazel"), ) maybe( http_archive, - name = "raze__tonic_build__0_4_2", - url = "https://crates.io/api/v1/crates/tonic-build/0.4.2/download", + name = "raze__tonic__0_6_2", + url = "https://crates.io/api/v1/crates/tonic/0.6.2/download", type = "tar.gz", - sha256 = "c695de27302f4697191dda1c7178131a8cb805463dda02864acb80fe1322fdcf", - strip_prefix = "tonic-build-0.4.2", - build_file = Label("//third_party/rust/remote:BUILD.tonic-build-0.4.2.bazel"), + sha256 = "ff08f4649d10a70ffa3522ca559031285d8e421d727ac85c60825761818f5d0a", + strip_prefix = "tonic-0.6.2", + build_file = Label("//third_party/rust/remote:BUILD.tonic-0.6.2.bazel"), ) maybe( http_archive, - name = "raze__tonic_reflection__0_1_0", - url = "https://crates.io/api/v1/crates/tonic-reflection/0.1.0/download", + name = "raze__tonic_build__0_6_2", + url = "https://crates.io/api/v1/crates/tonic-build/0.6.2/download", type = "tar.gz", - sha256 = "56498d20188550337ea6c48ecf59d11646382dbfcd61051fb98c1093cfae3c21", - strip_prefix = "tonic-reflection-0.1.0", - build_file = Label("//third_party/rust/remote:BUILD.tonic-reflection-0.1.0.bazel"), + sha256 = "9403f1bafde247186684b230dc6f38b5cd514584e8bec1dd32514be4745fa757", + strip_prefix = "tonic-build-0.6.2", + build_file = Label("//third_party/rust/remote:BUILD.tonic-build-0.6.2.bazel"), ) maybe( http_archive, - name = "raze__tower__0_4_6", - url = "https://crates.io/api/v1/crates/tower/0.4.6/download", + name = "raze__tonic_reflection__0_3_0", + url = "https://crates.io/api/v1/crates/tonic-reflection/0.3.0/download", type = "tar.gz", - sha256 = "f715efe02c0862926eb463e49368d38ddb119383475686178e32e26d15d06a66", - strip_prefix = "tower-0.4.6", - build_file = Label("//third_party/rust/remote:BUILD.tower-0.4.6.bazel"), + sha256 = "228cc5aa5d3e6e0624b5f756a7558038ee86428d1d58d8c6e551b389b12cf355", + strip_prefix = "tonic-reflection-0.3.0", + build_file = Label("//third_party/rust/remote:BUILD.tonic-reflection-0.3.0.bazel"), + ) + + maybe( + http_archive, + name = "raze__tower__0_4_11", + url = "https://crates.io/api/v1/crates/tower/0.4.11/download", + type = "tar.gz", + sha256 = "5651b5f6860a99bd1adb59dbfe1db8beb433e73709d9032b413a77e2fb7c066a", + strip_prefix = "tower-0.4.11", + build_file = Label("//third_party/rust/remote:BUILD.tower-0.4.11.bazel"), ) maybe( @@ -1443,32 +1433,32 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__tracing__0_1_21", - url = "https://crates.io/api/v1/crates/tracing/0.1.21/download", + name = "raze__tracing__0_1_34", + url = "https://crates.io/api/v1/crates/tracing/0.1.34/download", type = "tar.gz", - sha256 = "b0987850db3733619253fe60e17cb59b82d37c7e6c0236bb81e4d6b87c879f27", - strip_prefix = "tracing-0.1.21", - build_file = Label("//third_party/rust/remote:BUILD.tracing-0.1.21.bazel"), + sha256 = "5d0ecdcb44a79f0fe9844f0c4f33a342cbcbb5117de8001e6ba0dc2351327d09", + strip_prefix = "tracing-0.1.34", + build_file = Label("//third_party/rust/remote:BUILD.tracing-0.1.34.bazel"), ) maybe( http_archive, - name = "raze__tracing_attributes__0_1_11", - url = "https://crates.io/api/v1/crates/tracing-attributes/0.1.11/download", + name = "raze__tracing_attributes__0_1_21", + url = "https://crates.io/api/v1/crates/tracing-attributes/0.1.21/download", type = "tar.gz", - sha256 = "80e0ccfc3378da0cce270c946b676a376943f5cd16aeba64568e7939806f4ada", - strip_prefix = "tracing-attributes-0.1.11", - build_file = Label("//third_party/rust/remote:BUILD.tracing-attributes-0.1.11.bazel"), + sha256 = "cc6b8ad3567499f98a1db7a752b07a7c8c7c7c34c332ec00effb2b0027974b7c", + strip_prefix = "tracing-attributes-0.1.21", + build_file = Label("//third_party/rust/remote:BUILD.tracing-attributes-0.1.21.bazel"), ) maybe( http_archive, - name = "raze__tracing_core__0_1_17", - url = "https://crates.io/api/v1/crates/tracing-core/0.1.17/download", + name = "raze__tracing_core__0_1_26", + url = "https://crates.io/api/v1/crates/tracing-core/0.1.26/download", type = "tar.gz", - sha256 = "f50de3927f93d202783f4513cda820ab47ef17f624b03c096e86ef00c67e6b5f", - strip_prefix = "tracing-core-0.1.17", - build_file = Label("//third_party/rust/remote:BUILD.tracing-core-0.1.17.bazel"), + sha256 = "f54c8ca710e81886d498c2fd3331b56c93aa248d49de2222ad2742247c60072f", + strip_prefix = "tracing-core-0.1.26", + build_file = Label("//third_party/rust/remote:BUILD.tracing-core-0.1.26.bazel"), ) maybe( @@ -1611,6 +1601,16 @@ def raze_fetch_remote_crates(): build_file = Label("//third_party/rust/remote:BUILD.wasi-0.10.1+wasi-snapshot-preview1.bazel"), ) + maybe( + http_archive, + name = "raze__wasi__0_11_0_wasi_snapshot_preview1", + url = "https://crates.io/api/v1/crates/wasi/0.11.0+wasi-snapshot-preview1/download", + type = "tar.gz", + sha256 = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423", + strip_prefix = "wasi-0.11.0+wasi-snapshot-preview1", + build_file = Label("//third_party/rust/remote:BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel"), + ) + maybe( http_archive, name = "raze__wasi__0_9_0_wasi_snapshot_preview1", @@ -1761,6 +1761,66 @@ def raze_fetch_remote_crates(): build_file = Label("//third_party/rust/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"), ) + maybe( + http_archive, + name = "raze__windows_sys__0_36_1", + url = "https://crates.io/api/v1/crates/windows-sys/0.36.1/download", + type = "tar.gz", + sha256 = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2", + strip_prefix = "windows-sys-0.36.1", + build_file = Label("//third_party/rust/remote:BUILD.windows-sys-0.36.1.bazel"), + ) + + maybe( + http_archive, + name = "raze__windows_aarch64_msvc__0_36_1", + url = "https://crates.io/api/v1/crates/windows_aarch64_msvc/0.36.1/download", + type = "tar.gz", + sha256 = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47", + strip_prefix = "windows_aarch64_msvc-0.36.1", + build_file = Label("//third_party/rust/remote:BUILD.windows_aarch64_msvc-0.36.1.bazel"), + ) + + maybe( + http_archive, + name = "raze__windows_i686_gnu__0_36_1", + url = "https://crates.io/api/v1/crates/windows_i686_gnu/0.36.1/download", + type = "tar.gz", + sha256 = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6", + strip_prefix = "windows_i686_gnu-0.36.1", + build_file = Label("//third_party/rust/remote:BUILD.windows_i686_gnu-0.36.1.bazel"), + ) + + maybe( + http_archive, + name = "raze__windows_i686_msvc__0_36_1", + url = "https://crates.io/api/v1/crates/windows_i686_msvc/0.36.1/download", + type = "tar.gz", + sha256 = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024", + strip_prefix = "windows_i686_msvc-0.36.1", + build_file = Label("//third_party/rust/remote:BUILD.windows_i686_msvc-0.36.1.bazel"), + ) + + maybe( + http_archive, + name = "raze__windows_x86_64_gnu__0_36_1", + url = "https://crates.io/api/v1/crates/windows_x86_64_gnu/0.36.1/download", + type = "tar.gz", + sha256 = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1", + strip_prefix = "windows_x86_64_gnu-0.36.1", + build_file = Label("//third_party/rust/remote:BUILD.windows_x86_64_gnu-0.36.1.bazel"), + ) + + maybe( + http_archive, + name = "raze__windows_x86_64_msvc__0_36_1", + url = "https://crates.io/api/v1/crates/windows_x86_64_msvc/0.36.1/download", + type = "tar.gz", + sha256 = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680", + strip_prefix = "windows_x86_64_msvc-0.36.1", + build_file = Label("//third_party/rust/remote:BUILD.windows_x86_64_msvc-0.36.1.bazel"), + ) + maybe( http_archive, name = "raze__winreg__0_7_0", diff --git a/third_party/rust/remote/BUILD.aho-corasick-0.7.15.bazel b/third_party/rust/remote/BUILD.aho-corasick-0.7.18.bazel similarity index 92% rename from third_party/rust/remote/BUILD.aho-corasick-0.7.15.bazel rename to third_party/rust/remote/BUILD.aho-corasick-0.7.18.bazel index 6714f737541..0e42ba6252b 100644 --- a/third_party/rust/remote/BUILD.aho-corasick-0.7.15.bazel +++ b/third_party/rust/remote/BUILD.aho-corasick-0.7.18.bazel @@ -40,7 +40,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2015", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], @@ -48,9 +48,9 @@ rust_library( "cargo-raze", "manual", ], - version = "0.7.15", + version = "0.7.18", # buildifier: leave-alone deps = [ - "@raze__memchr__2_3_4//:memchr", + "@raze__memchr__2_5_0//:memchr", ], ) diff --git a/third_party/rust/remote/BUILD.clap-3.0.0-beta.2.bazel b/third_party/rust/remote/BUILD.clap-3.0.0-beta.2.bazel index 072875cfe4f..3c051478e6a 100644 --- a/third_party/rust/remote/BUILD.clap-3.0.0-beta.2.bazel +++ b/third_party/rust/remote/BUILD.clap-3.0.0-beta.2.bazel @@ -77,7 +77,7 @@ rust_library( deps = [ "@raze__atty__0_2_14//:atty", "@raze__bitflags__1_2_1//:bitflags", - "@raze__indexmap__1_6_0//:indexmap", + "@raze__indexmap__1_8_2//:indexmap", "@raze__lazy_static__1_4_0//:lazy_static", "@raze__os_str_bytes__2_4_0//:os_str_bytes", "@raze__strsim__0_10_0//:strsim", diff --git a/third_party/rust/remote/BUILD.env_logger-0.8.2.bazel b/third_party/rust/remote/BUILD.env_logger-0.8.2.bazel index f3d2c139b60..80f44961db3 100644 --- a/third_party/rust/remote/BUILD.env_logger-0.8.2.bazel +++ b/third_party/rust/remote/BUILD.env_logger-0.8.2.bazel @@ -73,7 +73,7 @@ rust_library( "@raze__atty__0_2_14//:atty", "@raze__humantime__2_0_1//:humantime", "@raze__log__0_4_11//:log", - "@raze__regex__1_4_2//:regex", + "@raze__regex__1_5_6//:regex", "@raze__termcolor__1_1_0//:termcolor", ], ) diff --git a/third_party/rust/remote/BUILD.fixedbitset-0.2.0.bazel b/third_party/rust/remote/BUILD.fixedbitset-0.4.1.bazel similarity index 97% rename from third_party/rust/remote/BUILD.fixedbitset-0.2.0.bazel rename to third_party/rust/remote/BUILD.fixedbitset-0.4.1.bazel index 8ad92ba72b8..9e341cf5a04 100644 --- a/third_party/rust/remote/BUILD.fixedbitset-0.2.0.bazel +++ b/third_party/rust/remote/BUILD.fixedbitset-0.4.1.bazel @@ -48,7 +48,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.2.0", + version = "0.4.1", # buildifier: leave-alone deps = [ ], diff --git a/third_party/rust/remote/BUILD.futures-util-0.3.8.bazel b/third_party/rust/remote/BUILD.futures-util-0.3.8.bazel index f25c378176b..82e694f6855 100644 --- a/third_party/rust/remote/BUILD.futures-util-0.3.8.bazel +++ b/third_party/rust/remote/BUILD.futures-util-0.3.8.bazel @@ -70,7 +70,7 @@ rust_library( "@raze__futures_core__0_3_12//:futures_core", "@raze__futures_io__0_3_12//:futures_io", "@raze__futures_task__0_3_8//:futures_task", - "@raze__memchr__2_3_4//:memchr", + "@raze__memchr__2_5_0//:memchr", "@raze__pin_project__1_0_1//:pin_project", "@raze__pin_utils__0_1_0//:pin_utils", "@raze__proc_macro_nested__0_1_7//:proc_macro_nested", diff --git a/third_party/rust/remote/BUILD.h2-0.3.0.bazel b/third_party/rust/remote/BUILD.h2-0.3.13.bazel similarity index 85% rename from third_party/rust/remote/BUILD.h2-0.3.0.bazel rename to third_party/rust/remote/BUILD.h2-0.3.13.bazel index f586893e20f..17148fbdc2d 100644 --- a/third_party/rust/remote/BUILD.h2-0.3.0.bazel +++ b/third_party/rust/remote/BUILD.h2-0.3.13.bazel @@ -52,7 +52,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.3.0", + version = "0.3.13", # buildifier: leave-alone deps = [ "@raze__bytes__1_0_1//:bytes", @@ -61,11 +61,10 @@ rust_library( "@raze__futures_sink__0_3_8//:futures_sink", "@raze__futures_util__0_3_8//:futures_util", "@raze__http__0_2_1//:http", - "@raze__indexmap__1_6_0//:indexmap", + "@raze__indexmap__1_8_2//:indexmap", "@raze__slab__0_4_2//:slab", - "@raze__tokio__1_8_4//:tokio", - "@raze__tokio_util__0_6_6//:tokio_util", - "@raze__tracing__0_1_21//:tracing", - "@raze__tracing_futures__0_2_4//:tracing_futures", + "@raze__tokio__1_19_2//:tokio", + "@raze__tokio_util__0_7_3//:tokio_util", + "@raze__tracing__0_1_34//:tracing", ], ) diff --git a/third_party/rust/remote/BUILD.hashbrown-0.9.1.bazel b/third_party/rust/remote/BUILD.hashbrown-0.11.2.bazel similarity index 98% rename from third_party/rust/remote/BUILD.hashbrown-0.9.1.bazel rename to third_party/rust/remote/BUILD.hashbrown-0.11.2.bazel index 86b2d55bb61..6dfb3f09bf9 100644 --- a/third_party/rust/remote/BUILD.hashbrown-0.9.1.bazel +++ b/third_party/rust/remote/BUILD.hashbrown-0.11.2.bazel @@ -49,7 +49,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.9.1", + version = "0.11.2", # buildifier: leave-alone deps = [ ], diff --git a/third_party/rust/remote/BUILD.http-body-0.4.0.bazel b/third_party/rust/remote/BUILD.http-body-0.4.5.bazel similarity index 93% rename from third_party/rust/remote/BUILD.http-body-0.4.0.bazel rename to third_party/rust/remote/BUILD.http-body-0.4.5.bazel index 3fd2df9f08c..d1b307003bb 100644 --- a/third_party/rust/remote/BUILD.http-body-0.4.0.bazel +++ b/third_party/rust/remote/BUILD.http-body-0.4.5.bazel @@ -46,11 +46,12 @@ rust_library( "cargo-raze", "manual", ], - version = "0.4.0", + version = "0.4.5", # buildifier: leave-alone deps = [ "@raze__bytes__1_0_1//:bytes", "@raze__http__0_2_1//:http", + "@raze__pin_project_lite__0_2_9//:pin_project_lite", ], ) diff --git a/third_party/rust/remote/BUILD.hyper-0.14.7.bazel b/third_party/rust/remote/BUILD.hyper-0.14.19.bazel similarity index 88% rename from third_party/rust/remote/BUILD.hyper-0.14.7.bazel rename to third_party/rust/remote/BUILD.hyper-0.14.19.bazel index 06d2c66fa01..277d2e7628d 100644 --- a/third_party/rust/remote/BUILD.hyper-0.14.7.bazel +++ b/third_party/rust/remote/BUILD.hyper-0.14.19.bazel @@ -41,8 +41,6 @@ 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 @@ -101,30 +99,28 @@ rust_library( "cargo-raze", "manual", ], - version = "0.14.7", + version = "0.14.19", # buildifier: leave-alone deps = [ "@raze__bytes__1_0_1//:bytes", "@raze__futures_channel__0_3_8//:futures_channel", "@raze__futures_core__0_3_12//:futures_core", "@raze__futures_util__0_3_8//:futures_util", - "@raze__h2__0_3_0//:h2", + "@raze__h2__0_3_13//:h2", "@raze__http__0_2_1//:http", - "@raze__http_body__0_4_0//:http_body", + "@raze__http_body__0_4_5//:http_body", "@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__itoa__1_0_2//:itoa", + "@raze__pin_project_lite__0_2_9//:pin_project_lite", "@raze__socket2__0_4_4//:socket2", - "@raze__tokio__1_8_4//:tokio", + "@raze__tokio__1_19_2//:tokio", "@raze__tower_service__0_3_0//:tower_service", - "@raze__tracing__0_1_21//:tracing", + "@raze__tracing__0_1_34//:tracing", "@raze__want__0_3_0//:want", ], ) -# 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 059af5da105..5ba0038c096 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,10 +54,10 @@ rust_library( # buildifier: leave-alone deps = [ "@raze__futures_util__0_3_8//:futures_util", - "@raze__hyper__0_14_7//:hyper", + "@raze__hyper__0_14_19//:hyper", "@raze__log__0_4_11//:log", "@raze__rustls__0_19_0//:rustls", - "@raze__tokio__1_8_4//:tokio", + "@raze__tokio__1_19_2//:tokio", "@raze__tokio_rustls__0_22_0//:tokio_rustls", "@raze__webpki__0_21_4//:webpki", ], diff --git a/third_party/rust/remote/BUILD.hyper-timeout-0.4.1.bazel b/third_party/rust/remote/BUILD.hyper-timeout-0.4.1.bazel new file mode 100644 index 00000000000..392786a4a05 --- /dev/null +++ b/third_party/rust/remote/BUILD.hyper-timeout-0.4.1.bazel @@ -0,0 +1,59 @@ +""" +@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 + +# Unsupported target "client" with type "example" omitted + +rust_library( + name = "hyper_timeout", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.1", + # buildifier: leave-alone + deps = [ + "@raze__hyper__0_14_19//:hyper", + "@raze__pin_project_lite__0_2_9//:pin_project_lite", + "@raze__tokio__1_19_2//:tokio", + "@raze__tokio_io_timeout__1_2_0//:tokio_io_timeout", + ], +) diff --git a/third_party/rust/remote/BUILD.indexmap-1.6.0.bazel b/third_party/rust/remote/BUILD.indexmap-1.8.2.bazel similarity index 94% rename from third_party/rust/remote/BUILD.indexmap-1.6.0.bazel rename to third_party/rust/remote/BUILD.indexmap-1.8.2.bazel index 3505e8ae6fe..fcf48118f23 100644 --- a/third_party/rust/remote/BUILD.indexmap-1.6.0.bazel +++ b/third_party/rust/remote/BUILD.indexmap-1.8.2.bazel @@ -41,6 +41,7 @@ rust_library( name = "indexmap", srcs = glob(["**/*.rs"]), crate_features = [ + "std", ], crate_root = "src/lib.rs", data = [], @@ -53,10 +54,10 @@ rust_library( "cargo-raze", "manual", ], - version = "1.6.0", + version = "1.8.2", # buildifier: leave-alone deps = [ - "@raze__hashbrown__0_9_1//:hashbrown", + "@raze__hashbrown__0_11_2//:hashbrown", ], ) diff --git a/third_party/rust/remote/BUILD.itertools-0.9.0.bazel b/third_party/rust/remote/BUILD.itertools-0.10.3.bazel similarity index 87% rename from third_party/rust/remote/BUILD.itertools-0.9.0.bazel rename to third_party/rust/remote/BUILD.itertools-0.10.3.bazel index cd6e23f51fd..e2410209a2a 100644 --- a/third_party/rust/remote/BUILD.itertools-0.9.0.bazel +++ b/third_party/rust/remote/BUILD.itertools-0.10.3.bazel @@ -33,10 +33,14 @@ licenses([ # Unsupported target "bench1" with type "bench" omitted +# Unsupported target "combinations" with type "bench" omitted + # Unsupported target "combinations_with_replacement" with type "bench" omitted # Unsupported target "fold_specialization" with type "bench" omitted +# Unsupported target "powerset" with type "bench" omitted + # Unsupported target "tree_fold1" with type "bench" omitted # Unsupported target "tuple_combinations" with type "bench" omitted @@ -50,6 +54,7 @@ rust_library( srcs = glob(["**/*.rs"]), crate_features = [ "default", + "use_alloc", "use_std", ], crate_root = "src/lib.rs", @@ -62,7 +67,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.9.0", + version = "0.10.3", # buildifier: leave-alone deps = [ "@raze__either__1_6_1//:either", @@ -71,7 +76,9 @@ rust_library( # Unsupported target "adaptors_no_collect" with type "test" omitted -# Unsupported target "fold_specialization" with type "test" omitted +# Unsupported target "flatten_ok" with type "test" omitted + +# Unsupported target "macros_hygiene" with type "test" omitted # Unsupported target "merge_join" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.regex-syntax-0.6.21.bazel b/third_party/rust/remote/BUILD.itoa-1.0.2.bazel similarity index 89% rename from third_party/rust/remote/BUILD.regex-syntax-0.6.21.bazel rename to third_party/rust/remote/BUILD.itoa-1.0.2.bazel index 0cdfa249c70..eb0c56c40de 100644 --- a/third_party/rust/remote/BUILD.regex-syntax-0.6.21.bazel +++ b/third_party/rust/remote/BUILD.itoa-1.0.2.bazel @@ -34,13 +34,13 @@ licenses([ # Unsupported target "bench" with type "bench" omitted rust_library( - name = "regex_syntax", + name = "itoa", srcs = glob(["**/*.rs"]), crate_features = [ ], crate_root = "src/lib.rs", data = [], - edition = "2015", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], @@ -48,8 +48,10 @@ rust_library( "cargo-raze", "manual", ], - version = "0.6.21", + version = "1.0.2", # buildifier: leave-alone deps = [ ], ) + +# Unsupported target "test" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.libc-0.2.126.bazel b/third_party/rust/remote/BUILD.libc-0.2.126.bazel index 4e6dcd045c8..028605ef948 100644 --- a/third_party/rust/remote/BUILD.libc-0.2.126.bazel +++ b/third_party/rust/remote/BUILD.libc-0.2.126.bazel @@ -43,7 +43,6 @@ cargo_build_script( build_script_env = { }, crate_features = [ - "align", "default", "std", ], @@ -67,7 +66,6 @@ rust_library( name = "libc", srcs = glob(["**/*.rs"]), crate_features = [ - "align", "default", "std", ], diff --git a/third_party/rust/remote/BUILD.memchr-2.3.4.bazel b/third_party/rust/remote/BUILD.memchr-2.5.0.bazel similarity index 94% rename from third_party/rust/remote/BUILD.memchr-2.3.4.bazel rename to third_party/rust/remote/BUILD.memchr-2.5.0.bazel index 370a98b3a1a..cf93034615b 100644 --- a/third_party/rust/remote/BUILD.memchr-2.3.4.bazel +++ b/third_party/rust/remote/BUILD.memchr-2.5.0.bazel @@ -39,11 +39,10 @@ rust_library( crate_features = [ "default", "std", - "use_std", ], crate_root = "src/lib.rs", data = [], - edition = "2015", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], @@ -51,7 +50,7 @@ rust_library( "cargo-raze", "manual", ], - version = "2.3.4", + version = "2.5.0", # buildifier: leave-alone deps = [ ], diff --git a/third_party/rust/remote/BUILD.mio-0.7.7.bazel b/third_party/rust/remote/BUILD.mio-0.8.3.bazel similarity index 88% rename from third_party/rust/remote/BUILD.mio-0.7.7.bazel rename to third_party/rust/remote/BUILD.mio-0.8.3.bazel index 7ae04aeb7a1..8795e012077 100644 --- a/third_party/rust/remote/BUILD.mio-0.7.7.bazel +++ b/third_party/rust/remote/BUILD.mio-0.8.3.bazel @@ -31,6 +31,8 @@ licenses([ # Generated Targets +# Unsupported target "tcp_listenfd_server" with type "example" omitted + # Unsupported target "tcp_server" with type "example" omitted # Unsupported target "udp_server" with type "example" omitted @@ -45,10 +47,6 @@ rust_library( "net", "os-ext", "os-poll", - "os-util", - "tcp", - "udp", - "uds", ], crate_root = "src/lib.rs", data = [], @@ -60,7 +58,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.7.7", + version = "0.8.3", # buildifier: leave-alone deps = [ "@raze__log__0_4_11//:log", @@ -78,9 +76,7 @@ rust_library( ( "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@raze__miow__0_3_6//:miow", - "@raze__ntapi__0_3_6//:ntapi", - "@raze__winapi__0_3_9//:winapi", + "@raze__windows_sys__0_36_1//:windows_sys", ], "//conditions:default": [], }), diff --git a/third_party/rust/remote/BUILD.once_cell-1.5.2.bazel b/third_party/rust/remote/BUILD.once_cell-1.5.2.bazel index 0d9443fc77e..23a52598647 100644 --- a/third_party/rust/remote/BUILD.once_cell-1.5.2.bazel +++ b/third_party/rust/remote/BUILD.once_cell-1.5.2.bazel @@ -50,6 +50,7 @@ rust_library( srcs = glob(["**/*.rs"]), crate_features = [ "alloc", + "default", "std", ], crate_root = "src/lib.rs", diff --git a/third_party/rust/remote/BUILD.petgraph-0.5.1.bazel b/third_party/rust/remote/BUILD.petgraph-0.6.2.bazel similarity index 68% rename from third_party/rust/remote/BUILD.petgraph-0.5.1.bazel rename to third_party/rust/remote/BUILD.petgraph-0.6.2.bazel index c33e8c0f83e..462948badb8 100644 --- a/third_party/rust/remote/BUILD.petgraph-0.5.1.bazel +++ b/third_party/rust/remote/BUILD.petgraph-0.6.2.bazel @@ -31,14 +31,26 @@ licenses([ # Generated Targets +# Unsupported target "bellman_ford" with type "bench" omitted + # Unsupported target "dijkstra" with type "bench" omitted +# Unsupported target "feedback_arc_set" with type "bench" omitted + +# Unsupported target "floyd_warshall" with type "bench" omitted + # Unsupported target "iso" with type "bench" omitted +# Unsupported target "k_shortest_path" with type "bench" omitted + +# Unsupported target "matching" with type "bench" omitted + # Unsupported target "matrix_graph" with type "bench" omitted # Unsupported target "ograph" with type "bench" omitted +# Unsupported target "serialize" with type "bench" omitted + # Unsupported target "stable_graph" with type "bench" omitted # Unsupported target "unionfind" with type "bench" omitted @@ -58,20 +70,30 @@ rust_library( "cargo-raze", "manual", ], - version = "0.5.1", + version = "0.6.2", # buildifier: leave-alone deps = [ - "@raze__fixedbitset__0_2_0//:fixedbitset", - "@raze__indexmap__1_6_0//:indexmap", + "@raze__fixedbitset__0_4_1//:fixedbitset", + "@raze__indexmap__1_8_2//:indexmap", ], ) +# Unsupported target "floyd_warshall" with type "test" omitted + # Unsupported target "graph" with type "test" omitted # Unsupported target "graphmap" with type "test" omitted # Unsupported target "iso" with type "test" omitted +# Unsupported target "k_shortest_path" with type "test" omitted + +# Unsupported target "list" with type "test" omitted + +# Unsupported target "matching" with type "test" omitted + +# Unsupported target "operator" with type "test" omitted + # Unsupported target "quickcheck" with type "test" omitted # Unsupported target "stable_graph" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.pin-project-lite-0.1.11.bazel b/third_party/rust/remote/BUILD.pin-project-lite-0.1.11.bazel deleted file mode 100644 index 5695dd3caff..00000000000 --- a/third_party/rust/remote/BUILD.pin-project-lite-0.1.11.bazel +++ /dev/null @@ -1,61 +0,0 @@ -""" -@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", # Apache-2.0 from expression "Apache-2.0 OR MIT" -]) - -# Generated Targets - -rust_library( - name = "pin_project_lite", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.1.11", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "compiletest" with type "test" omitted - -# Unsupported target "lint" with type "test" omitted - -# Unsupported target "proper_unpin" with type "test" omitted - -# Unsupported target "test" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.pin-project-lite-0.2.4.bazel b/third_party/rust/remote/BUILD.pin-project-lite-0.2.9.bazel similarity index 94% rename from third_party/rust/remote/BUILD.pin-project-lite-0.2.4.bazel rename to third_party/rust/remote/BUILD.pin-project-lite-0.2.9.bazel index b87ec2d148f..e1fb52fc01e 100644 --- a/third_party/rust/remote/BUILD.pin-project-lite-0.2.4.bazel +++ b/third_party/rust/remote/BUILD.pin-project-lite-0.2.9.bazel @@ -46,7 +46,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.2.4", + version = "0.2.9", # buildifier: leave-alone deps = [ ], @@ -56,6 +56,8 @@ rust_library( # Unsupported target "drop_order" with type "test" omitted +# Unsupported target "expandtest" with type "test" omitted + # Unsupported target "lint" with type "test" omitted # Unsupported target "proper_unpin" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.prost-0.7.0.bazel b/third_party/rust/remote/BUILD.prost-0.9.0.bazel similarity index 93% rename from third_party/rust/remote/BUILD.prost-0.7.0.bazel rename to third_party/rust/remote/BUILD.prost-0.9.0.bazel index 2a64ebccf0a..fcaec5296ee 100644 --- a/third_party/rust/remote/BUILD.prost-0.7.0.bazel +++ b/third_party/rust/remote/BUILD.prost-0.9.0.bazel @@ -45,7 +45,7 @@ rust_library( data = [], edition = "2018", proc_macro_deps = [ - "@raze__prost_derive__0_7_0//:prost_derive", + "@raze__prost_derive__0_9_0//:prost_derive", ], rustc_flags = [ "--cap-lints=allow", @@ -54,7 +54,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.7.0", + version = "0.9.0", # buildifier: leave-alone deps = [ "@raze__bytes__1_0_1//:bytes", diff --git a/third_party/rust/remote/BUILD.prost-build-0.7.0.bazel b/third_party/rust/remote/BUILD.prost-build-0.9.0.bazel similarity index 85% rename from third_party/rust/remote/BUILD.prost-build-0.7.0.bazel rename to third_party/rust/remote/BUILD.prost-build-0.9.0.bazel index a62957007bb..0b23e37c817 100644 --- a/third_party/rust/remote/BUILD.prost-build-0.7.0.bazel +++ b/third_party/rust/remote/BUILD.prost-build-0.9.0.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.7.0", + version = "0.9.0", visibility = ["//visibility:private"], deps = [ "@raze__which__4_0_2//:which", @@ -76,18 +76,20 @@ rust_library( "cargo-raze", "manual", ], - version = "0.7.0", + version = "0.9.0", # buildifier: leave-alone deps = [ ":prost_build_build_script", "@raze__bytes__1_0_1//:bytes", "@raze__heck__0_3_1//:heck", - "@raze__itertools__0_9_0//:itertools", + "@raze__itertools__0_10_3//:itertools", + "@raze__lazy_static__1_4_0//:lazy_static", "@raze__log__0_4_11//:log", "@raze__multimap__0_8_2//:multimap", - "@raze__petgraph__0_5_1//:petgraph", - "@raze__prost__0_7_0//:prost", - "@raze__prost_types__0_7_0//:prost_types", + "@raze__petgraph__0_6_2//:petgraph", + "@raze__prost__0_9_0//:prost", + "@raze__prost_types__0_9_0//:prost_types", + "@raze__regex__1_5_6//:regex", "@raze__tempfile__3_1_0//:tempfile", ], ) diff --git a/third_party/rust/remote/BUILD.prost-derive-0.7.0.bazel b/third_party/rust/remote/BUILD.prost-derive-0.9.0.bazel similarity index 94% rename from third_party/rust/remote/BUILD.prost-derive-0.7.0.bazel rename to third_party/rust/remote/BUILD.prost-derive-0.9.0.bazel index 1e93437b33b..3b68e3cdb79 100644 --- a/third_party/rust/remote/BUILD.prost-derive-0.7.0.bazel +++ b/third_party/rust/remote/BUILD.prost-derive-0.9.0.bazel @@ -46,11 +46,11 @@ rust_proc_macro( "cargo-raze", "manual", ], - version = "0.7.0", + version = "0.9.0", # buildifier: leave-alone deps = [ "@raze__anyhow__1_0_34//:anyhow", - "@raze__itertools__0_9_0//:itertools", + "@raze__itertools__0_10_3//:itertools", "@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__quote__1_0_7//:quote", "@raze__syn__1_0_67//:syn", diff --git a/third_party/rust/remote/BUILD.prost-types-0.7.0.bazel b/third_party/rust/remote/BUILD.prost-types-0.9.0.bazel similarity index 94% rename from third_party/rust/remote/BUILD.prost-types-0.7.0.bazel rename to third_party/rust/remote/BUILD.prost-types-0.9.0.bazel index 4c8f8101669..dc810177a3d 100644 --- a/third_party/rust/remote/BUILD.prost-types-0.7.0.bazel +++ b/third_party/rust/remote/BUILD.prost-types-0.9.0.bazel @@ -48,10 +48,10 @@ rust_library( "cargo-raze", "manual", ], - version = "0.7.0", + version = "0.9.0", # buildifier: leave-alone deps = [ "@raze__bytes__1_0_1//:bytes", - "@raze__prost__0_7_0//:prost", + "@raze__prost__0_9_0//:prost", ], ) diff --git a/third_party/rust/remote/BUILD.regex-1.4.2.bazel b/third_party/rust/remote/BUILD.regex-1.5.6.bazel similarity index 84% rename from third_party/rust/remote/BUILD.regex-1.4.2.bazel rename to third_party/rust/remote/BUILD.regex-1.5.6.bazel index 76aad6b2372..ca32c141c4a 100644 --- a/third_party/rust/remote/BUILD.regex-1.4.2.bazel +++ b/third_party/rust/remote/BUILD.regex-1.5.6.bazel @@ -48,6 +48,7 @@ rust_library( srcs = glob(["**/*.rs"]), crate_features = [ "aho-corasick", + "default", "memchr", "perf", "perf-cache", @@ -55,11 +56,18 @@ rust_library( "perf-inline", "perf-literal", "std", - "thread_local", + "unicode", + "unicode-age", + "unicode-bool", + "unicode-case", + "unicode-gencat", + "unicode-perl", + "unicode-script", + "unicode-segment", ], crate_root = "src/lib.rs", data = [], - edition = "2015", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], @@ -67,13 +75,12 @@ rust_library( "cargo-raze", "manual", ], - version = "1.4.2", + version = "1.5.6", # buildifier: leave-alone deps = [ - "@raze__aho_corasick__0_7_15//:aho_corasick", - "@raze__memchr__2_3_4//:memchr", - "@raze__regex_syntax__0_6_21//:regex_syntax", - "@raze__thread_local__1_0_1//:thread_local", + "@raze__aho_corasick__0_7_18//:aho_corasick", + "@raze__memchr__2_5_0//:memchr", + "@raze__regex_syntax__0_6_26//:regex_syntax", ], ) diff --git a/third_party/rust/remote/BUILD.regex-syntax-0.6.26.bazel b/third_party/rust/remote/BUILD.regex-syntax-0.6.26.bazel new file mode 100644 index 00000000000..e0ed267ea30 --- /dev/null +++ b/third_party/rust/remote/BUILD.regex-syntax-0.6.26.bazel @@ -0,0 +1,64 @@ +""" +@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 + +# Unsupported target "bench" with type "bench" omitted + +rust_library( + name = "regex_syntax", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "unicode", + "unicode-age", + "unicode-bool", + "unicode-case", + "unicode-gencat", + "unicode-perl", + "unicode-script", + "unicode-segment", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.6.26", + # buildifier: leave-alone + deps = [ + ], +) 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 a950ba75f04..b24c3d63c9d 100644 --- a/third_party/rust/remote/BUILD.reqwest-0.11.0.bazel +++ b/third_party/rust/remote/BUILD.reqwest-0.11.0.bazel @@ -91,17 +91,17 @@ rust_library( "@raze__encoding_rs__0_8_26//:encoding_rs", "@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_7//:hyper", + "@raze__http_body__0_4_5//:http_body", + "@raze__hyper__0_14_19//:hyper", "@raze__hyper_rustls__0_22_1//:hyper_rustls", "@raze__ipnet__2_3_0//:ipnet", "@raze__lazy_static__1_4_0//:lazy_static", "@raze__log__0_4_11//:log", "@raze__mime__0_3_16//:mime", "@raze__percent_encoding__2_1_0//:percent_encoding", - "@raze__pin_project_lite__0_2_4//:pin_project_lite", + "@raze__pin_project_lite__0_2_9//:pin_project_lite", "@raze__rustls__0_19_0//:rustls", - "@raze__tokio__1_8_4//:tokio", + "@raze__tokio__1_19_2//:tokio", "@raze__tokio_rustls__0_22_0//:tokio_rustls", "@raze__webpki_roots__0_21_1//:webpki_roots", ], diff --git a/third_party/rust/remote/BUILD.socket2-0.4.4.bazel b/third_party/rust/remote/BUILD.socket2-0.4.4.bazel index 333ee788a2a..ac78d01c4e4 100644 --- a/third_party/rust/remote/BUILD.socket2-0.4.4.bazel +++ b/third_party/rust/remote/BUILD.socket2-0.4.4.bazel @@ -37,6 +37,7 @@ rust_library( aliases = { }, crate_features = [ + "all", ], crate_root = "src/lib.rs", data = [], diff --git a/third_party/rust/remote/BUILD.thread_local-1.0.1.bazel b/third_party/rust/remote/BUILD.thread_local-1.0.1.bazel deleted file mode 100644 index d1f83c749f1..00000000000 --- a/third_party/rust/remote/BUILD.thread_local-1.0.1.bazel +++ /dev/null @@ -1,56 +0,0 @@ -""" -@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", # Apache-2.0 from expression "Apache-2.0 OR MIT" -]) - -# Generated Targets - -# Unsupported target "thread_local" with type "bench" omitted - -rust_library( - name = "thread_local", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.0.1", - # buildifier: leave-alone - deps = [ - "@raze__lazy_static__1_4_0//:lazy_static", - ], -) diff --git a/third_party/rust/remote/BUILD.tokio-1.8.4.bazel b/third_party/rust/remote/BUILD.tokio-1.19.2.bazel similarity index 89% rename from third_party/rust/remote/BUILD.tokio-1.8.4.bazel rename to third_party/rust/remote/BUILD.tokio-1.19.2.bazel index 24654865fbe..b37751bc7d2 100644 --- a/third_party/rust/remote/BUILD.tokio-1.8.4.bazel +++ b/third_party/rust/remote/BUILD.tokio-1.19.2.bazel @@ -31,8 +31,6 @@ licenses([ # Generated Targets -# Unsupported target "build-script-build" with type "custom-build" omitted - rust_library( name = "tokio", srcs = glob(["**/*.rs"]), @@ -49,8 +47,10 @@ rust_library( "mio", "net", "num_cpus", + "once_cell", "rt", "rt-multi-thread", + "socket2", "sync", "time", "tokio-macros", @@ -69,14 +69,16 @@ rust_library( "cargo-raze", "manual", ], - version = "1.8.4", + version = "1.19.2", # buildifier: leave-alone deps = [ "@raze__bytes__1_0_1//:bytes", - "@raze__memchr__2_3_4//:memchr", - "@raze__mio__0_7_7//:mio", + "@raze__memchr__2_5_0//:memchr", + "@raze__mio__0_8_3//:mio", "@raze__num_cpus__1_13_0//:num_cpus", - "@raze__pin_project_lite__0_2_4//:pin_project_lite", + "@raze__once_cell__1_5_2//:once_cell", + "@raze__pin_project_lite__0_2_9//:pin_project_lite", + "@raze__socket2__0_4_4//:socket2", ] + selects.with_or({ # cfg(unix) ( @@ -131,10 +133,14 @@ rust_library( # Unsupported target "io_driver_drop" with type "test" omitted +# Unsupported target "io_fill_buf" with type "test" omitted + # Unsupported target "io_lines" with type "test" omitted # Unsupported target "io_mem_stream" with type "test" omitted +# Unsupported target "io_poll_aio" with type "test" omitted + # Unsupported target "io_read" with type "test" omitted # Unsupported target "io_read_buf" with type "test" omitted @@ -153,6 +159,8 @@ rust_library( # Unsupported target "io_take" with type "test" omitted +# Unsupported target "io_util_empty" with type "test" omitted + # Unsupported target "io_write" with type "test" omitted # Unsupported target "io_write_all" with type "test" omitted @@ -163,10 +171,14 @@ rust_library( # Unsupported target "io_write_int" with type "test" omitted +# Unsupported target "join_handle_panic" with type "test" omitted + # Unsupported target "macros_join" with type "test" omitted # Unsupported target "macros_pin" with type "test" omitted +# Unsupported target "macros_rename_test" with type "test" omitted + # Unsupported target "macros_select" with type "test" omitted # Unsupported target "macros_test" with type "test" omitted @@ -181,12 +193,16 @@ rust_library( # Unsupported target "no_rt" with type "test" omitted +# Unsupported target "process_arg0" with type "test" omitted + # Unsupported target "process_issue_2174" with type "test" omitted # Unsupported target "process_issue_42" with type "test" omitted # Unsupported target "process_kill_on_drop" with type "test" omitted +# Unsupported target "process_raw_handle" with type "test" omitted + # Unsupported target "process_smoke" with type "test" omitted # Unsupported target "rt_basic" with type "test" omitted @@ -195,6 +211,8 @@ rust_library( # Unsupported target "rt_handle_block_on" with type "test" omitted +# Unsupported target "rt_metrics" with type "test" omitted + # Unsupported target "rt_threaded" with type "test" omitted # Unsupported target "signal_ctrl_c" with type "test" omitted @@ -247,6 +265,8 @@ rust_library( # Unsupported target "task_builder" with type "test" omitted +# Unsupported target "task_join_set" with type "test" omitted + # Unsupported target "task_local" with type "test" omitted # Unsupported target "task_local_set" with type "test" omitted @@ -292,3 +312,5 @@ rust_library( # Unsupported target "uds_split" with type "test" omitted # Unsupported target "uds_stream" with type "test" omitted + +# Unsupported target "unwindsafe" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.tokio-io-timeout-1.2.0.bazel b/third_party/rust/remote/BUILD.tokio-io-timeout-1.2.0.bazel new file mode 100644 index 00000000000..0a509e8889d --- /dev/null +++ b/third_party/rust/remote/BUILD.tokio-io-timeout-1.2.0.bazel @@ -0,0 +1,55 @@ +""" +@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 = "tokio_io_timeout", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.2.0", + # buildifier: leave-alone + deps = [ + "@raze__pin_project_lite__0_2_9//:pin_project_lite", + "@raze__tokio__1_19_2//:tokio", + ], +) diff --git a/third_party/rust/remote/BUILD.tokio-rustls-0.22.0.bazel b/third_party/rust/remote/BUILD.tokio-rustls-0.22.0.bazel index 9402e86679d..96f4e936eeb 100644 --- a/third_party/rust/remote/BUILD.tokio-rustls-0.22.0.bazel +++ b/third_party/rust/remote/BUILD.tokio-rustls-0.22.0.bazel @@ -50,7 +50,7 @@ rust_library( # buildifier: leave-alone deps = [ "@raze__rustls__0_19_0//:rustls", - "@raze__tokio__1_8_4//:tokio", + "@raze__tokio__1_19_2//:tokio", "@raze__webpki__0_21_4//:webpki", ], ) diff --git a/third_party/rust/remote/BUILD.tokio-stream-0.1.2.bazel b/third_party/rust/remote/BUILD.tokio-stream-0.1.2.bazel index 87e3bfef4da..3053d37e18c 100644 --- a/third_party/rust/remote/BUILD.tokio-stream-0.1.2.bazel +++ b/third_party/rust/remote/BUILD.tokio-stream-0.1.2.bazel @@ -53,8 +53,8 @@ rust_library( # buildifier: leave-alone deps = [ "@raze__futures_core__0_3_12//:futures_core", - "@raze__pin_project_lite__0_2_4//:pin_project_lite", - "@raze__tokio__1_8_4//:tokio", + "@raze__pin_project_lite__0_2_9//:pin_project_lite", + "@raze__tokio__1_19_2//:tokio", ], ) diff --git a/third_party/rust/remote/BUILD.tokio-util-0.6.6.bazel b/third_party/rust/remote/BUILD.tokio-util-0.6.6.bazel index 4dd4cf4bf6c..1416e16d9a3 100644 --- a/third_party/rust/remote/BUILD.tokio-util-0.6.6.bazel +++ b/third_party/rust/remote/BUILD.tokio-util-0.6.6.bazel @@ -55,8 +55,8 @@ rust_library( "@raze__futures_core__0_3_12//:futures_core", "@raze__futures_sink__0_3_8//:futures_sink", "@raze__log__0_4_11//:log", - "@raze__pin_project_lite__0_2_4//:pin_project_lite", - "@raze__tokio__1_8_4//:tokio", + "@raze__pin_project_lite__0_2_9//:pin_project_lite", + "@raze__tokio__1_19_2//:tokio", ], ) diff --git a/third_party/rust/remote/BUILD.tokio-util-0.7.3.bazel b/third_party/rust/remote/BUILD.tokio-util-0.7.3.bazel new file mode 100644 index 00000000000..7c471fa12d3 --- /dev/null +++ b/third_party/rust/remote/BUILD.tokio-util-0.7.3.bazel @@ -0,0 +1,100 @@ +""" +@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" +]) + +# Generated Targets + +rust_library( + name = "tokio_util", + srcs = glob(["**/*.rs"]), + crate_features = [ + "codec", + "default", + "tracing", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.7.3", + # buildifier: leave-alone + deps = [ + "@raze__bytes__1_0_1//:bytes", + "@raze__futures_core__0_3_12//:futures_core", + "@raze__futures_sink__0_3_8//:futures_sink", + "@raze__pin_project_lite__0_2_9//:pin_project_lite", + "@raze__tokio__1_19_2//:tokio", + "@raze__tracing__0_1_34//:tracing", + ], +) + +# Unsupported target "_require_full" with type "test" omitted + +# Unsupported target "codecs" with type "test" omitted + +# Unsupported target "context" with type "test" omitted + +# Unsupported target "framed" with type "test" omitted + +# Unsupported target "framed_read" with type "test" omitted + +# Unsupported target "framed_stream" with type "test" omitted + +# Unsupported target "framed_write" with type "test" omitted + +# Unsupported target "io_reader_stream" with type "test" omitted + +# Unsupported target "io_stream_reader" with type "test" omitted + +# Unsupported target "io_sync_bridge" with type "test" omitted + +# Unsupported target "length_delimited" with type "test" omitted + +# Unsupported target "mpsc" with type "test" omitted + +# Unsupported target "poll_semaphore" with type "test" omitted + +# Unsupported target "reusable_box" with type "test" omitted + +# Unsupported target "spawn_pinned" with type "test" omitted + +# Unsupported target "sync_cancellation_token" with type "test" omitted + +# Unsupported target "task_join_map" with type "test" omitted + +# Unsupported target "time_delay_queue" with type "test" omitted + +# Unsupported target "udp" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.tonic-0.4.2.bazel b/third_party/rust/remote/BUILD.tonic-0.6.2.bazel similarity index 78% rename from third_party/rust/remote/BUILD.tonic-0.4.2.bazel rename to third_party/rust/remote/BUILD.tonic-0.6.2.bazel index cc910db81c9..c45c95f871f 100644 --- a/third_party/rust/remote/BUILD.tonic-0.4.2.bazel +++ b/third_party/rust/remote/BUILD.tonic-0.6.2.bazel @@ -37,7 +37,7 @@ rust_library( name = "tonic", srcs = glob(["**/*.rs"]), aliases = { - "@raze__prost__0_7_0//:prost": "prost1", + "@raze__prost__0_9_0//:prost": "prost1", }, crate_features = [ "async-trait", @@ -45,6 +45,7 @@ rust_library( "default", "h2", "hyper", + "hyper-timeout", "prost", "prost-derive", "prost1", @@ -58,7 +59,7 @@ rust_library( edition = "2018", proc_macro_deps = [ "@raze__async_trait__0_1_41//:async_trait", - "@raze__prost_derive__0_7_0//:prost_derive", + "@raze__prost_derive__0_9_0//:prost_derive", ], rustc_flags = [ "--cap-lints=allow", @@ -67,7 +68,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.4.2", + version = "0.6.2", # buildifier: leave-alone deps = [ "@raze__async_stream__0_3_0//:async_stream", @@ -75,19 +76,21 @@ rust_library( "@raze__bytes__1_0_1//:bytes", "@raze__futures_core__0_3_12//:futures_core", "@raze__futures_util__0_3_8//:futures_util", - "@raze__h2__0_3_0//:h2", + "@raze__h2__0_3_13//:h2", "@raze__http__0_2_1//:http", - "@raze__http_body__0_4_0//:http_body", - "@raze__hyper__0_14_7//:hyper", + "@raze__http_body__0_4_5//:http_body", + "@raze__hyper__0_14_19//:hyper", + "@raze__hyper_timeout__0_4_1//:hyper_timeout", "@raze__percent_encoding__2_1_0//:percent_encoding", "@raze__pin_project__1_0_1//:pin_project", - "@raze__prost__0_7_0//:prost", - "@raze__tokio__1_8_4//:tokio", + "@raze__prost__0_9_0//:prost", + "@raze__tokio__1_19_2//:tokio", "@raze__tokio_stream__0_1_2//:tokio_stream", "@raze__tokio_util__0_6_6//:tokio_util", - "@raze__tower__0_4_6//:tower", + "@raze__tower__0_4_11//:tower", + "@raze__tower_layer__0_3_1//:tower_layer", "@raze__tower_service__0_3_0//:tower_service", - "@raze__tracing__0_1_21//:tracing", + "@raze__tracing__0_1_34//:tracing", "@raze__tracing_futures__0_2_4//:tracing_futures", ], ) diff --git a/third_party/rust/remote/BUILD.tonic-build-0.4.2.bazel b/third_party/rust/remote/BUILD.tonic-build-0.6.2.bazel similarity index 94% rename from third_party/rust/remote/BUILD.tonic-build-0.4.2.bazel rename to third_party/rust/remote/BUILD.tonic-build-0.6.2.bazel index e649564ca5b..53e4b55c0a4 100644 --- a/third_party/rust/remote/BUILD.tonic-build-0.4.2.bazel +++ b/third_party/rust/remote/BUILD.tonic-build-0.6.2.bazel @@ -51,11 +51,11 @@ rust_library( "cargo-raze", "manual", ], - version = "0.4.2", + version = "0.6.2", # buildifier: leave-alone deps = [ "@raze__proc_macro2__1_0_24//:proc_macro2", - "@raze__prost_build__0_7_0//:prost_build", + "@raze__prost_build__0_9_0//:prost_build", "@raze__quote__1_0_7//:quote", "@raze__syn__1_0_67//:syn", ], diff --git a/third_party/rust/remote/BUILD.tonic-reflection-0.1.0.bazel b/third_party/rust/remote/BUILD.tonic-reflection-0.3.0.bazel similarity index 82% rename from third_party/rust/remote/BUILD.tonic-reflection-0.1.0.bazel rename to third_party/rust/remote/BUILD.tonic-reflection-0.3.0.bazel index 56405e26952..d9bef0921fc 100644 --- a/third_party/rust/remote/BUILD.tonic-reflection-0.1.0.bazel +++ b/third_party/rust/remote/BUILD.tonic-reflection-0.3.0.bazel @@ -45,12 +45,14 @@ cargo_build_script( "RUSTFMT": "/bin/true", }, crate_features = [ + "default", + "rustfmt", ], crate_root = "build.rs", data = glob(["**"]) + [ "@com_google_protobuf//:protoc", ], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -58,10 +60,10 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.1.0", + version = "0.3.0", visibility = ["//visibility:private"], deps = [ - "@raze__tonic_build__0_4_2//:tonic_build", + "@raze__tonic_build__0_6_2//:tonic_build", ], ) @@ -69,10 +71,12 @@ rust_library( name = "tonic_reflection", srcs = glob(["**/*.rs"]), crate_features = [ + "default", + "rustfmt", ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -80,16 +84,16 @@ rust_library( "cargo-raze", "manual", ], - version = "0.1.0", + version = "0.3.0", # buildifier: leave-alone deps = [ ":tonic_reflection_build_script", "@raze__bytes__1_0_1//:bytes", - "@raze__prost__0_7_0//:prost", - "@raze__prost_types__0_7_0//:prost_types", - "@raze__tokio__1_8_4//:tokio", + "@raze__prost__0_9_0//:prost", + "@raze__prost_types__0_9_0//:prost_types", + "@raze__tokio__1_19_2//:tokio", "@raze__tokio_stream__0_1_2//:tokio_stream", - "@raze__tonic__0_4_2//:tonic", + "@raze__tonic__0_6_2//:tonic", ], ) diff --git a/third_party/rust/remote/BUILD.tower-0.4.6.bazel b/third_party/rust/remote/BUILD.tower-0.4.11.bazel similarity index 92% rename from third_party/rust/remote/BUILD.tower-0.4.6.bazel rename to third_party/rust/remote/BUILD.tower-0.4.11.bazel index ad6797b3f08..fabb137eafe 100644 --- a/third_party/rust/remote/BUILD.tower-0.4.6.bazel +++ b/third_party/rust/remote/BUILD.tower-0.4.11.bazel @@ -67,21 +67,22 @@ rust_library( "cargo-raze", "manual", ], - version = "0.4.6", + version = "0.4.11", # buildifier: leave-alone deps = [ "@raze__futures_core__0_3_12//:futures_core", "@raze__futures_util__0_3_8//:futures_util", - "@raze__indexmap__1_6_0//:indexmap", + "@raze__indexmap__1_8_2//:indexmap", "@raze__pin_project__1_0_1//:pin_project", + "@raze__pin_project_lite__0_2_9//:pin_project_lite", "@raze__rand__0_8_2//:rand", "@raze__slab__0_4_2//:slab", - "@raze__tokio__1_8_4//:tokio", + "@raze__tokio__1_19_2//:tokio", "@raze__tokio_stream__0_1_2//:tokio_stream", "@raze__tokio_util__0_6_6//:tokio_util", "@raze__tower_layer__0_3_1//:tower_layer", "@raze__tower_service__0_3_0//:tower_service", - "@raze__tracing__0_1_21//:tracing", + "@raze__tracing__0_1_34//:tracing", ], ) diff --git a/third_party/rust/remote/BUILD.tracing-0.1.21.bazel b/third_party/rust/remote/BUILD.tracing-0.1.34.bazel similarity index 74% rename from third_party/rust/remote/BUILD.tracing-0.1.21.bazel rename to third_party/rust/remote/BUILD.tracing-0.1.34.bazel index 3372a0e123b..67457de9607 100644 --- a/third_party/rust/remote/BUILD.tracing-0.1.21.bazel +++ b/third_party/rust/remote/BUILD.tracing-0.1.34.bazel @@ -31,6 +31,8 @@ licenses([ # Generated Targets +# Unsupported target "global_subscriber" with type "bench" omitted + # Unsupported target "no_subscriber" with type "bench" omitted # Unsupported target "subscriber" with type "bench" omitted @@ -49,7 +51,7 @@ rust_library( data = [], edition = "2018", proc_macro_deps = [ - "@raze__tracing_attributes__0_1_11//:tracing_attributes", + "@raze__tracing_attributes__0_1_21//:tracing_attributes", ], rustc_flags = [ "--cap-lints=allow", @@ -58,16 +60,18 @@ rust_library( "cargo-raze", "manual", ], - version = "0.1.21", + version = "0.1.34", # buildifier: leave-alone deps = [ - "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__cfg_if__1_0_0//:cfg_if", "@raze__log__0_4_11//:log", - "@raze__pin_project_lite__0_1_11//:pin_project_lite", - "@raze__tracing_core__0_1_17//:tracing_core", + "@raze__pin_project_lite__0_2_9//:pin_project_lite", + "@raze__tracing_core__0_1_26//:tracing_core", ], ) +# Unsupported target "enabled" with type "test" omitted + # Unsupported target "event" with type "test" omitted # Unsupported target "filter_caching_is_lexically_scoped" with type "test" omitted @@ -78,14 +82,24 @@ rust_library( # Unsupported target "filters_dont_leak" with type "test" omitted +# Unsupported target "future_send" with type "test" omitted + # Unsupported target "macro_imports" with type "test" omitted # Unsupported target "macros" with type "test" omitted +# Unsupported target "macros_incompatible_concat" with type "test" omitted + +# Unsupported target "macros_redefined_core" with type "test" omitted + # Unsupported target "max_level_hint" with type "test" omitted # Unsupported target "multiple_max_level_hints" with type "test" omitted +# Unsupported target "no_subscriber" with type "test" omitted + +# Unsupported target "scoped_clobbers_default" with type "test" omitted + # Unsupported target "span" with type "test" omitted # Unsupported target "subscriber" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.tracing-attributes-0.1.11.bazel b/third_party/rust/remote/BUILD.tracing-attributes-0.1.21.bazel similarity index 89% rename from third_party/rust/remote/BUILD.tracing-attributes-0.1.11.bazel rename to third_party/rust/remote/BUILD.tracing-attributes-0.1.21.bazel index 1d7ab2b52ef..28c562f55f3 100644 --- a/third_party/rust/remote/BUILD.tracing-attributes-0.1.11.bazel +++ b/third_party/rust/remote/BUILD.tracing-attributes-0.1.21.bazel @@ -46,7 +46,7 @@ rust_proc_macro( "cargo-raze", "manual", ], - version = "0.1.11", + version = "0.1.21", # buildifier: leave-alone deps = [ "@raze__proc_macro2__1_0_24//:proc_macro2", @@ -63,12 +63,16 @@ rust_proc_macro( # Unsupported target "fields" with type "test" omitted +# Unsupported target "follows_from" with type "test" omitted + # Unsupported target "instrument" with type "test" omitted # Unsupported target "levels" with type "test" omitted # Unsupported target "names" with type "test" omitted -# Unsupported target "support" with type "test" omitted +# Unsupported target "parents" with type "test" omitted + +# Unsupported target "ret" with type "test" omitted # Unsupported target "targets" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.tracing-core-0.1.17.bazel b/third_party/rust/remote/BUILD.tracing-core-0.1.26.bazel similarity index 98% rename from third_party/rust/remote/BUILD.tracing-core-0.1.17.bazel rename to third_party/rust/remote/BUILD.tracing-core-0.1.26.bazel index cc67dc3c7d9..bab616c7f55 100644 --- a/third_party/rust/remote/BUILD.tracing-core-0.1.17.bazel +++ b/third_party/rust/remote/BUILD.tracing-core-0.1.26.bazel @@ -48,7 +48,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.1.17", + version = "0.1.26", # buildifier: leave-alone deps = [ "@raze__lazy_static__1_4_0//:lazy_static", diff --git a/third_party/rust/remote/BUILD.tracing-futures-0.2.4.bazel b/third_party/rust/remote/BUILD.tracing-futures-0.2.4.bazel index e516ef1a831..72fd7396add 100644 --- a/third_party/rust/remote/BUILD.tracing-futures-0.2.4.bazel +++ b/third_party/rust/remote/BUILD.tracing-futures-0.2.4.bazel @@ -54,7 +54,7 @@ rust_library( # buildifier: leave-alone deps = [ "@raze__pin_project__0_4_27//:pin_project", - "@raze__tracing__0_1_21//:tracing", + "@raze__tracing__0_1_34//:tracing", ], ) diff --git a/third_party/rust/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel b/third_party/rust/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel new file mode 100644 index 00000000000..564846e750c --- /dev/null +++ b/third_party/rust/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel @@ -0,0 +1,55 @@ +""" +@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", # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)" +]) + +# Generated Targets + +rust_library( + name = "wasi", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.11.0+wasi-snapshot-preview1", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/third_party/rust/remote/BUILD.winapi-0.3.9.bazel b/third_party/rust/remote/BUILD.winapi-0.3.9.bazel index 3f1453f550c..107262b7e07 100644 --- a/third_party/rust/remote/BUILD.winapi-0.3.9.bazel +++ b/third_party/rust/remote/BUILD.winapi-0.3.9.bazel @@ -37,36 +37,26 @@ rust_library( name = "winapi", srcs = glob(["**/*.rs"]), crate_features = [ - "cfg", "consoleapi", "errhandlingapi", - "evntrace", "fileapi", "handleapi", "impl-debug", "impl-default", - "in6addr", - "inaddr", - "ioapiset", "minwinbase", "minwindef", "mswsock", "namedpipeapi", - "ntdef", "ntsecapi", "processenv", "std", - "synchapi", "timezoneapi", "winbase", "wincon", - "windef", "winerror", - "winioctl", "winnt", "winreg", "winsock2", - "ws2def", "ws2ipdef", "ws2tcpip", "wtypesbase", diff --git a/third_party/rust/remote/BUILD.socket2-0.3.16.bazel b/third_party/rust/remote/BUILD.windows-sys-0.36.1.bazel similarity index 70% rename from third_party/rust/remote/BUILD.socket2-0.3.16.bazel rename to third_party/rust/remote/BUILD.windows-sys-0.36.1.bazel index eb5fe7140a2..60aa27c72f7 100644 --- a/third_party/rust/remote/BUILD.socket2-0.3.16.bazel +++ b/third_party/rust/remote/BUILD.windows-sys-0.36.1.bazel @@ -32,11 +32,23 @@ licenses([ # Generated Targets rust_library( - name = "socket2", + name = "windows_sys", srcs = glob(["**/*.rs"]), aliases = { }, crate_features = [ + "Win32", + "Win32_Foundation", + "Win32_Networking", + "Win32_Networking_WinSock", + "Win32_Security", + "Win32_Storage", + "Win32_Storage_FileSystem", + "Win32_System", + "Win32_System_IO", + "Win32_System_Pipes", + "Win32_System_WindowsProgramming", + "default", ], crate_root = "src/lib.rs", data = [], @@ -48,25 +60,15 @@ rust_library( "cargo-raze", "manual", ], - version = "0.3.16", + version = "0.36.1", # buildifier: leave-alone deps = [ ] + selects.with_or({ - # cfg(any(unix, target_os = "redox")) - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__cfg_if__0_1_10//:cfg_if", - "@raze__libc__0_2_126//:libc", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(windows) + # x86_64-pc-windows-msvc ( "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@raze__winapi__0_3_9//:winapi", + "@raze__windows_x86_64_msvc__0_36_1//:windows_x86_64_msvc", ], "//conditions:default": [], }), diff --git a/third_party/rust/remote/BUILD.ntapi-0.3.6.bazel b/third_party/rust/remote/BUILD.windows_aarch64_msvc-0.36.1.bazel similarity index 84% rename from third_party/rust/remote/BUILD.ntapi-0.3.6.bazel rename to third_party/rust/remote/BUILD.windows_aarch64_msvc-0.36.1.bazel index 0415b854ce3..579c683311b 100644 --- a/third_party/rust/remote/BUILD.ntapi-0.3.6.bazel +++ b/third_party/rust/remote/BUILD.windows_aarch64_msvc-0.36.1.bazel @@ -26,7 +26,7 @@ package(default_visibility = [ ]) licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" + "notice", # MIT from expression "MIT OR Apache-2.0" ]) # Generated Targets @@ -34,11 +34,9 @@ licenses([ # Unsupported target "build-script-build" with type "custom-build" omitted rust_library( - name = "ntapi", + name = "windows_aarch64_msvc", srcs = glob(["**/*.rs"]), crate_features = [ - "default", - "user", ], crate_root = "src/lib.rs", data = [], @@ -50,9 +48,8 @@ rust_library( "cargo-raze", "manual", ], - version = "0.3.6", + version = "0.36.1", # buildifier: leave-alone deps = [ - "@raze__winapi__0_3_9//:winapi", ], ) diff --git a/third_party/rust/remote/BUILD.miow-0.3.6.bazel b/third_party/rust/remote/BUILD.windows_i686_gnu-0.36.1.bazel similarity index 88% rename from third_party/rust/remote/BUILD.miow-0.3.6.bazel rename to third_party/rust/remote/BUILD.windows_i686_gnu-0.36.1.bazel index 7125b56e7ad..345a9eda446 100644 --- a/third_party/rust/remote/BUILD.miow-0.3.6.bazel +++ b/third_party/rust/remote/BUILD.windows_i686_gnu-0.36.1.bazel @@ -31,8 +31,10 @@ licenses([ # Generated Targets +# Unsupported target "build-script-build" with type "custom-build" omitted + rust_library( - name = "miow", + name = "windows_i686_gnu", srcs = glob(["**/*.rs"]), crate_features = [ ], @@ -46,10 +48,8 @@ rust_library( "cargo-raze", "manual", ], - version = "0.3.6", + version = "0.36.1", # buildifier: leave-alone deps = [ - "@raze__socket2__0_3_16//:socket2", - "@raze__winapi__0_3_9//:winapi", ], ) diff --git a/third_party/rust/remote/BUILD.windows_i686_msvc-0.36.1.bazel b/third_party/rust/remote/BUILD.windows_i686_msvc-0.36.1.bazel new file mode 100644 index 00000000000..16487b876c4 --- /dev/null +++ b/third_party/rust/remote/BUILD.windows_i686_msvc-0.36.1.bazel @@ -0,0 +1,55 @@ +""" +@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 + +# Unsupported target "build-script-build" with type "custom-build" omitted + +rust_library( + name = "windows_i686_msvc", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.36.1", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/third_party/rust/remote/BUILD.windows_x86_64_gnu-0.36.1.bazel b/third_party/rust/remote/BUILD.windows_x86_64_gnu-0.36.1.bazel new file mode 100644 index 00000000000..de292eacaf7 --- /dev/null +++ b/third_party/rust/remote/BUILD.windows_x86_64_gnu-0.36.1.bazel @@ -0,0 +1,55 @@ +""" +@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 + +# Unsupported target "build-script-build" with type "custom-build" omitted + +rust_library( + name = "windows_x86_64_gnu", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.36.1", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/third_party/rust/remote/BUILD.windows_x86_64_msvc-0.36.1.bazel b/third_party/rust/remote/BUILD.windows_x86_64_msvc-0.36.1.bazel new file mode 100644 index 00000000000..476dde45a5f --- /dev/null +++ b/third_party/rust/remote/BUILD.windows_x86_64_msvc-0.36.1.bazel @@ -0,0 +1,55 @@ +""" +@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 + +# Unsupported target "build-script-build" with type "custom-build" omitted + +rust_library( + name = "windows_x86_64_msvc", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.36.1", + # buildifier: leave-alone + deps = [ + ], +)