diff --git a/tensorboard/data/server/Cargo.lock b/tensorboard/data/server/Cargo.lock index 08bb1da4bae..ea459c0c4b5 100644 --- a/tensorboard/data/server/Cargo.lock +++ b/tensorboard/data/server/Cargo.lock @@ -538,6 +538,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "0.4.6" @@ -793,7 +802,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e6984d2f1a23009bd270b8bb56d0926810a3d483f59c987d77969e9d8e840b2" dependencies = [ "bytes 1.0.1", - "prost-derive", + "prost-derive 0.7.0", +] + +[[package]] +name = "prost" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de5e2533f59d08fcf364fd374ebda0692a70bd6d7e66ef97f306f45c6c5d8020" +dependencies = [ + "bytes 1.0.1", + "prost-derive 0.8.0", ] [[package]] @@ -804,12 +823,12 @@ checksum = "32d3ebd75ac2679c2af3a92246639f9fcc8a442ee420719cc4fe195b98dd5fa3" dependencies = [ "bytes 1.0.1", "heck", - "itertools", + "itertools 0.9.0", "log", "multimap", "petgraph", - "prost", - "prost-types", + "prost 0.7.0", + "prost-types 0.7.0", "tempfile", "which", ] @@ -821,7 +840,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "169a15f3008ecb5160cba7d37bcd690a7601b6d30cfb87a117d45e59d52af5d4" dependencies = [ "anyhow", - "itertools", + "itertools 0.9.0", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "prost-derive" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "600d2f334aa05acb02a755e217ef1ab6dea4d51b58b7846588b747edec04efba" +dependencies = [ + "anyhow", + "itertools 0.10.3", "proc-macro2", "quote", "syn", @@ -834,7 +866,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b518d7cdd93dab1d1122cf07fa9a60771836c668dde9d9e2a139f957f0d9f1bb" dependencies = [ "bytes 1.0.1", - "prost", + "prost 0.7.0", +] + +[[package]] +name = "prost-types" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "603bbd6394701d13f3f25aada59c7de9d35a6a5887cfc156181234a44002771b" +dependencies = [ + "bytes 1.0.1", + "prost 0.8.0", ] [[package]] @@ -1051,9 +1093,9 @@ dependencies = [ "env_logger", "futures-core", "log", - "prost", + "prost 0.7.0", "prost-build", - "prost-types", + "prost-types 0.8.0", "rand 0.7.3", "rand_chacha 0.2.2", "rayon", @@ -1366,8 +1408,8 @@ dependencies = [ "hyper", "percent-encoding", "pin-project 1.0.1", - "prost", - "prost-derive", + "prost 0.7.0", + "prost-derive 0.7.0", "tokio", "tokio-stream", "tokio-util", @@ -1396,8 +1438,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56498d20188550337ea6c48ecf59d11646382dbfcd61051fb98c1093cfae3c21" dependencies = [ "bytes 1.0.1", - "prost", - "prost-types", + "prost 0.7.0", + "prost-types 0.7.0", "tokio", "tokio-stream", "tonic", diff --git a/tensorboard/data/server/Cargo.toml b/tensorboard/data/server/Cargo.toml index d7482d99b28..a0d5eecce96 100644 --- a/tensorboard/data/server/Cargo.toml +++ b/tensorboard/data/server/Cargo.toml @@ -36,7 +36,7 @@ env_logger = "0.8.2" futures-core = "0.3.12" log = "0.4.11" prost = "0.7.0" -prost-types = "0.7.0" +prost-types = "0.8.0" rand = "0.7.3" rand_chacha = "0.2.2" rayon = "1.5.0" diff --git a/tensorboard/data/server/cargo/BUILD.bazel b/tensorboard/data/server/cargo/BUILD.bazel index ed9ca66795a..6762b8ef8f3 100644 --- a/tensorboard/data/server/cargo/BUILD.bazel +++ b/tensorboard/data/server/cargo/BUILD.bazel @@ -131,7 +131,7 @@ alias( alias( name = "prost_types", - actual = "@raze__prost_types__0_7_0//:prost_types", + actual = "@raze__prost_types__0_8_0//:prost_types", tags = [ "cargo-raze", "manual", diff --git a/third_party/rust/crates.bzl b/third_party/rust/crates.bzl index 7611a6a207f..06dee9fc6d5 100644 --- a/third_party/rust/crates.bzl +++ b/third_party/rust/crates.bzl @@ -571,6 +571,16 @@ def raze_fetch_remote_crates(): build_file = Label("//third_party/rust/remote:BUILD.ipnet-2.3.0.bazel"), ) + maybe( + http_archive, + name = "raze__itertools__0_10_3", + url = "https://crates.io/api/v1/crates/itertools/0.10.3/download", + type = "tar.gz", + sha256 = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3", + strip_prefix = "itertools-0.10.3", + build_file = Label("//third_party/rust/remote:BUILD.itertools-0.10.3.bazel"), + ) + maybe( http_archive, name = "raze__itertools__0_9_0", @@ -901,6 +911,16 @@ def raze_fetch_remote_crates(): build_file = Label("//third_party/rust/remote:BUILD.prost-0.7.0.bazel"), ) + maybe( + http_archive, + name = "raze__prost__0_8_0", + url = "https://crates.io/api/v1/crates/prost/0.8.0/download", + type = "tar.gz", + sha256 = "de5e2533f59d08fcf364fd374ebda0692a70bd6d7e66ef97f306f45c6c5d8020", + strip_prefix = "prost-0.8.0", + build_file = Label("//third_party/rust/remote:BUILD.prost-0.8.0.bazel"), + ) + maybe( http_archive, name = "raze__prost_build__0_7_0", @@ -921,6 +941,16 @@ def raze_fetch_remote_crates(): build_file = Label("//third_party/rust/remote:BUILD.prost-derive-0.7.0.bazel"), ) + maybe( + http_archive, + name = "raze__prost_derive__0_8_0", + url = "https://crates.io/api/v1/crates/prost-derive/0.8.0/download", + type = "tar.gz", + sha256 = "600d2f334aa05acb02a755e217ef1ab6dea4d51b58b7846588b747edec04efba", + strip_prefix = "prost-derive-0.8.0", + build_file = Label("//third_party/rust/remote:BUILD.prost-derive-0.8.0.bazel"), + ) + maybe( http_archive, name = "raze__prost_types__0_7_0", @@ -931,6 +961,16 @@ def raze_fetch_remote_crates(): build_file = Label("//third_party/rust/remote:BUILD.prost-types-0.7.0.bazel"), ) + maybe( + http_archive, + name = "raze__prost_types__0_8_0", + url = "https://crates.io/api/v1/crates/prost-types/0.8.0/download", + type = "tar.gz", + sha256 = "603bbd6394701d13f3f25aada59c7de9d35a6a5887cfc156181234a44002771b", + strip_prefix = "prost-types-0.8.0", + build_file = Label("//third_party/rust/remote:BUILD.prost-types-0.8.0.bazel"), + ) + maybe( http_archive, name = "raze__quote__1_0_7", diff --git a/third_party/rust/remote/BUILD.itertools-0.10.3.bazel b/third_party/rust/remote/BUILD.itertools-0.10.3.bazel new file mode 100644 index 00000000000..e2410209a2a --- /dev/null +++ b/third_party/rust/remote/BUILD.itertools-0.10.3.bazel @@ -0,0 +1,97 @@ +""" +@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 "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 + +# Unsupported target "tuples" with type "bench" omitted + +# Unsupported target "iris" with type "example" omitted + +rust_library( + name = "itertools", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "use_alloc", + "use_std", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.10.3", + # buildifier: leave-alone + deps = [ + "@raze__either__1_6_1//:either", + ], +) + +# Unsupported target "adaptors_no_collect" 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 + +# Unsupported target "peeking_take_while" with type "test" omitted + +# Unsupported target "quick" with type "test" omitted + +# Unsupported target "specializations" with type "test" omitted + +# Unsupported target "test_core" with type "test" omitted + +# Unsupported target "test_std" with type "test" omitted + +# Unsupported target "tuples" with type "test" omitted + +# Unsupported target "zip" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.prost-0.8.0.bazel b/third_party/rust/remote/BUILD.prost-0.8.0.bazel new file mode 100644 index 00000000000..128c1418ceb --- /dev/null +++ b/third_party/rust/remote/BUILD.prost-0.8.0.bazel @@ -0,0 +1,61 @@ +""" +@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" +]) + +# Generated Targets + +# Unsupported target "varint" with type "bench" omitted + +rust_library( + name = "prost", + srcs = glob(["**/*.rs"]), + crate_features = [ + "prost-derive", + "std", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + proc_macro_deps = [ + "@raze__prost_derive__0_8_0//:prost_derive", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.8.0", + # buildifier: leave-alone + deps = [ + "@raze__bytes__1_0_1//:bytes", + ], +) diff --git a/third_party/rust/remote/BUILD.prost-derive-0.8.0.bazel b/third_party/rust/remote/BUILD.prost-derive-0.8.0.bazel new file mode 100644 index 00000000000..6073a8b9611 --- /dev/null +++ b/third_party/rust/remote/BUILD.prost-derive-0.8.0.bazel @@ -0,0 +1,58 @@ +""" +@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" +]) + +# Generated Targets + +rust_proc_macro( + name = "prost_derive", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.8.0", + # buildifier: leave-alone + deps = [ + "@raze__anyhow__1_0_34//:anyhow", + "@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.8.0.bazel b/third_party/rust/remote/BUILD.prost-types-0.8.0.bazel new file mode 100644 index 00000000000..3159d7bb8be --- /dev/null +++ b/third_party/rust/remote/BUILD.prost-types-0.8.0.bazel @@ -0,0 +1,57 @@ +""" +@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" +]) + +# Generated Targets + +rust_library( + name = "prost_types", + 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.8.0", + # buildifier: leave-alone + deps = [ + "@raze__bytes__1_0_1//:bytes", + "@raze__prost__0_8_0//:prost", + ], +)