(&self, value: &Q) -> bool where T: Borrow, - Q: Hash + Eq, + Q: ?Sized + Hash + Eq, { match self { Filter::All => true, diff --git a/tensorboard/defs/BUILD b/tensorboard/defs/BUILD index 2db34de3d14..9fdc8c8444c 100644 --- a/tensorboard/defs/BUILD +++ b/tensorboard/defs/BUILD @@ -2,6 +2,7 @@ load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary") load("@npm//@bazel/concatjs:index.bzl", "ts_library") load("@rules_python//python:py_binary.bzl", "py_binary") load("@rules_python//python:py_test.bzl", "py_test") +load("//tensorboard/defs:defs.bzl", "tf_ts_project") load("//tensorboard/defs:protos.bzl", "tb_proto_library") package(default_visibility = ["//tensorboard:internal"]) @@ -47,6 +48,15 @@ ts_library( srcs = ["strict_type_check.d.ts"], ) +# Isolated canary for the modern rules_ts/rules_js stack. Production +# TypeScript targets remain on tf_ts_library until their complete downstream +# provider chain can migrate together. +tf_ts_project( + name = "rules_ts_canary", + testonly = True, + srcs = ["rules_ts_canary.ts"], +) + # Custom ts_library compiler that runs tsc_wrapped with angular/compiler-cli statically linked # This can be used with worker mode because we don't need the linker at runtime to make # the angular plugin loadable diff --git a/tensorboard/defs/defs.bzl b/tensorboard/defs/defs.bzl index e18bc88a7c3..4ac77915fc1 100644 --- a/tensorboard/defs/defs.bzl +++ b/tensorboard/defs/defs.bzl @@ -13,6 +13,7 @@ # limitations under the License. """External-only delegates for various BUILD rules.""" +load("@aspect_rules_ts//ts:defs.bzl", "ts_project") load("@bazel_skylib//rules:copy_file.bzl", "copy_file") load("@npm//@angular/build-tooling/bazel:extract_js_module_output.bzl", "extract_js_module_output") load("@npm//@angular/build-tooling/bazel/app-bundling:index.bzl", "app_bundle") @@ -178,6 +179,30 @@ def tf_ts_library(srcs = [], strict_checks = True, **kwargs): **kwargs ) +def tf_ts_project(srcs = [], strict_checks = True, **kwargs): + """TensorBoard wrapper for TypeScript targets migrated to rules_ts. + + This wrapper intentionally coexists with tf_ts_library while the legacy + concatjs and Angular provider graph is still in use. Start with leaf + targets; modern JsInfo outputs cannot be consumed by legacy ts_library. + + Args: + srcs: TypeScript sources compiled by ts_project. + strict_checks: whether to use TensorBoard's strict TypeScript config. + **kwargs: keyword arguments forwarded to ts_project. + """ + tsconfig = "//:tsconfig-rules-ts" + if strict_checks == False: + tsconfig = "//:tsconfig-lax-rules-ts" + kwargs.setdefault("deps", []).append("//third_party/npm_modern:node_modules/tslib") + + ts_project( + srcs = srcs, + transpiler = "tsc", + tsconfig = tsconfig, + **kwargs + ) + # The external list is used to exclude node-fetch from the browser bundle since it is not compatible with browsers. This allows us to use tfjs in our web application without running into issues caused by node-fetch. @tensorflow/tfjs-core is used by vz_projector plugin. def tf_ng_web_test_suite(name, deps = [], external = [], **kwargs): """TensorBoard wrapper for the rule for a Karma web test suite. @@ -215,7 +240,7 @@ def tf_ng_web_test_suite(name, deps = [], external = [], **kwargs): spec_bundle( name = "%s_bundle" % name, deps = ["%s_devmode_deps" % name], - # Bazel 7 Bzlmod uses `_main` as the main repository's canonical + # Bzlmod uses `_main` as the main repository's canonical # runfiles name. This must match the paths that karma_web_test_suite # asks RequireJS to load. workspace_name = "_main", @@ -243,7 +268,7 @@ def tf_ng_web_test_suite(name, deps = [], external = [], **kwargs): ], # rules_nodejs passes this through to rules_webtesting. An empty dict # avoids forwarding a stray None-valued attribute to web_test under - # Bazel 7.7.0 with the currently pinned rules_webtesting stack. + # the currently pinned rules_webtesting stack. browser_overrides = {}, ) diff --git a/tensorboard/defs/rules_ts_canary.ts b/tensorboard/defs/rules_ts_canary.ts new file mode 100644 index 00000000000..5698dc5ac01 --- /dev/null +++ b/tensorboard/defs/rules_ts_canary.ts @@ -0,0 +1,17 @@ +/* Copyright 2026 The TensorFlow Authors. All Rights Reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +==============================================================================*/ + +/** Confirms that TensorBoard's parallel rules_ts toolchain is operational. */ +export const RULES_TS_CANARY = true; diff --git a/tensorboard/defs/sass.bzl b/tensorboard/defs/sass.bzl new file mode 100644 index 00000000000..3154d912bef --- /dev/null +++ b/tensorboard/defs/sass.bzl @@ -0,0 +1,46 @@ +# Copyright 2026 The TensorFlow Authors. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Compatibility helpers for Sass sources provided by legacy yarn_install.""" + +load("@build_bazel_rules_nodejs//:providers.bzl", "ExternalNpmPackageInfo") +load("@io_bazel_rules_sass//sass:defs.bzl", "SassInfo") + +def _is_sass_file(file): + return file.extension in ("css", "sass", "scss") + +def _npm_sass_library_impl(ctx): + sources = depset([ + file + for dep in ctx.attr.deps + for file in dep[ExternalNpmPackageInfo].sources.to_list() + if _is_sass_file(file) + ]) + return [ + DefaultInfo( + files = sources, + runfiles = ctx.runfiles(transitive_files = sources), + ), + SassInfo(transitive_sources = sources), + ] + +npm_sass_library = rule( + implementation = _npm_sass_library_impl, + attrs = { + "deps": attr.label_list( + mandatory = True, + providers = [ExternalNpmPackageInfo], + ), + }, +) diff --git a/tensorboard/examples/plugins/example_basic/BUILD b/tensorboard/examples/plugins/example_basic/BUILD index 784716e32b2..052dd1bcc64 100644 --- a/tensorboard/examples/plugins/example_basic/BUILD +++ b/tensorboard/examples/plugins/example_basic/BUILD @@ -5,6 +5,8 @@ # demonstrate that Bazel is not required); we use this BUILD file only # to define integration tests for TensorBoard itself. +load("@rules_shell//shell:sh_test.bzl", "sh_test") + package(default_visibility = ["//tensorboard:internal"]) licenses(["notice"]) diff --git a/tensorboard/examples/plugins/example_raw_scalars/BUILD b/tensorboard/examples/plugins/example_raw_scalars/BUILD index 008bc9c5afd..d08eb3b9e3e 100644 --- a/tensorboard/examples/plugins/example_raw_scalars/BUILD +++ b/tensorboard/examples/plugins/example_raw_scalars/BUILD @@ -6,6 +6,7 @@ # to define integration tests for TensorBoard itself. load("@rules_python//python:py_test.bzl", "py_test") +load("@rules_shell//shell:sh_test.bzl", "sh_test") package(default_visibility = ["//tensorboard:internal"]) @@ -23,10 +24,13 @@ sh_test( data = [ "setup.py", "//tensorboard/pip_package", - ] + glob([ - "tensorboard_plugin_example_raw_scalars/*.py", - "tensorboard_plugin_example_raw_scalars/static/**", - ]), + ] + glob( + [ + "tensorboard_plugin_example_raw_scalars/*.py", + "tensorboard_plugin_example_raw_scalars/static/**", + ], + allow_empty = True, + ), tags = [ "manual", # https://github.com/tensorflow/tensorboard/issues/2987 ], diff --git a/tensorboard/java/org/tensorflow/tensorboard/vulcanize/BUILD b/tensorboard/java/org/tensorflow/tensorboard/vulcanize/BUILD index 388cee8de57..454a704f3c7 100644 --- a/tensorboard/java/org/tensorflow/tensorboard/vulcanize/BUILD +++ b/tensorboard/java/org/tensorflow/tensorboard/vulcanize/BUILD @@ -13,11 +13,11 @@ java_binary( ], visibility = ["//visibility:public"], deps = [ - "@com_google_guava", "@com_google_protobuf//:protobuf_java", + "@google_bazel_common//third_party/java/guava", "@io_bazel_rules_closure//java/io/bazel/rules/closure:webpath", "@io_bazel_rules_closure//java/io/bazel/rules/closure/webfiles:build_info_java_proto", - "@org_jsoup_external", + "@tensorboard_maven//:org_jsoup_jsoup", ], ) @@ -25,8 +25,8 @@ java_binary( name = "Zipper", srcs = ["Zipper.java"], deps = [ - "@com_google_guava", "@com_google_protobuf//:protobuf_java", + "@google_bazel_common//third_party/java/guava", "@io_bazel_rules_closure//java/io/bazel/rules/closure/webfiles", "@io_bazel_rules_closure//java/io/bazel/rules/closure/webfiles:build_info_java_proto", ], diff --git a/tensorboard/logo/BUILD b/tensorboard/logo/BUILD index 102bf7357ef..6ed53aa12ed 100644 --- a/tensorboard/logo/BUILD +++ b/tensorboard/logo/BUILD @@ -1,6 +1,8 @@ # Description: # TensorBoard logo files. +load("@rules_shell//shell:sh_binary.bzl", "sh_binary") + package(default_visibility = ["//tensorboard:internal"]) licenses(["notice"]) diff --git a/tensorboard/pip_package/BUILD b/tensorboard/pip_package/BUILD index dbf5e11e9fb..2d78c823987 100644 --- a/tensorboard/pip_package/BUILD +++ b/tensorboard/pip_package/BUILD @@ -3,6 +3,7 @@ load("@rules_python//python:py_binary.bzl", "py_binary") load("@rules_python//python:py_test.bzl", "py_test") +load("@rules_shell//shell:sh_binary.bzl", "sh_binary") package(default_visibility = ["//visibility:private"]) diff --git a/tensorboard/pip_package/requirements.txt b/tensorboard/pip_package/requirements.txt index 7ee4b97b1af..531b0bb8775 100644 --- a/tensorboard/pip_package/requirements.txt +++ b/tensorboard/pip_package/requirements.txt @@ -16,13 +16,14 @@ # Non-vendored runtime dependencies of TensorBoard. absl-py >= 0.4 -# NOTE: this version should be >= the grpc version in our WORKSPACE file. +# This runtime floor follows supported TensorFlow releases and is independent +# of the C++ gRPC module version used by the Bazel build stack. grpcio >= 1.74.0, < 2.0 markdown >= 2.6.8 numpy >= 1.12.0 packaging pillow -# NOTE: this version must be >= the protoc version in our WORKSPACE file. +# This runtime range is independent of the protoc module used at build time. # TensorFlow 2.21 requires protobuf >= 6.31.1, < 8.0.0, so keep our open-source # runtime floor aligned with that range. protobuf >= 6.31.1, < 8.0.0 diff --git a/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/BUILD b/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/BUILD index efe7345afe0..344f3650a13 100644 --- a/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/BUILD +++ b/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("@rules_python//python:py_binary.bzl", "py_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ng_web_test_suite", "tf_ts_library") diff --git a/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/common/BUILD b/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/common/BUILD index 29177cc473d..4ebec05f203 100644 --- a/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/common/BUILD +++ b/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/common/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_library") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/execution_data/BUILD b/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/execution_data/BUILD index 900375c08b0..9e51004b800 100644 --- a/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/execution_data/BUILD +++ b/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/execution_data/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/graph/BUILD b/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/graph/BUILD index 6a5b5004db6..f05d7cd0cd6 100644 --- a/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/graph/BUILD +++ b/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/graph/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/graph_executions/BUILD b/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/graph_executions/BUILD index 47e77627a85..62da50a03c2 100644 --- a/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/graph_executions/BUILD +++ b/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/graph_executions/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/source_files/BUILD b/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/source_files/BUILD index 521eaf1028f..658dbf135a9 100644 --- a/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/source_files/BUILD +++ b/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/source_files/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/stack_trace/BUILD b/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/stack_trace/BUILD index 4a427994aa0..fe233a553f2 100644 --- a/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/stack_trace/BUILD +++ b/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/stack_trace/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/plugins/hparams/BUILD b/tensorboard/plugins/hparams/BUILD index 120d0b4af51..43f3273a123 100644 --- a/tensorboard/plugins/hparams/BUILD +++ b/tensorboard/plugins/hparams/BUILD @@ -4,6 +4,7 @@ load("@rules_python//python:py_binary.bzl", "py_binary") load("@rules_python//python:py_library.bzl", "py_library") load("@rules_python//python:py_test.bzl", "py_test") +load("@rules_shell//shell:sh_test.bzl", "sh_test") load("//tensorboard/defs:defs.bzl", "tf_ts_library") load("//tensorboard/defs:protos.bzl", "tb_proto_library") load("//tensorboard/defs:web.bzl", "tf_web_library") diff --git a/tensorboard/tools/do_not_submit_test.sh b/tensorboard/tools/do_not_submit_test.sh index bae12ac0f34..5e3a87ab2d0 100755 --- a/tensorboard/tools/do_not_submit_test.sh +++ b/tensorboard/tools/do_not_submit_test.sh @@ -19,8 +19,8 @@ set -e -if ! [ -f WORKSPACE ]; then - printf >&2 'fatal: no WORKSPACE file found (are you at TensorBoard root?)\n' +if ! [ -f MODULE.bazel ]; then + printf >&2 'fatal: no MODULE.bazel file found (are you at TensorBoard root?)\n' exit 2 fi diff --git a/tensorboard/tools/mirror_urls_test.sh b/tensorboard/tools/mirror_urls_test.sh index b3df2cb55e5..935534ae65c 100755 --- a/tensorboard/tools/mirror_urls_test.sh +++ b/tensorboard/tools/mirror_urls_test.sh @@ -17,15 +17,15 @@ # Check that all TensorFlow build mirror URLs resolve, and that we're # not using any legacy Bazel mirror URLs. # -# This does not check that every URL in a build/workspace file is +# This does not check that every URL in a build/module file is # properly mirrored. # # This test requires an Internet connection. set -eu -if ! [ -f WORKSPACE ]; then - printf >&2 'fatal: no WORKSPACE file found (are you at TensorBoard root?)\n' +if ! [ -f MODULE.bazel ]; then + printf >&2 'fatal: no MODULE.bazel file found (are you at TensorBoard root?)\n' exit 2 fi @@ -42,12 +42,15 @@ check_urls_resolve() { exclude_bazel=':!ci/download_bazel.sh' # uses a '${version}' format string exclude_buildifier=':!ci/download_buildifier.sh' # likewise exclude_buildozer=':!ci/download_buildozer.sh' # likewise + # The lockfile records URLs emitted by transitive module extensions; those + # are maintained upstream rather than by TensorBoard. + exclude_module_lock=':!MODULE.bazel.lock' # We use `git-grep` to efficiently get an initial result set, then # filter it down with GNU `grep` separately, because `git-grep` only # learned `-o` in Git v2.19. unresolved_urls_file="${tmpdir}/unresolved_urls" git grep -Ph "${url_pcre}" "${exclude_bazel}" "${exclude_buildifier}" \ - "${exclude_buildozer}" \ + "${exclude_buildozer}" "${exclude_module_lock}" \ | grep -o 'https\?://mirror\.tensorflow\.org/[^"]*' \ | sort -u \ >"${unresolved_urls_file}" @@ -83,6 +86,7 @@ check_urls_resolve() { check_no_bazel_urls() { bazel_urls_file="${tmpdir}/bazel_urls" git grep -Hn 'https\?://mirror\.bazel\.build' \ + ':!MODULE.bazel.lock' \ | sort \ >"${bazel_urls_file}" if ! [ -s "${bazel_urls_file}" ]; then diff --git a/tensorboard/tools/whitespace_hygiene_test.py b/tensorboard/tools/whitespace_hygiene_test.py index 317362c776e..de5c5973180 100755 --- a/tensorboard/tools/whitespace_hygiene_test.py +++ b/tensorboard/tools/whitespace_hygiene_test.py @@ -30,8 +30,10 @@ exceptions = frozenset( [ "patches/@bazel+concatjs+5.8.1.patch", - "patches/protobuf_6_31_1_bzlmod.patch", - "patches/protobuf_6_31_1_java_export.patch", + "patches/gzgz_rules_sass_bzlmod_npm_paths.patch", + "patches/protobuf_33_6_bzlmod.patch", + "patches/rules_nodejs_5_8_1_bzlmod.patch", + "patches/rules_web_testing_java_guava.patch", "patches/rules_web_testing_python_py310.patch", ] ) diff --git a/tensorboard/webapp/BUILD b/tensorboard/webapp/BUILD index 4bfc675fac9..59ee448e5a6 100644 --- a/tensorboard/webapp/BUILD +++ b/tensorboard/webapp/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ng_prod_js_binary", "tf_ng_web_test_suite", "tf_svg_bundle", "tf_ts_library") load("//tensorboard/defs:js.bzl", "tf_resource_digest_suffixer") load("//tensorboard/defs:web.bzl", "tb_combine_html", "tf_web_library") diff --git a/tensorboard/webapp/alert/views/BUILD b/tensorboard/webapp/alert/views/BUILD index 18cc93958ba..ad4d7c8b9b0 100644 --- a/tensorboard/webapp/alert/views/BUILD +++ b/tensorboard/webapp/alert/views/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/angular_components/BUILD b/tensorboard/webapp/angular_components/BUILD index 6dad4ea28b0..c359dfd95b1 100644 --- a/tensorboard/webapp/angular_components/BUILD +++ b/tensorboard/webapp/angular_components/BUILD @@ -1,6 +1,6 @@ # Open-source-only file (synced as BUILD.OPENSOURCE). Internally this dependency # is managed directly by Blaze, so npm_sass_library is not needed. -load("@io_bazel_rules_sass//:defs.bzl", "npm_sass_library") +load("//tensorboard/defs:sass.bzl", "npm_sass_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/core/views/BUILD b/tensorboard/webapp/core/views/BUILD index 52ef18642a3..1c533729750 100644 --- a/tensorboard/webapp/core/views/BUILD +++ b/tensorboard/webapp/core/views/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/feature_flag/views/BUILD b/tensorboard/webapp/feature_flag/views/BUILD index 220be0ca004..3bc893a86ce 100644 --- a/tensorboard/webapp/feature_flag/views/BUILD +++ b/tensorboard/webapp/feature_flag/views/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/header/BUILD b/tensorboard/webapp/header/BUILD index fdf57acf285..016ac6102c5 100644 --- a/tensorboard/webapp/header/BUILD +++ b/tensorboard/webapp/header/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/metrics/views/BUILD b/tensorboard/webapp/metrics/views/BUILD index 89beac68106..d800c33ce36 100644 --- a/tensorboard/webapp/metrics/views/BUILD +++ b/tensorboard/webapp/metrics/views/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary", "sass_library") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary", "sass_library") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/metrics/views/card_renderer/BUILD b/tensorboard/webapp/metrics/views/card_renderer/BUILD index 014159b6c42..e73b7ba8860 100644 --- a/tensorboard/webapp/metrics/views/card_renderer/BUILD +++ b/tensorboard/webapp/metrics/views/card_renderer/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/metrics/views/main_view/BUILD b/tensorboard/webapp/metrics/views/main_view/BUILD index 8a431f5c3db..ca0e4be2a8c 100644 --- a/tensorboard/webapp/metrics/views/main_view/BUILD +++ b/tensorboard/webapp/metrics/views/main_view/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/metrics/views/right_pane/BUILD b/tensorboard/webapp/metrics/views/right_pane/BUILD index e72ac2fd86e..297db6e207c 100644 --- a/tensorboard/webapp/metrics/views/right_pane/BUILD +++ b/tensorboard/webapp/metrics/views/right_pane/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/metrics/views/right_pane/saving_pins_dialog/BUILD b/tensorboard/webapp/metrics/views/right_pane/saving_pins_dialog/BUILD index b2aa6e283a4..68a7c3ff3b7 100644 --- a/tensorboard/webapp/metrics/views/right_pane/saving_pins_dialog/BUILD +++ b/tensorboard/webapp/metrics/views/right_pane/saving_pins_dialog/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/metrics/views/right_pane/scalar_column_editor/BUILD b/tensorboard/webapp/metrics/views/right_pane/scalar_column_editor/BUILD index f2491619572..007b0662854 100644 --- a/tensorboard/webapp/metrics/views/right_pane/scalar_column_editor/BUILD +++ b/tensorboard/webapp/metrics/views/right_pane/scalar_column_editor/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/notification_center/_views/BUILD b/tensorboard/webapp/notification_center/_views/BUILD index d8b4fe2ad68..f95a827fb4f 100644 --- a/tensorboard/webapp/notification_center/_views/BUILD +++ b/tensorboard/webapp/notification_center/_views/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard/webapp/notification_center:__subpackages__"]) diff --git a/tensorboard/webapp/plugins/BUILD b/tensorboard/webapp/plugins/BUILD index 00e30c96825..e1a6b23931b 100644 --- a/tensorboard/webapp/plugins/BUILD +++ b/tensorboard/webapp/plugins/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/runs/views/runs_table/BUILD b/tensorboard/webapp/runs/views/runs_table/BUILD index c7425b70b9a..5a5f30d6c82 100644 --- a/tensorboard/webapp/runs/views/runs_table/BUILD +++ b/tensorboard/webapp/runs/views/runs_table/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/theme/BUILD b/tensorboard/webapp/theme/BUILD index bb07a8ee7f9..516f1851a02 100644 --- a/tensorboard/webapp/theme/BUILD +++ b/tensorboard/webapp/theme/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_library") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/widgets/card_fob/BUILD b/tensorboard/webapp/widgets/card_fob/BUILD index 0308842955f..73a6bb04be2 100644 --- a/tensorboard/webapp/widgets/card_fob/BUILD +++ b/tensorboard/webapp/widgets/card_fob/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/widgets/content_wrapping_input/BUILD b/tensorboard/webapp/widgets/content_wrapping_input/BUILD index 4abf3e991f8..4f8d8f6051e 100644 --- a/tensorboard/webapp/widgets/content_wrapping_input/BUILD +++ b/tensorboard/webapp/widgets/content_wrapping_input/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/widgets/data_table/BUILD b/tensorboard/webapp/widgets/data_table/BUILD index fff14429957..be9b4be6ddc 100644 --- a/tensorboard/webapp/widgets/data_table/BUILD +++ b/tensorboard/webapp/widgets/data_table/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/widgets/dropdown/BUILD b/tensorboard/webapp/widgets/dropdown/BUILD index 28cab5503b3..b0574ed36f0 100644 --- a/tensorboard/webapp/widgets/dropdown/BUILD +++ b/tensorboard/webapp/widgets/dropdown/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/widgets/experiment_alias/BUILD b/tensorboard/webapp/widgets/experiment_alias/BUILD index e413310f73f..b6d540d54ce 100644 --- a/tensorboard/webapp/widgets/experiment_alias/BUILD +++ b/tensorboard/webapp/widgets/experiment_alias/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/widgets/filter_input/BUILD b/tensorboard/webapp/widgets/filter_input/BUILD index 5f2b7e30502..cfe859731d6 100644 --- a/tensorboard/webapp/widgets/filter_input/BUILD +++ b/tensorboard/webapp/widgets/filter_input/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/widgets/histogram/BUILD b/tensorboard/webapp/widgets/histogram/BUILD index 801d34c0b0d..6aba45ce34d 100644 --- a/tensorboard/webapp/widgets/histogram/BUILD +++ b/tensorboard/webapp/widgets/histogram/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/widgets/line_chart_v2/BUILD b/tensorboard/webapp/widgets/line_chart_v2/BUILD index 6e188812942..aa6822cd6a9 100644 --- a/tensorboard/webapp/widgets/line_chart_v2/BUILD +++ b/tensorboard/webapp/widgets/line_chart_v2/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/widgets/line_chart_v2/sub_view/BUILD b/tensorboard/webapp/widgets/line_chart_v2/sub_view/BUILD index 8e6e7b26f37..2686e68ae45 100644 --- a/tensorboard/webapp/widgets/line_chart_v2/sub_view/BUILD +++ b/tensorboard/webapp/widgets/line_chart_v2/sub_view/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/widgets/range_input/BUILD b/tensorboard/webapp/widgets/range_input/BUILD index 04562e0eade..05b7ac676c1 100644 --- a/tensorboard/webapp/widgets/range_input/BUILD +++ b/tensorboard/webapp/widgets/range_input/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") package(default_visibility = ["//tensorboard:internal"]) diff --git a/tensorboard/webapp/widgets/text/BUILD b/tensorboard/webapp/widgets/text/BUILD index e6638dc7c8d..945102b7b08 100644 --- a/tensorboard/webapp/widgets/text/BUILD +++ b/tensorboard/webapp/widgets/text/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") +load("@io_bazel_rules_sass//sass:defs.bzl", "sass_binary") load("//tensorboard/defs:defs.bzl", "tf_ng_module") package(default_visibility = ["//tensorboard:internal"]) diff --git a/third_party/compatibility_proxy/BUILD.bazel b/third_party/compatibility_proxy/BUILD.bazel deleted file mode 100644 index 1f1683470ef..00000000000 --- a/third_party/compatibility_proxy/BUILD.bazel +++ /dev/null @@ -1,16 +0,0 @@ -load("@bazel_skylib//:bzl_library.bzl", "bzl_library") - -exports_files( - ["proxy.bzl"], - visibility = ["@tb_rules_java//test:__pkg__"], -) - -bzl_library( - name = "proxy_bzl", - srcs = ["proxy.bzl"], - deps = [ - "@bazel_tools//tools:bzl_srcs", - "@tb_rules_java//java/private:native_bzl", - ], - visibility = ["//visibility:public"], -) diff --git a/third_party/compatibility_proxy/WORKSPACE b/third_party/compatibility_proxy/WORKSPACE deleted file mode 100644 index 49d774266b9..00000000000 --- a/third_party/compatibility_proxy/WORKSPACE +++ /dev/null @@ -1 +0,0 @@ -workspace(name = "compatibility_proxy") diff --git a/third_party/compatibility_proxy/proxy.bzl b/third_party/compatibility_proxy/proxy.bzl deleted file mode 100644 index 73676f8ea83..00000000000 --- a/third_party/compatibility_proxy/proxy.bzl +++ /dev/null @@ -1,30 +0,0 @@ -"""Compatibility proxy for rules_java under Bazel 7. - -This file re-exports the small subset of Java rules/providers that TensorBoard -needs through stable names expected by older call sites. It keeps the Bazel 7 -rules_java transition localized to one place instead of rewriting every user. -""" - -load("@bazel_tools//tools/build_defs/repo:http.bzl", _http_jar = "http_jar") -load("@tb_rules_java//java/private:native.bzl", "NativeJavaInfo", "NativeJavaPluginInfo", "native_java_common") - -# Mirror the public java rule names consumed by existing WORKSPACE files. -java_binary = native.java_binary -java_import = native.java_import -java_library = native.java_library -java_plugin = native.java_plugin -java_test = native.java_test - -java_package_configuration = native.java_package_configuration -java_runtime = native.java_runtime -java_toolchain = native.java_toolchain - -# Re-export the provider symbols and java_common entry points that older -# consumers expect to find from the legacy rules_java surface. -java_common = native_java_common -JavaInfo = NativeJavaInfo -JavaPluginInfo = NativeJavaPluginInfo -java_common_internal_compile = None -java_info_internal_merge = None - -http_jar = _http_jar diff --git a/third_party/extensions.bzl b/third_party/extensions.bzl index 5bb7f5d9897..2c1aaeff840 100644 --- a/third_party/extensions.bzl +++ b/third_party/extensions.bzl @@ -14,6 +14,8 @@ """Bzlmod extensions for TensorBoard-owned third-party repositories.""" +load("//third_party:fonts.bzl", "tensorboard_fonts_workspace") +load("//third_party:js.bzl", "tensorboard_js_workspace") load("//third_party:python.bzl", "tensorboard_python_workspace") def _tensorboard_python_dependencies_impl(_module_ctx): @@ -22,3 +24,11 @@ def _tensorboard_python_dependencies_impl(_module_ctx): tensorboard_python_dependencies = module_extension( implementation = _tensorboard_python_dependencies_impl, ) + +def _tensorboard_web_dependencies_impl(_module_ctx): + tensorboard_fonts_workspace() + tensorboard_js_workspace() + +tensorboard_web_dependencies = module_extension( + implementation = _tensorboard_web_dependencies_impl, +) diff --git a/third_party/nodejs_extensions.bzl b/third_party/nodejs_extensions.bzl new file mode 100644 index 00000000000..03c877f7275 --- /dev/null +++ b/third_party/nodejs_extensions.bzl @@ -0,0 +1,51 @@ +"""Bzlmod repository setup for TensorBoard's transitional Node toolchain. + +The TensorBoard frontend still consumes the ts_library and Karma APIs shipped +in rules_nodejs 5.8.1 npm packages. This extension moves their repository +creation out of WORKSPACE while preserving the existing @npm label contract. +""" + +load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "yarn_install") +load("@build_bazel_rules_nodejs//toolchains/esbuild:esbuild_repositories.bzl", "esbuild_repositories") + +_NODE_REPOSITORIES = { + "24.18.0-darwin_arm64": ("node-v24.18.0-darwin-arm64.tar.gz", "node-v24.18.0-darwin-arm64", "e1a97e14c99c803e96c7339403282ea05a499c32f8d83defe9ef5ec66f979ed1"), + "24.18.0-darwin_amd64": ("node-v24.18.0-darwin-x64.tar.gz", "node-v24.18.0-darwin-x64", "dfd0dbd3e721503434df7b7205e719f61b3a3a31b2bcf9729b8b91fea240f080"), + "24.18.0-linux_arm64": ("node-v24.18.0-linux-arm64.tar.xz", "node-v24.18.0-linux-arm64", "58c9520501f6ae2b52d5b210444e24b9d0c029a58c5011b797bc1fe7105886f6"), + "24.18.0-linux_amd64": ("node-v24.18.0-linux-x64.tar.xz", "node-v24.18.0-linux-x64", "55aa7153f9d88f28d765fcdad5ae6945b5c0f98a36881703817e4c450fa76742"), + "24.18.0-windows_amd64": ("node-v24.18.0-win-x64.zip", "node-v24.18.0-win-x64", "0ae68406b42d7725661da979b1403ec9926da205c6770827f33aac9d8f26e821"), +} + +def _tensorboard_node_dependencies_impl(_module_ctx): + # Module files register the generated toolchains explicitly. Repository + # macros may not mutate the root module's toolchain registration. + node_repositories( + node_repositories = _NODE_REPOSITORIES, + node_version = "24.18.0", + register = False, + ) + + yarn_install( + name = "npm", + exports_directories_only = False, + node_repository = "nodejs", + package_json = Label("//:package.json"), + package_json_remove = ["scripts.postinstall"], + patch_args = ["-p1"], + post_install_patches = [ + Label("//patches:@angular+build-tooling+0.0.0-98b30ab5fdeeb1df3278f5257b9a8f07abb76941.patch"), + Label("//patches:@bazel+concatjs+5.8.1.patch"), + ], + yarn = Label("@yarn//:bin/yarn"), + yarn_lock = Label("//:yarn.lock"), + ) + + esbuild_repositories( + npm_repository = "npm", + node_repository = "nodejs", + register = False, + ) + +tensorboard_node_dependencies = module_extension( + implementation = _tensorboard_node_dependencies_impl, +) diff --git a/third_party/npm_modern/BUILD b/third_party/npm_modern/BUILD new file mode 100644 index 00000000000..6a1eb5fb76a --- /dev/null +++ b/third_party/npm_modern/BUILD @@ -0,0 +1,7 @@ +load("@npm_modern//:defs.bzl", "npm_link_all_packages") + +package(default_visibility = ["//tensorboard:internal"]) + +# Parallel rules_js package links. Add dependencies to this workspace only as +# production targets are migrated away from the legacy @npm repository. +npm_link_all_packages(name = "node_modules") diff --git a/third_party/npm_modern/README.md b/third_party/npm_modern/README.md new file mode 100644 index 00000000000..cf0e7f37ee5 --- /dev/null +++ b/third_party/npm_modern/README.md @@ -0,0 +1,25 @@ +# Modern JavaScript dependencies + +This directory is the incremental `rules_js` package workspace used while +TensorBoard still has legacy `rules_nodejs`/Yarn consumers. + +Keep this workspace small: add a package only when a production target is being +migrated to `tf_ts_project` or another modern JavaScript rule. This prevents the +complete legacy dependency graph from being translated during unrelated Bazel +analysis. + +To update the lockfile from the repository root: + +```sh +bazel run @pnpm//:pnpm -- \ + --dir "$PWD/third_party/npm_modern" \ + install --lockfile-only +``` + +Lifecycle hooks remain disabled by default. Review any package that requires an +install script and explicitly add it to `allowBuilds` in +`pnpm-workspace.yaml`. + +The isolated `//tensorboard/defs:rules_ts_canary` target verifies this package +workspace and the rules_ts compiler without changing the provider graph of +legacy production targets. diff --git a/third_party/npm_modern/package.json b/third_party/npm_modern/package.json new file mode 100644 index 00000000000..65a09893266 --- /dev/null +++ b/third_party/npm_modern/package.json @@ -0,0 +1,8 @@ +{ + "name": "tensorboard-bazel-modern", + "private": true, + "packageManager": "pnpm@10.34.5", + "dependencies": { + "tslib": "2.8.1" + } +} diff --git a/third_party/npm_modern/pnpm-lock.yaml b/third_party/npm_modern/pnpm-lock.yaml new file mode 100644 index 00000000000..70c93945153 --- /dev/null +++ b/third_party/npm_modern/pnpm-lock.yaml @@ -0,0 +1,22 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + dependencies: + tslib: + specifier: 2.8.1 + version: 2.8.1 + +packages: + + tslib@2.8.1: + resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + +snapshots: + + tslib@2.8.1: {} diff --git a/third_party/npm_modern/pnpm-workspace.yaml b/third_party/npm_modern/pnpm-workspace.yaml new file mode 100644 index 00000000000..e9df0fd5302 --- /dev/null +++ b/third_party/npm_modern/pnpm-workspace.yaml @@ -0,0 +1,9 @@ +# Minimal package workspace for targets migrated to rules_js. Keeping this +# separate avoids translating TensorBoard's entire legacy Yarn graph during +# every Bazel analysis phase. +packages: [] +hoist: false + +# Lifecycle hooks are opt-in under rules_js. Add packages here only after their +# install scripts have been reviewed and proven necessary in Bazel actions. +allowBuilds: {} diff --git a/third_party/protobuf_pip_deps/BUILD.bazel b/third_party/protobuf_pip_deps/BUILD.bazel deleted file mode 100644 index 7222b7a1875..00000000000 --- a/third_party/protobuf_pip_deps/BUILD.bazel +++ /dev/null @@ -1 +0,0 @@ -exports_files(["requirements.bzl"]) diff --git a/third_party/protobuf_pip_deps/WORKSPACE b/third_party/protobuf_pip_deps/WORKSPACE deleted file mode 100644 index 80879e6b55c..00000000000 --- a/third_party/protobuf_pip_deps/WORKSPACE +++ /dev/null @@ -1 +0,0 @@ -workspace(name = "protobuf_pip_deps") diff --git a/third_party/protobuf_pip_deps/requirements.bzl b/third_party/protobuf_pip_deps/requirements.bzl deleted file mode 100644 index 0b1227212e4..00000000000 --- a/third_party/protobuf_pip_deps/requirements.bzl +++ /dev/null @@ -1,23 +0,0 @@ -"""Minimal pip dependency shim for protobuf's Bazel build. - -Protobuf's Bazel macros load a pip-style requirements helper that provides -`requirement()` and `install_deps()`. TensorBoard only needs a very small -subset of that surface here, so this file supplies just the labels -protobuf 6.31.1 actually asks for here: - -* `install_deps()` from protobuf's WORKSPACE setup -* `requirement("setuptools")` from `python/dist/BUILD.bazel` -* `requirement("numpy")` from protobuf's numpy test target -""" - -def requirement(name): - """Returns the Bazel label for a protobuf pip dependency used here.""" - if name == "numpy": - return "@org_tensorflow_tensorboard//tensorboard:expect_numpy_installed" - if name == "setuptools": - return "@protobuf_pip_deps_setuptools//:site_packages" - fail("Unsupported protobuf pip dependency: %s" % name) - -def install_deps(): - """Compatibility no-op for protobuf's WORKSPACE dependency hook.""" - return None diff --git a/third_party/protobuf_pip_deps_setuptools/BUILD.bazel b/third_party/protobuf_pip_deps_setuptools/BUILD.bazel deleted file mode 100644 index 26855dd3298..00000000000 --- a/third_party/protobuf_pip_deps_setuptools/BUILD.bazel +++ /dev/null @@ -1,8 +0,0 @@ -# Protobuf's python/dist wheel genrule exports this exact external repo path on -# PYTHONPATH, so preserve the repo/target shape even though TensorBoard only -# needs an empty placeholder tree here. -filegroup( - name = "site_packages", - srcs = glob(["site-packages/**"]), - visibility = ["//visibility:public"], -) diff --git a/third_party/protobuf_pip_deps_setuptools/WORKSPACE b/third_party/protobuf_pip_deps_setuptools/WORKSPACE deleted file mode 100644 index 0ad533bd878..00000000000 --- a/third_party/protobuf_pip_deps_setuptools/WORKSPACE +++ /dev/null @@ -1 +0,0 @@ -workspace(name = "protobuf_pip_deps_setuptools") diff --git a/third_party/protobuf_pip_deps_setuptools/site-packages/.keep b/third_party/protobuf_pip_deps_setuptools/site-packages/.keep deleted file mode 100644 index 8b137891791..00000000000 --- a/third_party/protobuf_pip_deps_setuptools/site-packages/.keep +++ /dev/null @@ -1 +0,0 @@ - diff --git a/third_party/rust.bzl b/third_party/rust.bzl deleted file mode 100644 index 9339a26a20f..00000000000 --- a/third_party/rust.bzl +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2020 The TensorFlow Authors. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the 'License'); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an 'AS IS' BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -""" -TensorBoard external Rust dependencies (both infrastructure and frontend libs) -""" - -load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains") -load("//third_party/rust:crates.bzl", "raze_fetch_remote_crates") - -def tensorboard_rust_workspace(): - """TensorBoard Rust dependencies.""" - rules_rust_dependencies() - rust_register_toolchains(version = "1.65.0") - raze_fetch_remote_crates() diff --git a/third_party/rust/BUILD.bazel b/third_party/rust/BUILD.bazel deleted file mode 100644 index 406c1681255..00000000000 --- a/third_party/rust/BUILD.bazel +++ /dev/null @@ -1,24 +0,0 @@ -""" -@generated -cargo-raze generated Bazel file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# Export file for Stardoc support -exports_files( - glob([ - "**/*.bazel", - "**/*.bzl", - ]), - visibility = ["//visibility:public"], -) - -filegroup( - name = "srcs", - srcs = glob([ - "**/*.bazel", - "**/*.bzl", - ]), - visibility = ["//visibility:public"], -) diff --git a/third_party/rust/crates.bzl b/third_party/rust/crates.bzl deleted file mode 100644 index 8c9cfc1622a..00000000000 --- a/third_party/rust/crates.bzl +++ /dev/null @@ -1,2052 +0,0 @@ -""" -@generated -cargo-raze generated Bazel file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") # buildifier: disable=load -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # buildifier: disable=load -load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") # buildifier: disable=load - -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_18", - url = "https://crates.io/api/v1/crates/aho-corasick/0.7.18/download", - type = "tar.gz", - sha256 = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f", - strip_prefix = "aho-corasick-0.7.18", - build_file = Label("//third_party/rust/remote:BUILD.aho-corasick-0.7.18.bazel"), - ) - - maybe( - http_archive, - name = "raze__anyhow__1_0_34", - url = "https://crates.io/api/v1/crates/anyhow/1.0.34/download", - type = "tar.gz", - sha256 = "bf8dcb5b4bbaa28653b647d8c77bd4ed40183b48882e130c1f1ffb73de069fd7", - strip_prefix = "anyhow-1.0.34", - build_file = Label("//third_party/rust/remote:BUILD.anyhow-1.0.34.bazel"), - ) - - maybe( - http_archive, - name = "raze__async_stream__0_3_0", - url = "https://crates.io/api/v1/crates/async-stream/0.3.0/download", - type = "tar.gz", - sha256 = "3670df70cbc01729f901f94c887814b3c68db038aad1329a418bae178bc5295c", - strip_prefix = "async-stream-0.3.0", - build_file = Label("//third_party/rust/remote:BUILD.async-stream-0.3.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__async_stream_impl__0_3_0", - url = "https://crates.io/api/v1/crates/async-stream-impl/0.3.0/download", - type = "tar.gz", - sha256 = "a3548b8efc9f8e8a5a0a2808c5bd8451a9031b9e5b879a79590304ae928b0a70", - strip_prefix = "async-stream-impl-0.3.0", - build_file = Label("//third_party/rust/remote:BUILD.async-stream-impl-0.3.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__async_trait__0_1_41", - url = "https://crates.io/api/v1/crates/async-trait/0.1.41/download", - type = "tar.gz", - sha256 = "b246867b8b3b6ae56035f1eb1ed557c1d8eae97f0d53696138a50fa0e3a3b8c0", - strip_prefix = "async-trait-0.1.41", - build_file = Label("//third_party/rust/remote:BUILD.async-trait-0.1.41.bazel"), - ) - - maybe( - http_archive, - name = "raze__atty__0_2_14", - url = "https://crates.io/api/v1/crates/atty/0.2.14/download", - type = "tar.gz", - sha256 = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8", - strip_prefix = "atty-0.2.14", - build_file = Label("//third_party/rust/remote:BUILD.atty-0.2.14.bazel"), - ) - - maybe( - http_archive, - name = "raze__autocfg__1_0_1", - url = "https://crates.io/api/v1/crates/autocfg/1.0.1/download", - type = "tar.gz", - sha256 = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a", - strip_prefix = "autocfg-1.0.1", - build_file = Label("//third_party/rust/remote:BUILD.autocfg-1.0.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__base64__0_13_0", - url = "https://crates.io/api/v1/crates/base64/0.13.0/download", - type = "tar.gz", - sha256 = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd", - strip_prefix = "base64-0.13.0", - build_file = Label("//third_party/rust/remote:BUILD.base64-0.13.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__bitflags__1_2_1", - url = "https://crates.io/api/v1/crates/bitflags/1.2.1/download", - type = "tar.gz", - sha256 = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693", - strip_prefix = "bitflags-1.2.1", - build_file = Label("//third_party/rust/remote:BUILD.bitflags-1.2.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__build_const__0_2_1", - url = "https://crates.io/api/v1/crates/build_const/0.2.1/download", - type = "tar.gz", - sha256 = "39092a32794787acd8525ee150305ff051b0aa6cc2abaf193924f5ab05425f39", - strip_prefix = "build_const-0.2.1", - build_file = Label("//third_party/rust/remote:BUILD.build_const-0.2.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__bumpalo__3_12_0", - url = "https://crates.io/api/v1/crates/bumpalo/3.12.0/download", - type = "tar.gz", - sha256 = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535", - strip_prefix = "bumpalo-3.12.0", - build_file = Label("//third_party/rust/remote:BUILD.bumpalo-3.12.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__byteorder__1_3_4", - url = "https://crates.io/api/v1/crates/byteorder/1.3.4/download", - type = "tar.gz", - sha256 = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de", - strip_prefix = "byteorder-1.3.4", - build_file = Label("//third_party/rust/remote:BUILD.byteorder-1.3.4.bazel"), - ) - - maybe( - http_archive, - name = "raze__bytes__0_5_6", - url = "https://crates.io/api/v1/crates/bytes/0.5.6/download", - type = "tar.gz", - sha256 = "0e4cec68f03f32e44924783795810fa50a7035d8c8ebe78580ad7e6c703fba38", - strip_prefix = "bytes-0.5.6", - build_file = Label("//third_party/rust/remote:BUILD.bytes-0.5.6.bazel"), - ) - - maybe( - http_archive, - name = "raze__bytes__1_0_1", - url = "https://crates.io/api/v1/crates/bytes/1.0.1/download", - type = "tar.gz", - sha256 = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040", - strip_prefix = "bytes-1.0.1", - build_file = Label("//third_party/rust/remote:BUILD.bytes-1.0.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__cc__1_0_66", - url = "https://crates.io/api/v1/crates/cc/1.0.66/download", - type = "tar.gz", - sha256 = "4c0496836a84f8d0495758516b8621a622beb77c0fed418570e50764093ced48", - strip_prefix = "cc-1.0.66", - build_file = Label("//third_party/rust/remote:BUILD.cc-1.0.66.bazel"), - ) - - maybe( - http_archive, - name = "raze__cfg_if__0_1_10", - url = "https://crates.io/api/v1/crates/cfg-if/0.1.10/download", - type = "tar.gz", - sha256 = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822", - strip_prefix = "cfg-if-0.1.10", - build_file = Label("//third_party/rust/remote:BUILD.cfg-if-0.1.10.bazel"), - ) - - maybe( - http_archive, - name = "raze__cfg_if__1_0_0", - url = "https://crates.io/api/v1/crates/cfg-if/1.0.0/download", - type = "tar.gz", - sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd", - strip_prefix = "cfg-if-1.0.0", - build_file = Label("//third_party/rust/remote:BUILD.cfg-if-1.0.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__clap__3_0_0_beta_2", - url = "https://crates.io/api/v1/crates/clap/3.0.0-beta.2/download", - type = "tar.gz", - sha256 = "4bd1061998a501ee7d4b6d449020df3266ca3124b941ec56cf2005c3779ca142", - strip_prefix = "clap-3.0.0-beta.2", - build_file = Label("//third_party/rust/remote:BUILD.clap-3.0.0-beta.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__clap_derive__3_0_0_beta_2", - url = "https://crates.io/api/v1/crates/clap_derive/3.0.0-beta.2/download", - type = "tar.gz", - sha256 = "370f715b81112975b1b69db93e0b56ea4cd4e5002ac43b2da8474106a54096a1", - strip_prefix = "clap_derive-3.0.0-beta.2", - build_file = Label("//third_party/rust/remote:BUILD.clap_derive-3.0.0-beta.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__const_fn__0_4_5", - url = "https://crates.io/api/v1/crates/const_fn/0.4.5/download", - type = "tar.gz", - sha256 = "28b9d6de7f49e22cf97ad17fc4036ece69300032f45f78f30b4a4482cdc3f4a6", - strip_prefix = "const_fn-0.4.5", - build_file = Label("//third_party/rust/remote:BUILD.const_fn-0.4.5.bazel"), - ) - - maybe( - http_archive, - name = "raze__core_foundation__0_9_3", - url = "https://crates.io/api/v1/crates/core-foundation/0.9.3/download", - type = "tar.gz", - sha256 = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146", - strip_prefix = "core-foundation-0.9.3", - build_file = Label("//third_party/rust/remote:BUILD.core-foundation-0.9.3.bazel"), - ) - - maybe( - http_archive, - name = "raze__core_foundation_sys__0_8_3", - url = "https://crates.io/api/v1/crates/core-foundation-sys/0.8.3/download", - type = "tar.gz", - sha256 = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc", - strip_prefix = "core-foundation-sys-0.8.3", - build_file = Label("//third_party/rust/remote:BUILD.core-foundation-sys-0.8.3.bazel"), - ) - - maybe( - http_archive, - name = "raze__crc__1_8_1", - url = "https://crates.io/api/v1/crates/crc/1.8.1/download", - type = "tar.gz", - sha256 = "d663548de7f5cca343f1e0a48d14dcfb0e9eb4e079ec58883b7251539fa10aeb", - strip_prefix = "crc-1.8.1", - build_file = Label("//third_party/rust/remote:BUILD.crc-1.8.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__crossbeam__0_8_0", - url = "https://crates.io/api/v1/crates/crossbeam/0.8.0/download", - type = "tar.gz", - sha256 = "fd01a6eb3daaafa260f6fc94c3a6c36390abc2080e38e3e34ced87393fb77d80", - strip_prefix = "crossbeam-0.8.0", - build_file = Label("//third_party/rust/remote:BUILD.crossbeam-0.8.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__crossbeam_channel__0_5_0", - url = "https://crates.io/api/v1/crates/crossbeam-channel/0.5.0/download", - type = "tar.gz", - sha256 = "dca26ee1f8d361640700bde38b2c37d8c22b3ce2d360e1fc1c74ea4b0aa7d775", - strip_prefix = "crossbeam-channel-0.5.0", - build_file = Label("//third_party/rust/remote:BUILD.crossbeam-channel-0.5.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__crossbeam_deque__0_8_1", - url = "https://crates.io/api/v1/crates/crossbeam-deque/0.8.1/download", - type = "tar.gz", - sha256 = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e", - strip_prefix = "crossbeam-deque-0.8.1", - build_file = Label("//third_party/rust/remote:BUILD.crossbeam-deque-0.8.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__crossbeam_epoch__0_9_1", - url = "https://crates.io/api/v1/crates/crossbeam-epoch/0.9.1/download", - type = "tar.gz", - sha256 = "a1aaa739f95311c2c7887a76863f500026092fb1dce0161dab577e559ef3569d", - strip_prefix = "crossbeam-epoch-0.9.1", - build_file = Label("//third_party/rust/remote:BUILD.crossbeam-epoch-0.9.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__crossbeam_queue__0_3_1", - url = "https://crates.io/api/v1/crates/crossbeam-queue/0.3.1/download", - type = "tar.gz", - sha256 = "0f6cb3c7f5b8e51bc3ebb73a2327ad4abdbd119dc13223f14f961d2f38486756", - strip_prefix = "crossbeam-queue-0.3.1", - build_file = Label("//third_party/rust/remote:BUILD.crossbeam-queue-0.3.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__crossbeam_utils__0_8_8", - url = "https://crates.io/api/v1/crates/crossbeam-utils/0.8.8/download", - type = "tar.gz", - sha256 = "0bf124c720b7686e3c2663cf54062ab0f68a88af2fb6a030e87e30bf721fcb38", - strip_prefix = "crossbeam-utils-0.8.8", - build_file = Label("//third_party/rust/remote:BUILD.crossbeam-utils-0.8.8.bazel"), - ) - - maybe( - http_archive, - name = "raze__dirs_next__2_0_0", - url = "https://crates.io/api/v1/crates/dirs-next/2.0.0/download", - type = "tar.gz", - sha256 = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1", - strip_prefix = "dirs-next-2.0.0", - build_file = Label("//third_party/rust/remote:BUILD.dirs-next-2.0.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__dirs_sys_next__0_1_2", - url = "https://crates.io/api/v1/crates/dirs-sys-next/0.1.2/download", - type = "tar.gz", - sha256 = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d", - strip_prefix = "dirs-sys-next-0.1.2", - build_file = Label("//third_party/rust/remote:BUILD.dirs-sys-next-0.1.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__either__1_6_1", - url = "https://crates.io/api/v1/crates/either/1.6.1/download", - type = "tar.gz", - sha256 = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457", - strip_prefix = "either-1.6.1", - build_file = Label("//third_party/rust/remote:BUILD.either-1.6.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__encoding_rs__0_8_26", - url = "https://crates.io/api/v1/crates/encoding_rs/0.8.26/download", - type = "tar.gz", - sha256 = "801bbab217d7f79c0062f4f7205b5d4427c6d1a7bd7aafdd1475f7c59d62b283", - strip_prefix = "encoding_rs-0.8.26", - build_file = Label("//third_party/rust/remote:BUILD.encoding_rs-0.8.26.bazel"), - ) - - maybe( - http_archive, - name = "raze__env_logger__0_8_2", - url = "https://crates.io/api/v1/crates/env_logger/0.8.2/download", - type = "tar.gz", - sha256 = "f26ecb66b4bdca6c1409b40fb255eefc2bd4f6d135dab3c3124f80ffa2a9661e", - strip_prefix = "env_logger-0.8.2", - build_file = Label("//third_party/rust/remote:BUILD.env_logger-0.8.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__fixedbitset__0_4_1", - url = "https://crates.io/api/v1/crates/fixedbitset/0.4.1/download", - type = "tar.gz", - sha256 = "279fb028e20b3c4c320317955b77c5e0c9701f05a1d309905d6fc702cdc5053e", - strip_prefix = "fixedbitset-0.4.1", - build_file = Label("//third_party/rust/remote:BUILD.fixedbitset-0.4.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__fnv__1_0_7", - url = "https://crates.io/api/v1/crates/fnv/1.0.7/download", - type = "tar.gz", - sha256 = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1", - strip_prefix = "fnv-1.0.7", - build_file = Label("//third_party/rust/remote:BUILD.fnv-1.0.7.bazel"), - ) - - maybe( - http_archive, - name = "raze__form_urlencoded__1_0_0", - url = "https://crates.io/api/v1/crates/form_urlencoded/1.0.0/download", - type = "tar.gz", - sha256 = "ece68d15c92e84fa4f19d3780f1294e5ca82a78a6d515f1efaabcc144688be00", - strip_prefix = "form_urlencoded-1.0.0", - build_file = Label("//third_party/rust/remote:BUILD.form_urlencoded-1.0.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__futures_channel__0_3_8", - url = "https://crates.io/api/v1/crates/futures-channel/0.3.8/download", - type = "tar.gz", - sha256 = "4b7109687aa4e177ef6fe84553af6280ef2778bdb7783ba44c9dc3399110fe64", - strip_prefix = "futures-channel-0.3.8", - build_file = Label("//third_party/rust/remote:BUILD.futures-channel-0.3.8.bazel"), - ) - - maybe( - http_archive, - name = "raze__futures_core__0_3_12", - url = "https://crates.io/api/v1/crates/futures-core/0.3.12/download", - type = "tar.gz", - sha256 = "79e5145dde8da7d1b3892dad07a9c98fc04bc39892b1ecc9692cf53e2b780a65", - strip_prefix = "futures-core-0.3.12", - build_file = Label("//third_party/rust/remote:BUILD.futures-core-0.3.12.bazel"), - ) - - maybe( - http_archive, - name = "raze__futures_io__0_3_12", - url = "https://crates.io/api/v1/crates/futures-io/0.3.12/download", - type = "tar.gz", - sha256 = "28be053525281ad8259d47e4de5de657b25e7bac113458555bb4b70bc6870500", - strip_prefix = "futures-io-0.3.12", - build_file = Label("//third_party/rust/remote:BUILD.futures-io-0.3.12.bazel"), - ) - - maybe( - http_archive, - name = "raze__futures_macro__0_3_8", - url = "https://crates.io/api/v1/crates/futures-macro/0.3.8/download", - type = "tar.gz", - sha256 = "77408a692f1f97bcc61dc001d752e00643408fbc922e4d634c655df50d595556", - strip_prefix = "futures-macro-0.3.8", - build_file = Label("//third_party/rust/remote:BUILD.futures-macro-0.3.8.bazel"), - ) - - maybe( - http_archive, - name = "raze__futures_sink__0_3_8", - url = "https://crates.io/api/v1/crates/futures-sink/0.3.8/download", - type = "tar.gz", - sha256 = "f878195a49cee50e006b02b93cf7e0a95a38ac7b776b4c4d9cc1207cd20fcb3d", - strip_prefix = "futures-sink-0.3.8", - build_file = Label("//third_party/rust/remote:BUILD.futures-sink-0.3.8.bazel"), - ) - - maybe( - http_archive, - name = "raze__futures_task__0_3_8", - url = "https://crates.io/api/v1/crates/futures-task/0.3.8/download", - type = "tar.gz", - sha256 = "7c554eb5bf48b2426c4771ab68c6b14468b6e76cc90996f528c3338d761a4d0d", - strip_prefix = "futures-task-0.3.8", - build_file = Label("//third_party/rust/remote:BUILD.futures-task-0.3.8.bazel"), - ) - - maybe( - http_archive, - name = "raze__futures_util__0_3_8", - url = "https://crates.io/api/v1/crates/futures-util/0.3.8/download", - type = "tar.gz", - sha256 = "d304cff4a7b99cfb7986f7d43fbe93d175e72e704a8860787cc95e9ffd85cbd2", - strip_prefix = "futures-util-0.3.8", - build_file = Label("//third_party/rust/remote:BUILD.futures-util-0.3.8.bazel"), - ) - - maybe( - http_archive, - name = "raze__gcp_auth__0_7_4", - url = "https://crates.io/api/v1/crates/gcp_auth/0.7.4/download", - type = "tar.gz", - sha256 = "2fa91e79d98c9c52d80979ee7664b4a0121eb12077bb4ea4ded168d8ee172911", - strip_prefix = "gcp_auth-0.7.4", - build_file = Label("//third_party/rust/remote:BUILD.gcp_auth-0.7.4.bazel"), - ) - - maybe( - http_archive, - name = "raze__getrandom__0_1_15", - url = "https://crates.io/api/v1/crates/getrandom/0.1.15/download", - type = "tar.gz", - sha256 = "fc587bc0ec293155d5bfa6b9891ec18a1e330c234f896ea47fbada4cadbe47e6", - strip_prefix = "getrandom-0.1.15", - build_file = Label("//third_party/rust/remote:BUILD.getrandom-0.1.15.bazel"), - ) - - maybe( - http_archive, - name = "raze__getrandom__0_2_1", - url = "https://crates.io/api/v1/crates/getrandom/0.2.1/download", - type = "tar.gz", - sha256 = "4060f4657be78b8e766215b02b18a2e862d83745545de804638e2b545e81aee6", - strip_prefix = "getrandom-0.2.1", - build_file = Label("//third_party/rust/remote:BUILD.getrandom-0.2.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__h2__0_3_19", - url = "https://crates.io/api/v1/crates/h2/0.3.19/download", - type = "tar.gz", - sha256 = "d357c7ae988e7d2182f7d7871d0b963962420b0678b0997ce7de72001aeab782", - strip_prefix = "h2-0.3.19", - build_file = Label("//third_party/rust/remote:BUILD.h2-0.3.19.bazel"), - ) - - maybe( - http_archive, - name = "raze__hashbrown__0_11_2", - url = "https://crates.io/api/v1/crates/hashbrown/0.11.2/download", - type = "tar.gz", - sha256 = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e", - strip_prefix = "hashbrown-0.11.2", - build_file = Label("//third_party/rust/remote:BUILD.hashbrown-0.11.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__heck__0_3_1", - url = "https://crates.io/api/v1/crates/heck/0.3.1/download", - type = "tar.gz", - sha256 = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205", - strip_prefix = "heck-0.3.1", - build_file = Label("//third_party/rust/remote:BUILD.heck-0.3.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__hermit_abi__0_1_17", - url = "https://crates.io/api/v1/crates/hermit-abi/0.1.17/download", - type = "tar.gz", - sha256 = "5aca5565f760fb5b220e499d72710ed156fdb74e631659e99377d9ebfbd13ae8", - strip_prefix = "hermit-abi-0.1.17", - build_file = Label("//third_party/rust/remote:BUILD.hermit-abi-0.1.17.bazel"), - ) - - maybe( - http_archive, - name = "raze__http__0_2_1", - url = "https://crates.io/api/v1/crates/http/0.2.1/download", - type = "tar.gz", - sha256 = "28d569972648b2c512421b5f2a405ad6ac9666547189d0c5477a3f200f3e02f9", - strip_prefix = "http-0.2.1", - build_file = Label("//third_party/rust/remote:BUILD.http-0.2.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__http_body__0_4_5", - url = "https://crates.io/api/v1/crates/http-body/0.4.5/download", - type = "tar.gz", - sha256 = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1", - strip_prefix = "http-body-0.4.5", - build_file = Label("//third_party/rust/remote:BUILD.http-body-0.4.5.bazel"), - ) - - maybe( - http_archive, - name = "raze__httparse__1_7_1", - url = "https://crates.io/api/v1/crates/httparse/1.7.1/download", - type = "tar.gz", - sha256 = "496ce29bb5a52785b44e0f7ca2847ae0bb839c9bd28f69acac9b99d461c0c04c", - strip_prefix = "httparse-1.7.1", - build_file = Label("//third_party/rust/remote:BUILD.httparse-1.7.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__httpdate__1_0_2", - url = "https://crates.io/api/v1/crates/httpdate/1.0.2/download", - type = "tar.gz", - sha256 = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421", - strip_prefix = "httpdate-1.0.2", - build_file = Label("//third_party/rust/remote:BUILD.httpdate-1.0.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__humantime__2_0_1", - url = "https://crates.io/api/v1/crates/humantime/2.0.1/download", - type = "tar.gz", - sha256 = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a", - strip_prefix = "humantime-2.0.1", - build_file = Label("//third_party/rust/remote:BUILD.humantime-2.0.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__hyper__0_14_19", - url = "https://crates.io/api/v1/crates/hyper/0.14.19/download", - type = "tar.gz", - sha256 = "42dc3c131584288d375f2d07f822b0cb012d8c6fb899a5b9fdb3cb7eb9b6004f", - strip_prefix = "hyper-0.14.19", - build_file = Label("//third_party/rust/remote:BUILD.hyper-0.14.19.bazel"), - ) - - maybe( - http_archive, - name = "raze__hyper_rustls__0_22_1", - url = "https://crates.io/api/v1/crates/hyper-rustls/0.22.1/download", - type = "tar.gz", - sha256 = "5f9f7a97316d44c0af9b0301e65010573a853a9fc97046d7331d7f6bc0fd5a64", - strip_prefix = "hyper-rustls-0.22.1", - build_file = Label("//third_party/rust/remote:BUILD.hyper-rustls-0.22.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__hyper_rustls__0_23_0", - url = "https://crates.io/api/v1/crates/hyper-rustls/0.23.0/download", - type = "tar.gz", - sha256 = "d87c48c02e0dc5e3b849a2041db3029fd066650f8f717c07bf8ed78ccb895cac", - strip_prefix = "hyper-rustls-0.23.0", - build_file = Label("//third_party/rust/remote:BUILD.hyper-rustls-0.23.0.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", - url = "https://crates.io/api/v1/crates/idna/0.2.0/download", - type = "tar.gz", - sha256 = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9", - strip_prefix = "idna-0.2.0", - build_file = Label("//third_party/rust/remote:BUILD.idna-0.2.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__indexmap__1_8_2", - url = "https://crates.io/api/v1/crates/indexmap/1.8.2/download", - type = "tar.gz", - sha256 = "e6012d540c5baa3589337a98ce73408de9b5a25ec9fc2c6fd6be8f0d39e0ca5a", - strip_prefix = "indexmap-1.8.2", - build_file = Label("//third_party/rust/remote:BUILD.indexmap-1.8.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__ipnet__2_3_0", - url = "https://crates.io/api/v1/crates/ipnet/2.3.0/download", - type = "tar.gz", - sha256 = "47be2f14c678be2fdcab04ab1171db51b2762ce6f0a8ee87c8dd4a04ed216135", - strip_prefix = "ipnet-2.3.0", - 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__itoa__0_4_6", - url = "https://crates.io/api/v1/crates/itoa/0.4.6/download", - type = "tar.gz", - sha256 = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6", - strip_prefix = "itoa-0.4.6", - 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", - url = "https://crates.io/api/v1/crates/js-sys/0.3.47/download", - type = "tar.gz", - sha256 = "5cfb73131c35423a367daf8cbd24100af0d077668c8c2943f0e7dd775fef0f65", - strip_prefix = "js-sys-0.3.47", - build_file = Label("//third_party/rust/remote:BUILD.js-sys-0.3.47.bazel"), - ) - - maybe( - http_archive, - name = "raze__lazy_static__1_4_0", - url = "https://crates.io/api/v1/crates/lazy_static/1.4.0/download", - type = "tar.gz", - sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646", - strip_prefix = "lazy_static-1.4.0", - build_file = Label("//third_party/rust/remote:BUILD.lazy_static-1.4.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__libc__0_2_126", - url = "https://crates.io/api/v1/crates/libc/0.2.126/download", - type = "tar.gz", - sha256 = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836", - strip_prefix = "libc-0.2.126", - build_file = Label("//third_party/rust/remote:BUILD.libc-0.2.126.bazel"), - ) - - maybe( - http_archive, - name = "raze__lock_api__0_4_6", - url = "https://crates.io/api/v1/crates/lock_api/0.4.6/download", - type = "tar.gz", - sha256 = "88943dd7ef4a2e5a4bfa2753aaab3013e34ce2533d1996fb18ef591e315e2b3b", - strip_prefix = "lock_api-0.4.6", - build_file = Label("//third_party/rust/remote:BUILD.lock_api-0.4.6.bazel"), - ) - - maybe( - http_archive, - name = "raze__log__0_4_11", - url = "https://crates.io/api/v1/crates/log/0.4.11/download", - type = "tar.gz", - sha256 = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b", - strip_prefix = "log-0.4.11", - build_file = Label("//third_party/rust/remote:BUILD.log-0.4.11.bazel"), - ) - - maybe( - http_archive, - name = "raze__matches__0_1_8", - url = "https://crates.io/api/v1/crates/matches/0.1.8/download", - type = "tar.gz", - sha256 = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08", - strip_prefix = "matches-0.1.8", - build_file = Label("//third_party/rust/remote:BUILD.matches-0.1.8.bazel"), - ) - - maybe( - http_archive, - name = "raze__memchr__2_5_0", - url = "https://crates.io/api/v1/crates/memchr/2.5.0/download", - type = "tar.gz", - sha256 = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d", - strip_prefix = "memchr-2.5.0", - build_file = Label("//third_party/rust/remote:BUILD.memchr-2.5.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__memoffset__0_6_5", - url = "https://crates.io/api/v1/crates/memoffset/0.6.5/download", - type = "tar.gz", - sha256 = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce", - strip_prefix = "memoffset-0.6.5", - build_file = Label("//third_party/rust/remote:BUILD.memoffset-0.6.5.bazel"), - ) - - maybe( - http_archive, - name = "raze__mime__0_3_16", - url = "https://crates.io/api/v1/crates/mime/0.3.16/download", - type = "tar.gz", - sha256 = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d", - strip_prefix = "mime-0.3.16", - build_file = Label("//third_party/rust/remote:BUILD.mime-0.3.16.bazel"), - ) - - maybe( - http_archive, - name = "raze__mio__0_8_3", - url = "https://crates.io/api/v1/crates/mio/0.8.3/download", - type = "tar.gz", - sha256 = "713d550d9b44d89174e066b7a6217ae06234c10cb47819a88290d2b353c31799", - strip_prefix = "mio-0.8.3", - build_file = Label("//third_party/rust/remote:BUILD.mio-0.8.3.bazel"), - ) - - maybe( - http_archive, - name = "raze__multimap__0_8_2", - url = "https://crates.io/api/v1/crates/multimap/0.8.2/download", - type = "tar.gz", - sha256 = "1255076139a83bb467426e7f8d0134968a8118844faa755985e077cf31850333", - strip_prefix = "multimap-0.8.2", - build_file = Label("//third_party/rust/remote:BUILD.multimap-0.8.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__num_cpus__1_13_0", - url = "https://crates.io/api/v1/crates/num_cpus/1.13.0/download", - type = "tar.gz", - sha256 = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3", - strip_prefix = "num_cpus-1.13.0", - build_file = Label("//third_party/rust/remote:BUILD.num_cpus-1.13.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__num_threads__0_1_6", - url = "https://crates.io/api/v1/crates/num_threads/0.1.6/download", - type = "tar.gz", - sha256 = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44", - strip_prefix = "num_threads-0.1.6", - build_file = Label("//third_party/rust/remote:BUILD.num_threads-0.1.6.bazel"), - ) - - maybe( - http_archive, - name = "raze__once_cell__1_5_2", - url = "https://crates.io/api/v1/crates/once_cell/1.5.2/download", - type = "tar.gz", - sha256 = "13bd41f508810a131401606d54ac32a467c97172d74ba7662562ebba5ad07fa0", - strip_prefix = "once_cell-1.5.2", - build_file = Label("//third_party/rust/remote:BUILD.once_cell-1.5.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__openssl_probe__0_1_5", - url = "https://crates.io/api/v1/crates/openssl-probe/0.1.5/download", - type = "tar.gz", - sha256 = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf", - strip_prefix = "openssl-probe-0.1.5", - build_file = Label("//third_party/rust/remote:BUILD.openssl-probe-0.1.5.bazel"), - ) - - maybe( - http_archive, - name = "raze__os_str_bytes__2_4_0", - url = "https://crates.io/api/v1/crates/os_str_bytes/2.4.0/download", - type = "tar.gz", - sha256 = "afb2e1c3ee07430c2cf76151675e583e0f19985fa6efae47d6848a3e2c824f85", - strip_prefix = "os_str_bytes-2.4.0", - build_file = Label("//third_party/rust/remote:BUILD.os_str_bytes-2.4.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__parking_lot__0_12_1", - url = "https://crates.io/api/v1/crates/parking_lot/0.12.1/download", - type = "tar.gz", - sha256 = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f", - strip_prefix = "parking_lot-0.12.1", - build_file = Label("//third_party/rust/remote:BUILD.parking_lot-0.12.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__parking_lot_core__0_9_3", - url = "https://crates.io/api/v1/crates/parking_lot_core/0.9.3/download", - type = "tar.gz", - sha256 = "09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929", - strip_prefix = "parking_lot_core-0.9.3", - build_file = Label("//third_party/rust/remote:BUILD.parking_lot_core-0.9.3.bazel"), - ) - - maybe( - http_archive, - name = "raze__percent_encoding__2_1_0", - url = "https://crates.io/api/v1/crates/percent-encoding/2.1.0/download", - type = "tar.gz", - sha256 = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e", - strip_prefix = "percent-encoding-2.1.0", - build_file = Label("//third_party/rust/remote:BUILD.percent-encoding-2.1.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__petgraph__0_6_2", - url = "https://crates.io/api/v1/crates/petgraph/0.6.2/download", - type = "tar.gz", - sha256 = "e6d5014253a1331579ce62aa67443b4a658c5e7dd03d4bc6d302b94474888143", - strip_prefix = "petgraph-0.6.2", - build_file = Label("//third_party/rust/remote:BUILD.petgraph-0.6.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__pin_project__1_0_12", - url = "https://crates.io/api/v1/crates/pin-project/1.0.12/download", - type = "tar.gz", - sha256 = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc", - strip_prefix = "pin-project-1.0.12", - build_file = Label("//third_party/rust/remote:BUILD.pin-project-1.0.12.bazel"), - ) - - maybe( - http_archive, - name = "raze__pin_project_internal__1_0_12", - url = "https://crates.io/api/v1/crates/pin-project-internal/1.0.12/download", - type = "tar.gz", - sha256 = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55", - strip_prefix = "pin-project-internal-1.0.12", - build_file = Label("//third_party/rust/remote:BUILD.pin-project-internal-1.0.12.bazel"), - ) - - maybe( - http_archive, - 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 = "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( - http_archive, - name = "raze__pin_utils__0_1_0", - url = "https://crates.io/api/v1/crates/pin-utils/0.1.0/download", - type = "tar.gz", - sha256 = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184", - strip_prefix = "pin-utils-0.1.0", - build_file = Label("//third_party/rust/remote:BUILD.pin-utils-0.1.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__ppv_lite86__0_2_10", - url = "https://crates.io/api/v1/crates/ppv-lite86/0.2.10/download", - type = "tar.gz", - sha256 = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857", - strip_prefix = "ppv-lite86-0.2.10", - build_file = Label("//third_party/rust/remote:BUILD.ppv-lite86-0.2.10.bazel"), - ) - - maybe( - http_archive, - name = "raze__proc_macro_error__1_0_4", - url = "https://crates.io/api/v1/crates/proc-macro-error/1.0.4/download", - type = "tar.gz", - sha256 = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c", - strip_prefix = "proc-macro-error-1.0.4", - build_file = Label("//third_party/rust/remote:BUILD.proc-macro-error-1.0.4.bazel"), - ) - - maybe( - http_archive, - name = "raze__proc_macro_error_attr__1_0_4", - url = "https://crates.io/api/v1/crates/proc-macro-error-attr/1.0.4/download", - type = "tar.gz", - sha256 = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869", - strip_prefix = "proc-macro-error-attr-1.0.4", - build_file = Label("//third_party/rust/remote:BUILD.proc-macro-error-attr-1.0.4.bazel"), - ) - - maybe( - http_archive, - name = "raze__proc_macro_hack__0_5_19", - url = "https://crates.io/api/v1/crates/proc-macro-hack/0.5.19/download", - type = "tar.gz", - sha256 = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5", - strip_prefix = "proc-macro-hack-0.5.19", - build_file = Label("//third_party/rust/remote:BUILD.proc-macro-hack-0.5.19.bazel"), - ) - - maybe( - http_archive, - name = "raze__proc_macro_nested__0_1_7", - url = "https://crates.io/api/v1/crates/proc-macro-nested/0.1.7/download", - type = "tar.gz", - sha256 = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086", - strip_prefix = "proc-macro-nested-0.1.7", - build_file = Label("//third_party/rust/remote:BUILD.proc-macro-nested-0.1.7.bazel"), - ) - - maybe( - http_archive, - name = "raze__proc_macro2__1_0_43", - url = "https://crates.io/api/v1/crates/proc-macro2/1.0.43/download", - type = "tar.gz", - sha256 = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab", - strip_prefix = "proc-macro2-1.0.43", - build_file = Label("//third_party/rust/remote:BUILD.proc-macro2-1.0.43.bazel"), - ) - - maybe( - http_archive, - name = "raze__prost__0_9_0", - url = "https://crates.io/api/v1/crates/prost/0.9.0/download", - type = "tar.gz", - 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_9_0", - url = "https://crates.io/api/v1/crates/prost-build/0.9.0/download", - type = "tar.gz", - 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_9_0", - url = "https://crates.io/api/v1/crates/prost-derive/0.9.0/download", - type = "tar.gz", - 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_9_0", - url = "https://crates.io/api/v1/crates/prost-types/0.9.0/download", - type = "tar.gz", - sha256 = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a", - strip_prefix = "prost-types-0.9.0", - build_file = Label("//third_party/rust/remote:BUILD.prost-types-0.9.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__quote__1_0_7", - url = "https://crates.io/api/v1/crates/quote/1.0.7/download", - type = "tar.gz", - sha256 = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37", - strip_prefix = "quote-1.0.7", - build_file = Label("//third_party/rust/remote:BUILD.quote-1.0.7.bazel"), - ) - - maybe( - http_archive, - name = "raze__rand__0_7_3", - url = "https://crates.io/api/v1/crates/rand/0.7.3/download", - type = "tar.gz", - sha256 = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03", - strip_prefix = "rand-0.7.3", - build_file = Label("//third_party/rust/remote:BUILD.rand-0.7.3.bazel"), - ) - - maybe( - http_archive, - name = "raze__rand__0_8_2", - url = "https://crates.io/api/v1/crates/rand/0.8.2/download", - type = "tar.gz", - sha256 = "18519b42a40024d661e1714153e9ad0c3de27cd495760ceb09710920f1098b1e", - strip_prefix = "rand-0.8.2", - build_file = Label("//third_party/rust/remote:BUILD.rand-0.8.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__rand_chacha__0_2_2", - url = "https://crates.io/api/v1/crates/rand_chacha/0.2.2/download", - type = "tar.gz", - sha256 = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402", - strip_prefix = "rand_chacha-0.2.2", - build_file = Label("//third_party/rust/remote:BUILD.rand_chacha-0.2.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__rand_chacha__0_3_0", - url = "https://crates.io/api/v1/crates/rand_chacha/0.3.0/download", - type = "tar.gz", - sha256 = "e12735cf05c9e10bf21534da50a147b924d555dc7a547c42e6bb2d5b6017ae0d", - strip_prefix = "rand_chacha-0.3.0", - build_file = Label("//third_party/rust/remote:BUILD.rand_chacha-0.3.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__rand_core__0_5_1", - url = "https://crates.io/api/v1/crates/rand_core/0.5.1/download", - type = "tar.gz", - sha256 = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19", - strip_prefix = "rand_core-0.5.1", - build_file = Label("//third_party/rust/remote:BUILD.rand_core-0.5.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__rand_core__0_6_1", - url = "https://crates.io/api/v1/crates/rand_core/0.6.1/download", - type = "tar.gz", - sha256 = "c026d7df8b298d90ccbbc5190bd04d85e159eaf5576caeacf8741da93ccbd2e5", - strip_prefix = "rand_core-0.6.1", - build_file = Label("//third_party/rust/remote:BUILD.rand_core-0.6.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__rand_hc__0_2_0", - url = "https://crates.io/api/v1/crates/rand_hc/0.2.0/download", - type = "tar.gz", - sha256 = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c", - strip_prefix = "rand_hc-0.2.0", - build_file = Label("//third_party/rust/remote:BUILD.rand_hc-0.2.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__rand_hc__0_3_0", - url = "https://crates.io/api/v1/crates/rand_hc/0.3.0/download", - type = "tar.gz", - sha256 = "3190ef7066a446f2e7f42e239d161e905420ccab01eb967c9eb27d21b2322a73", - strip_prefix = "rand_hc-0.3.0", - build_file = Label("//third_party/rust/remote:BUILD.rand_hc-0.3.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__rayon__1_5_0", - url = "https://crates.io/api/v1/crates/rayon/1.5.0/download", - type = "tar.gz", - sha256 = "8b0d8e0819fadc20c74ea8373106ead0600e3a67ef1fe8da56e39b9ae7275674", - strip_prefix = "rayon-1.5.0", - build_file = Label("//third_party/rust/remote:BUILD.rayon-1.5.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__rayon_core__1_9_0", - url = "https://crates.io/api/v1/crates/rayon-core/1.9.0/download", - type = "tar.gz", - sha256 = "9ab346ac5921dc62ffa9f89b7a773907511cdfa5490c572ae9be1be33e8afa4a", - strip_prefix = "rayon-core-1.9.0", - build_file = Label("//third_party/rust/remote:BUILD.rayon-core-1.9.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__redox_syscall__0_1_57", - url = "https://crates.io/api/v1/crates/redox_syscall/0.1.57/download", - type = "tar.gz", - sha256 = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce", - strip_prefix = "redox_syscall-0.1.57", - build_file = Label("//third_party/rust/remote:BUILD.redox_syscall-0.1.57.bazel"), - ) - - maybe( - http_archive, - name = "raze__redox_syscall__0_2_16", - url = "https://crates.io/api/v1/crates/redox_syscall/0.2.16/download", - type = "tar.gz", - sha256 = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a", - strip_prefix = "redox_syscall-0.2.16", - build_file = Label("//third_party/rust/remote:BUILD.redox_syscall-0.2.16.bazel"), - ) - - maybe( - http_archive, - name = "raze__redox_users__0_4_3", - url = "https://crates.io/api/v1/crates/redox_users/0.4.3/download", - type = "tar.gz", - sha256 = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b", - strip_prefix = "redox_users-0.4.3", - build_file = Label("//third_party/rust/remote:BUILD.redox_users-0.4.3.bazel"), - ) - - maybe( - http_archive, - name = "raze__regex__1_5_6", - url = "https://crates.io/api/v1/crates/regex/1.5.6/download", - type = "tar.gz", - 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_26", - url = "https://crates.io/api/v1/crates/regex-syntax/0.6.26/download", - type = "tar.gz", - sha256 = "49b3de9ec5dc0a3417da371aab17d729997c15010e7fd24ff707773a33bddb64", - strip_prefix = "regex-syntax-0.6.26", - build_file = Label("//third_party/rust/remote:BUILD.regex-syntax-0.6.26.bazel"), - ) - - maybe( - http_archive, - name = "raze__remove_dir_all__0_5_3", - url = "https://crates.io/api/v1/crates/remove_dir_all/0.5.3/download", - type = "tar.gz", - sha256 = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7", - strip_prefix = "remove_dir_all-0.5.3", - build_file = Label("//third_party/rust/remote:BUILD.remove_dir_all-0.5.3.bazel"), - ) - - maybe( - http_archive, - name = "raze__reqwest__0_11_0", - url = "https://crates.io/api/v1/crates/reqwest/0.11.0/download", - type = "tar.gz", - sha256 = "fd281b1030aa675fb90aa994d07187645bb3c8fc756ca766e7c3070b439de9de", - strip_prefix = "reqwest-0.11.0", - build_file = Label("//third_party/rust/remote:BUILD.reqwest-0.11.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__ring__0_16_20", - url = "https://crates.io/api/v1/crates/ring/0.16.20/download", - type = "tar.gz", - sha256 = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc", - strip_prefix = "ring-0.16.20", - build_file = Label("//third_party/rust/remote:BUILD.ring-0.16.20.bazel"), - ) - - maybe( - http_archive, - name = "raze__rustls__0_19_0", - url = "https://crates.io/api/v1/crates/rustls/0.19.0/download", - type = "tar.gz", - sha256 = "064fd21ff87c6e87ed4506e68beb42459caa4a0e2eb144932e6776768556980b", - strip_prefix = "rustls-0.19.0", - build_file = Label("//third_party/rust/remote:BUILD.rustls-0.19.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__rustls__0_20_6", - url = "https://crates.io/api/v1/crates/rustls/0.20.6/download", - type = "tar.gz", - sha256 = "5aab8ee6c7097ed6057f43c187a62418d0c05a4bd5f18b3571db50ee0f9ce033", - strip_prefix = "rustls-0.20.6", - build_file = Label("//third_party/rust/remote:BUILD.rustls-0.20.6.bazel"), - ) - - maybe( - http_archive, - name = "raze__rustls_native_certs__0_6_2", - url = "https://crates.io/api/v1/crates/rustls-native-certs/0.6.2/download", - type = "tar.gz", - sha256 = "0167bac7a9f490495f3c33013e7722b53cb087ecbe082fb0c6387c96f634ea50", - strip_prefix = "rustls-native-certs-0.6.2", - build_file = Label("//third_party/rust/remote:BUILD.rustls-native-certs-0.6.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__rustls_pemfile__1_0_1", - url = "https://crates.io/api/v1/crates/rustls-pemfile/1.0.1/download", - type = "tar.gz", - sha256 = "0864aeff53f8c05aa08d86e5ef839d3dfcf07aeba2db32f12db0ef716e87bd55", - strip_prefix = "rustls-pemfile-1.0.1", - build_file = Label("//third_party/rust/remote:BUILD.rustls-pemfile-1.0.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__ryu__1_0_5", - url = "https://crates.io/api/v1/crates/ryu/1.0.5/download", - type = "tar.gz", - sha256 = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e", - strip_prefix = "ryu-1.0.5", - build_file = Label("//third_party/rust/remote:BUILD.ryu-1.0.5.bazel"), - ) - - maybe( - http_archive, - name = "raze__same_file__1_0_6", - url = "https://crates.io/api/v1/crates/same-file/1.0.6/download", - type = "tar.gz", - sha256 = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502", - strip_prefix = "same-file-1.0.6", - build_file = Label("//third_party/rust/remote:BUILD.same-file-1.0.6.bazel"), - ) - - maybe( - http_archive, - name = "raze__schannel__0_1_20", - url = "https://crates.io/api/v1/crates/schannel/0.1.20/download", - type = "tar.gz", - sha256 = "88d6731146462ea25d9244b2ed5fd1d716d25c52e4d54aa4fb0f3c4e9854dbe2", - strip_prefix = "schannel-0.1.20", - build_file = Label("//third_party/rust/remote:BUILD.schannel-0.1.20.bazel"), - ) - - maybe( - http_archive, - name = "raze__scopeguard__1_1_0", - url = "https://crates.io/api/v1/crates/scopeguard/1.1.0/download", - type = "tar.gz", - sha256 = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd", - strip_prefix = "scopeguard-1.1.0", - build_file = Label("//third_party/rust/remote:BUILD.scopeguard-1.1.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__sct__0_6_1", - url = "https://crates.io/api/v1/crates/sct/0.6.1/download", - type = "tar.gz", - sha256 = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce", - strip_prefix = "sct-0.6.1", - build_file = Label("//third_party/rust/remote:BUILD.sct-0.6.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__sct__0_7_0", - url = "https://crates.io/api/v1/crates/sct/0.7.0/download", - type = "tar.gz", - sha256 = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4", - strip_prefix = "sct-0.7.0", - build_file = Label("//third_party/rust/remote:BUILD.sct-0.7.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__security_framework__2_3_1", - url = "https://crates.io/api/v1/crates/security-framework/2.3.1/download", - type = "tar.gz", - sha256 = "23a2ac85147a3a11d77ecf1bc7166ec0b92febfa4461c37944e180f319ece467", - strip_prefix = "security-framework-2.3.1", - build_file = Label("//third_party/rust/remote:BUILD.security-framework-2.3.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__security_framework_sys__2_6_1", - url = "https://crates.io/api/v1/crates/security-framework-sys/2.6.1/download", - type = "tar.gz", - sha256 = "0160a13a177a45bfb43ce71c01580998474f556ad854dcbca936dd2841a5c556", - strip_prefix = "security-framework-sys-2.6.1", - build_file = Label("//third_party/rust/remote:BUILD.security-framework-sys-2.6.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__serde__1_0_144", - url = "https://crates.io/api/v1/crates/serde/1.0.144/download", - type = "tar.gz", - sha256 = "0f747710de3dcd43b88c9168773254e809d8ddbdf9653b84e2554ab219f17860", - strip_prefix = "serde-1.0.144", - build_file = Label("//third_party/rust/remote:BUILD.serde-1.0.144.bazel"), - ) - - maybe( - http_archive, - name = "raze__serde_derive__1_0_144", - url = "https://crates.io/api/v1/crates/serde_derive/1.0.144/download", - type = "tar.gz", - sha256 = "94ed3a816fb1d101812f83e789f888322c34e291f894f19590dc310963e87a00", - strip_prefix = "serde_derive-1.0.144", - build_file = Label("//third_party/rust/remote:BUILD.serde_derive-1.0.144.bazel"), - ) - - maybe( - http_archive, - name = "raze__serde_json__1_0_61", - url = "https://crates.io/api/v1/crates/serde_json/1.0.61/download", - type = "tar.gz", - sha256 = "4fceb2595057b6891a4ee808f70054bd2d12f0e97f1cbb78689b59f676df325a", - strip_prefix = "serde_json-1.0.61", - build_file = Label("//third_party/rust/remote:BUILD.serde_json-1.0.61.bazel"), - ) - - maybe( - http_archive, - name = "raze__serde_urlencoded__0_7_0", - url = "https://crates.io/api/v1/crates/serde_urlencoded/0.7.0/download", - type = "tar.gz", - sha256 = "edfa57a7f8d9c1d260a549e7224100f6c43d43f9103e06dd8b4095a9b2b43ce9", - strip_prefix = "serde_urlencoded-0.7.0", - build_file = Label("//third_party/rust/remote:BUILD.serde_urlencoded-0.7.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__slab__0_4_2", - url = "https://crates.io/api/v1/crates/slab/0.4.2/download", - type = "tar.gz", - sha256 = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8", - strip_prefix = "slab-0.4.2", - build_file = Label("//third_party/rust/remote:BUILD.slab-0.4.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__smallvec__1_10_0", - url = "https://crates.io/api/v1/crates/smallvec/1.10.0/download", - type = "tar.gz", - sha256 = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0", - strip_prefix = "smallvec-1.10.0", - build_file = Label("//third_party/rust/remote:BUILD.smallvec-1.10.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__socket2__0_4_4", - url = "https://crates.io/api/v1/crates/socket2/0.4.4/download", - type = "tar.gz", - sha256 = "66d72b759436ae32898a2af0a14218dbf55efde3feeb170eb623637db85ee1e0", - strip_prefix = "socket2-0.4.4", - build_file = Label("//third_party/rust/remote:BUILD.socket2-0.4.4.bazel"), - ) - - maybe( - http_archive, - name = "raze__spin__0_5_2", - url = "https://crates.io/api/v1/crates/spin/0.5.2/download", - type = "tar.gz", - sha256 = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d", - strip_prefix = "spin-0.5.2", - build_file = Label("//third_party/rust/remote:BUILD.spin-0.5.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__strsim__0_10_0", - url = "https://crates.io/api/v1/crates/strsim/0.10.0/download", - type = "tar.gz", - sha256 = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623", - strip_prefix = "strsim-0.10.0", - build_file = Label("//third_party/rust/remote:BUILD.strsim-0.10.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__syn__1_0_99", - url = "https://crates.io/api/v1/crates/syn/1.0.99/download", - type = "tar.gz", - sha256 = "58dbef6ec655055e20b86b15a8cc6d439cca19b667537ac6a1369572d151ab13", - strip_prefix = "syn-1.0.99", - build_file = Label("//third_party/rust/remote:BUILD.syn-1.0.99.bazel"), - ) - - maybe( - http_archive, - name = "raze__tempfile__3_1_0", - url = "https://crates.io/api/v1/crates/tempfile/3.1.0/download", - type = "tar.gz", - sha256 = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9", - strip_prefix = "tempfile-3.1.0", - build_file = Label("//third_party/rust/remote:BUILD.tempfile-3.1.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__termcolor__1_1_0", - url = "https://crates.io/api/v1/crates/termcolor/1.1.0/download", - type = "tar.gz", - sha256 = "bb6bfa289a4d7c5766392812c0a1f4c1ba45afa1ad47803c11e1f407d846d75f", - strip_prefix = "termcolor-1.1.0", - build_file = Label("//third_party/rust/remote:BUILD.termcolor-1.1.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__textwrap__0_12_1", - url = "https://crates.io/api/v1/crates/textwrap/0.12.1/download", - type = "tar.gz", - sha256 = "203008d98caf094106cfaba70acfed15e18ed3ddb7d94e49baec153a2b462789", - strip_prefix = "textwrap-0.12.1", - build_file = Label("//third_party/rust/remote:BUILD.textwrap-0.12.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__thiserror__1_0_22", - url = "https://crates.io/api/v1/crates/thiserror/1.0.22/download", - type = "tar.gz", - sha256 = "0e9ae34b84616eedaaf1e9dd6026dbe00dcafa92aa0c8077cb69df1fcfe5e53e", - strip_prefix = "thiserror-1.0.22", - build_file = Label("//third_party/rust/remote:BUILD.thiserror-1.0.22.bazel"), - ) - - maybe( - http_archive, - name = "raze__thiserror_impl__1_0_22", - url = "https://crates.io/api/v1/crates/thiserror-impl/1.0.22/download", - type = "tar.gz", - sha256 = "9ba20f23e85b10754cd195504aebf6a27e2e6cbe28c17778a0c930724628dd56", - strip_prefix = "thiserror-impl-1.0.22", - build_file = Label("//third_party/rust/remote:BUILD.thiserror-impl-1.0.22.bazel"), - ) - - maybe( - http_archive, - name = "raze__time__0_3_14", - url = "https://crates.io/api/v1/crates/time/0.3.14/download", - type = "tar.gz", - sha256 = "3c3f9a28b618c3a6b9251b6908e9c99e04b9e5c02e6581ccbb67d59c34ef7f9b", - strip_prefix = "time-0.3.14", - build_file = Label("//third_party/rust/remote:BUILD.time-0.3.14.bazel"), - ) - - maybe( - http_archive, - name = "raze__tinyvec__1_1_1", - url = "https://crates.io/api/v1/crates/tinyvec/1.1.1/download", - type = "tar.gz", - sha256 = "317cca572a0e89c3ce0ca1f1bdc9369547fe318a683418e42ac8f59d14701023", - strip_prefix = "tinyvec-1.1.1", - build_file = Label("//third_party/rust/remote:BUILD.tinyvec-1.1.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__tinyvec_macros__0_1_0", - url = "https://crates.io/api/v1/crates/tinyvec_macros/0.1.0/download", - type = "tar.gz", - sha256 = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c", - strip_prefix = "tinyvec_macros-0.1.0", - build_file = Label("//third_party/rust/remote:BUILD.tinyvec_macros-0.1.0.bazel"), - ) - - maybe( - http_archive, - 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 = "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( - http_archive, - name = "raze__tokio_macros__1_8_0", - url = "https://crates.io/api/v1/crates/tokio-macros/1.8.0/download", - type = "tar.gz", - sha256 = "9724f9a975fb987ef7a3cd9be0350edcbe130698af5b8f7a631e23d42d052484", - strip_prefix = "tokio-macros-1.8.0", - build_file = Label("//third_party/rust/remote:BUILD.tokio-macros-1.8.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__tokio_rustls__0_22_0", - url = "https://crates.io/api/v1/crates/tokio-rustls/0.22.0/download", - type = "tar.gz", - sha256 = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6", - strip_prefix = "tokio-rustls-0.22.0", - build_file = Label("//third_party/rust/remote:BUILD.tokio-rustls-0.22.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__tokio_rustls__0_23_4", - url = "https://crates.io/api/v1/crates/tokio-rustls/0.23.4/download", - type = "tar.gz", - sha256 = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59", - strip_prefix = "tokio-rustls-0.23.4", - build_file = Label("//third_party/rust/remote:BUILD.tokio-rustls-0.23.4.bazel"), - ) - - maybe( - http_archive, - name = "raze__tokio_stream__0_1_2", - url = "https://crates.io/api/v1/crates/tokio-stream/0.1.2/download", - type = "tar.gz", - sha256 = "76066865172052eb8796c686f0b441a93df8b08d40a950b062ffb9a426f00edd", - strip_prefix = "tokio-stream-0.1.2", - build_file = Label("//third_party/rust/remote:BUILD.tokio-stream-0.1.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__tokio_util__0_6_6", - url = "https://crates.io/api/v1/crates/tokio-util/0.6.6/download", - type = "tar.gz", - sha256 = "940a12c99365c31ea8dd9ba04ec1be183ffe4920102bb7122c2f515437601e8e", - strip_prefix = "tokio-util-0.6.6", - build_file = Label("//third_party/rust/remote:BUILD.tokio-util-0.6.6.bazel"), - ) - - maybe( - http_archive, - name = "raze__tokio_util__0_7_3", - url = "https://crates.io/api/v1/crates/tokio-util/0.7.3/download", - type = "tar.gz", - 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__0_6_2", - url = "https://crates.io/api/v1/crates/tonic/0.6.2/download", - type = "tar.gz", - 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_build__0_6_2", - url = "https://crates.io/api/v1/crates/tonic-build/0.6.2/download", - type = "tar.gz", - 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__tonic_reflection__0_3_0", - url = "https://crates.io/api/v1/crates/tonic-reflection/0.3.0/download", - type = "tar.gz", - 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( - http_archive, - name = "raze__tower_layer__0_3_1", - url = "https://crates.io/api/v1/crates/tower-layer/0.3.1/download", - type = "tar.gz", - sha256 = "343bc9466d3fe6b0f960ef45960509f84480bf4fd96f92901afe7ff3df9d3a62", - strip_prefix = "tower-layer-0.3.1", - build_file = Label("//third_party/rust/remote:BUILD.tower-layer-0.3.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__tower_service__0_3_0", - url = "https://crates.io/api/v1/crates/tower-service/0.3.0/download", - type = "tar.gz", - sha256 = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860", - strip_prefix = "tower-service-0.3.0", - build_file = Label("//third_party/rust/remote:BUILD.tower-service-0.3.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__tracing__0_1_34", - url = "https://crates.io/api/v1/crates/tracing/0.1.34/download", - type = "tar.gz", - 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_21", - url = "https://crates.io/api/v1/crates/tracing-attributes/0.1.21/download", - type = "tar.gz", - 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_26", - url = "https://crates.io/api/v1/crates/tracing-core/0.1.26/download", - type = "tar.gz", - sha256 = "f54c8ca710e81886d498c2fd3331b56c93aa248d49de2222ad2742247c60072f", - strip_prefix = "tracing-core-0.1.26", - build_file = Label("//third_party/rust/remote:BUILD.tracing-core-0.1.26.bazel"), - ) - - maybe( - http_archive, - name = "raze__tracing_futures__0_2_5", - url = "https://crates.io/api/v1/crates/tracing-futures/0.2.5/download", - type = "tar.gz", - sha256 = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2", - strip_prefix = "tracing-futures-0.2.5", - build_file = Label("//third_party/rust/remote:BUILD.tracing-futures-0.2.5.bazel"), - ) - - maybe( - http_archive, - name = "raze__try_lock__0_2_3", - url = "https://crates.io/api/v1/crates/try-lock/0.2.3/download", - type = "tar.gz", - sha256 = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642", - strip_prefix = "try-lock-0.2.3", - build_file = Label("//third_party/rust/remote:BUILD.try-lock-0.2.3.bazel"), - ) - - maybe( - http_archive, - name = "raze__unicode_bidi__0_3_4", - url = "https://crates.io/api/v1/crates/unicode-bidi/0.3.4/download", - type = "tar.gz", - sha256 = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5", - strip_prefix = "unicode-bidi-0.3.4", - build_file = Label("//third_party/rust/remote:BUILD.unicode-bidi-0.3.4.bazel"), - ) - - maybe( - http_archive, - name = "raze__unicode_ident__1_0_3", - url = "https://crates.io/api/v1/crates/unicode-ident/1.0.3/download", - type = "tar.gz", - sha256 = "c4f5b37a154999a8f3f98cc23a628d850e154479cd94decf3414696e12e31aaf", - strip_prefix = "unicode-ident-1.0.3", - build_file = Label("//third_party/rust/remote:BUILD.unicode-ident-1.0.3.bazel"), - ) - - maybe( - http_archive, - name = "raze__unicode_normalization__0_1_16", - url = "https://crates.io/api/v1/crates/unicode-normalization/0.1.16/download", - type = "tar.gz", - sha256 = "a13e63ab62dbe32aeee58d1c5408d35c36c392bba5d9d3142287219721afe606", - strip_prefix = "unicode-normalization-0.1.16", - build_file = Label("//third_party/rust/remote:BUILD.unicode-normalization-0.1.16.bazel"), - ) - - maybe( - http_archive, - name = "raze__unicode_segmentation__1_6_0", - url = "https://crates.io/api/v1/crates/unicode-segmentation/1.6.0/download", - type = "tar.gz", - sha256 = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0", - strip_prefix = "unicode-segmentation-1.6.0", - build_file = Label("//third_party/rust/remote:BUILD.unicode-segmentation-1.6.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__unicode_width__0_1_8", - url = "https://crates.io/api/v1/crates/unicode-width/0.1.8/download", - type = "tar.gz", - sha256 = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3", - strip_prefix = "unicode-width-0.1.8", - build_file = Label("//third_party/rust/remote:BUILD.unicode-width-0.1.8.bazel"), - ) - - maybe( - http_archive, - name = "raze__untrusted__0_7_1", - url = "https://crates.io/api/v1/crates/untrusted/0.7.1/download", - type = "tar.gz", - sha256 = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a", - strip_prefix = "untrusted-0.7.1", - build_file = Label("//third_party/rust/remote:BUILD.untrusted-0.7.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__url__2_2_0", - url = "https://crates.io/api/v1/crates/url/2.2.0/download", - type = "tar.gz", - sha256 = "5909f2b0817350449ed73e8bcd81c8c3c8d9a7a5d8acba4b27db277f1868976e", - strip_prefix = "url-2.2.0", - build_file = Label("//third_party/rust/remote:BUILD.url-2.2.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__vec_map__0_8_2", - url = "https://crates.io/api/v1/crates/vec_map/0.8.2/download", - type = "tar.gz", - sha256 = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191", - strip_prefix = "vec_map-0.8.2", - build_file = Label("//third_party/rust/remote:BUILD.vec_map-0.8.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__version_check__0_9_2", - url = "https://crates.io/api/v1/crates/version_check/0.9.2/download", - type = "tar.gz", - sha256 = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed", - strip_prefix = "version_check-0.9.2", - build_file = Label("//third_party/rust/remote:BUILD.version_check-0.9.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__walkdir__2_3_1", - url = "https://crates.io/api/v1/crates/walkdir/2.3.1/download", - type = "tar.gz", - sha256 = "777182bc735b6424e1a57516d35ed72cb8019d85c8c9bf536dccb3445c1a2f7d", - strip_prefix = "walkdir-2.3.1", - build_file = Label("//third_party/rust/remote:BUILD.walkdir-2.3.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__want__0_3_0", - url = "https://crates.io/api/v1/crates/want/0.3.0/download", - type = "tar.gz", - sha256 = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0", - strip_prefix = "want-0.3.0", - build_file = Label("//third_party/rust/remote:BUILD.want-0.3.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__wasi__0_10_1_wasi_snapshot_preview1", - url = "https://crates.io/api/v1/crates/wasi/0.10.1+wasi-snapshot-preview1/download", - type = "tar.gz", - sha256 = "93c6c3420963c5c64bca373b25e77acb562081b9bb4dd5bb864187742186cea9", - strip_prefix = "wasi-0.10.1+wasi-snapshot-preview1", - 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", - url = "https://crates.io/api/v1/crates/wasi/0.9.0+wasi-snapshot-preview1/download", - type = "tar.gz", - sha256 = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519", - strip_prefix = "wasi-0.9.0+wasi-snapshot-preview1", - build_file = Label("//third_party/rust/remote:BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel"), - ) - - maybe( - http_archive, - name = "raze__wasm_bindgen__0_2_70", - url = "https://crates.io/api/v1/crates/wasm-bindgen/0.2.70/download", - type = "tar.gz", - sha256 = "55c0f7123de74f0dab9b7d00fd614e7b19349cd1e2f5252bbe9b1754b59433be", - strip_prefix = "wasm-bindgen-0.2.70", - build_file = Label("//third_party/rust/remote:BUILD.wasm-bindgen-0.2.70.bazel"), - ) - - maybe( - http_archive, - name = "raze__wasm_bindgen_backend__0_2_70", - url = "https://crates.io/api/v1/crates/wasm-bindgen-backend/0.2.70/download", - type = "tar.gz", - sha256 = "7bc45447f0d4573f3d65720f636bbcc3dd6ce920ed704670118650bcd47764c7", - strip_prefix = "wasm-bindgen-backend-0.2.70", - build_file = Label("//third_party/rust/remote:BUILD.wasm-bindgen-backend-0.2.70.bazel"), - ) - - maybe( - http_archive, - name = "raze__wasm_bindgen_futures__0_4_20", - url = "https://crates.io/api/v1/crates/wasm-bindgen-futures/0.4.20/download", - type = "tar.gz", - sha256 = "3de431a2910c86679c34283a33f66f4e4abd7e0aec27b6669060148872aadf94", - strip_prefix = "wasm-bindgen-futures-0.4.20", - build_file = Label("//third_party/rust/remote:BUILD.wasm-bindgen-futures-0.4.20.bazel"), - ) - - maybe( - http_archive, - name = "raze__wasm_bindgen_macro__0_2_70", - url = "https://crates.io/api/v1/crates/wasm-bindgen-macro/0.2.70/download", - type = "tar.gz", - sha256 = "3b8853882eef39593ad4174dd26fc9865a64e84026d223f63bb2c42affcbba2c", - strip_prefix = "wasm-bindgen-macro-0.2.70", - build_file = Label("//third_party/rust/remote:BUILD.wasm-bindgen-macro-0.2.70.bazel"), - ) - - maybe( - http_archive, - name = "raze__wasm_bindgen_macro_support__0_2_70", - url = "https://crates.io/api/v1/crates/wasm-bindgen-macro-support/0.2.70/download", - type = "tar.gz", - sha256 = "4133b5e7f2a531fa413b3a1695e925038a05a71cf67e87dafa295cb645a01385", - strip_prefix = "wasm-bindgen-macro-support-0.2.70", - build_file = Label("//third_party/rust/remote:BUILD.wasm-bindgen-macro-support-0.2.70.bazel"), - ) - - maybe( - http_archive, - name = "raze__wasm_bindgen_shared__0_2_70", - url = "https://crates.io/api/v1/crates/wasm-bindgen-shared/0.2.70/download", - type = "tar.gz", - sha256 = "dd4945e4943ae02d15c13962b38a5b1e81eadd4b71214eee75af64a4d6a4fd64", - strip_prefix = "wasm-bindgen-shared-0.2.70", - build_file = Label("//third_party/rust/remote:BUILD.wasm-bindgen-shared-0.2.70.bazel"), - ) - - maybe( - http_archive, - name = "raze__web_sys__0_3_47", - url = "https://crates.io/api/v1/crates/web-sys/0.3.47/download", - type = "tar.gz", - sha256 = "c40dc691fc48003eba817c38da7113c15698142da971298003cac3ef175680b3", - strip_prefix = "web-sys-0.3.47", - build_file = Label("//third_party/rust/remote:BUILD.web-sys-0.3.47.bazel"), - ) - - maybe( - http_archive, - name = "raze__webpki__0_21_4", - url = "https://crates.io/api/v1/crates/webpki/0.21.4/download", - type = "tar.gz", - sha256 = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea", - strip_prefix = "webpki-0.21.4", - build_file = Label("//third_party/rust/remote:BUILD.webpki-0.21.4.bazel"), - ) - - maybe( - http_archive, - name = "raze__webpki__0_22_0", - url = "https://crates.io/api/v1/crates/webpki/0.22.0/download", - type = "tar.gz", - sha256 = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd", - strip_prefix = "webpki-0.22.0", - build_file = Label("//third_party/rust/remote:BUILD.webpki-0.22.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__webpki_roots__0_21_1", - url = "https://crates.io/api/v1/crates/webpki-roots/0.21.1/download", - type = "tar.gz", - sha256 = "aabe153544e473b775453675851ecc86863d2a81d786d741f6b76778f2a48940", - strip_prefix = "webpki-roots-0.21.1", - build_file = Label("//third_party/rust/remote:BUILD.webpki-roots-0.21.1.bazel"), - ) - - maybe( - http_archive, - name = "raze__which__4_3_0", - url = "https://crates.io/api/v1/crates/which/4.3.0/download", - type = "tar.gz", - sha256 = "1c831fbbee9e129a8cf93e7747a82da9d95ba8e16621cae60ec2cdc849bacb7b", - strip_prefix = "which-4.3.0", - build_file = Label("//third_party/rust/remote:BUILD.which-4.3.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__winapi__0_3_9", - url = "https://crates.io/api/v1/crates/winapi/0.3.9/download", - type = "tar.gz", - sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419", - strip_prefix = "winapi-0.3.9", - build_file = Label("//third_party/rust/remote:BUILD.winapi-0.3.9.bazel"), - ) - - maybe( - http_archive, - name = "raze__winapi_i686_pc_windows_gnu__0_4_0", - url = "https://crates.io/api/v1/crates/winapi-i686-pc-windows-gnu/0.4.0/download", - type = "tar.gz", - sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6", - strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0", - build_file = Label("//third_party/rust/remote:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__winapi_util__0_1_5", - url = "https://crates.io/api/v1/crates/winapi-util/0.1.5/download", - type = "tar.gz", - sha256 = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178", - strip_prefix = "winapi-util-0.1.5", - build_file = Label("//third_party/rust/remote:BUILD.winapi-util-0.1.5.bazel"), - ) - - maybe( - http_archive, - name = "raze__winapi_x86_64_pc_windows_gnu__0_4_0", - url = "https://crates.io/api/v1/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download", - type = "tar.gz", - sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f", - strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0", - 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", - url = "https://crates.io/api/v1/crates/winreg/0.7.0/download", - type = "tar.gz", - sha256 = "0120db82e8a1e0b9fb3345a539c478767c0048d842860994d96113d5b667bd69", - strip_prefix = "winreg-0.7.0", - build_file = Label("//third_party/rust/remote:BUILD.winreg-0.7.0.bazel"), - ) diff --git a/third_party/rust/remote/BUILD.aho-corasick-0.7.18.bazel b/third_party/rust/remote/BUILD.aho-corasick-0.7.18.bazel deleted file mode 100644 index 7df0b0df601..00000000000 --- a/third_party/rust/remote/BUILD.aho-corasick-0.7.18.bazel +++ /dev/null @@ -1,57 +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([ - "unencumbered", # Unlicense from expression "Unlicense OR MIT" -]) - -# Generated Targets - -rust_library( - name = "aho_corasick", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=aho_corasick", - "manual", - ], - version = "0.7.18", - # buildifier: leave-alone - deps = [ - "@raze__memchr__2_5_0//:memchr", - ], -) diff --git a/third_party/rust/remote/BUILD.anyhow-1.0.34.bazel b/third_party/rust/remote/BUILD.anyhow-1.0.34.bazel deleted file mode 100644 index f132b75f1eb..00000000000 --- a/third_party/rust/remote/BUILD.anyhow-1.0.34.bazel +++ /dev/null @@ -1,82 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "anyhow", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=anyhow", - "manual", - ], - version = "1.0.34", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "compiletest" with type "test" omitted - -# Unsupported target "test_autotrait" with type "test" omitted - -# Unsupported target "test_backtrace" with type "test" omitted - -# Unsupported target "test_boxed" with type "test" omitted - -# Unsupported target "test_chain" with type "test" omitted - -# Unsupported target "test_context" with type "test" omitted - -# Unsupported target "test_convert" with type "test" omitted - -# Unsupported target "test_downcast" with type "test" omitted - -# Unsupported target "test_fmt" with type "test" omitted - -# Unsupported target "test_macros" with type "test" omitted - -# Unsupported target "test_repr" with type "test" omitted - -# Unsupported target "test_source" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.async-stream-0.3.0.bazel b/third_party/rust/remote/BUILD.async-stream-0.3.0.bazel deleted file mode 100644 index c604894e232..00000000000 --- a/third_party/rust/remote/BUILD.async-stream-0.3.0.bazel +++ /dev/null @@ -1,64 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -# Unsupported target "tcp_accept" with type "example" omitted - -rust_library( - name = "async_stream", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - proc_macro_deps = [ - "@raze__async_stream_impl__0_3_0//:async_stream_impl", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=async-stream", - "manual", - ], - version = "0.3.0", - # buildifier: leave-alone - deps = [ - "@raze__futures_core__0_3_12//:futures_core", - ], -) - -# Unsupported target "for_await" with type "test" omitted - -# Unsupported target "stream" with type "test" omitted - -# Unsupported target "try_stream" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.async-stream-impl-0.3.0.bazel b/third_party/rust/remote/BUILD.async-stream-impl-0.3.0.bazel deleted file mode 100644 index 381b9000f59..00000000000 --- a/third_party/rust/remote/BUILD.async-stream-impl-0.3.0.bazel +++ /dev/null @@ -1,55 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_proc_macro( - name = "async_stream_impl", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=async-stream-impl", - "manual", - ], - version = "0.3.0", - # buildifier: leave-alone - deps = [ - "@raze__proc_macro2__1_0_43//:proc_macro2", - "@raze__quote__1_0_7//:quote", - "@raze__syn__1_0_99//:syn", - ], -) diff --git a/third_party/rust/remote/BUILD.async-trait-0.1.41.bazel b/third_party/rust/remote/BUILD.async-trait-0.1.41.bazel deleted file mode 100644 index 546f052aaf1..00000000000 --- a/third_party/rust/remote/BUILD.async-trait-0.1.41.bazel +++ /dev/null @@ -1,59 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_proc_macro( - name = "async_trait", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=async-trait", - "manual", - ], - version = "0.1.41", - # buildifier: leave-alone - deps = [ - "@raze__proc_macro2__1_0_43//:proc_macro2", - "@raze__quote__1_0_7//:quote", - "@raze__syn__1_0_99//:syn", - ], -) - -# Unsupported target "compiletest" with type "test" omitted - -# Unsupported target "test" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.atty-0.2.14.bazel b/third_party/rust/remote/BUILD.atty-0.2.14.bazel deleted file mode 100644 index 90b79017b97..00000000000 --- a/third_party/rust/remote/BUILD.atty-0.2.14.bazel +++ /dev/null @@ -1,71 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -# Unsupported target "atty" with type "example" omitted - -rust_library( - name = "atty", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=atty", - "manual", - ], - version = "0.2.14", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__libc__0_2_126//:libc", - ], - "//conditions:default": [], - }) + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@raze__winapi__0_3_9//:winapi", - ], - "//conditions:default": [], - }), -) diff --git a/third_party/rust/remote/BUILD.autocfg-1.0.1.bazel b/third_party/rust/remote/BUILD.autocfg-1.0.1.bazel deleted file mode 100644 index b387ed518ac..00000000000 --- a/third_party/rust/remote/BUILD.autocfg-1.0.1.bazel +++ /dev/null @@ -1,62 +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 "integers" with type "example" omitted - -# Unsupported target "paths" with type "example" omitted - -# Unsupported target "traits" with type "example" omitted - -# Unsupported target "versions" with type "example" omitted - -rust_library( - name = "autocfg", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=autocfg", - "manual", - ], - version = "1.0.1", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "rustflags" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.base64-0.13.0.bazel b/third_party/rust/remote/BUILD.base64-0.13.0.bazel deleted file mode 100644 index f0cd0f1c03d..00000000000 --- a/third_party/rust/remote/BUILD.base64-0.13.0.bazel +++ /dev/null @@ -1,70 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "benchmarks" with type "bench" omitted - -# Unsupported target "base64" with type "example" omitted - -# Unsupported target "make_tables" with type "example" omitted - -rust_library( - name = "base64", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=base64", - "manual", - ], - version = "0.13.0", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "decode" with type "test" omitted - -# Unsupported target "encode" with type "test" omitted - -# Unsupported target "helpers" with type "test" omitted - -# Unsupported target "tests" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.bazel b/third_party/rust/remote/BUILD.bazel deleted file mode 100644 index b49fb68667f..00000000000 --- a/third_party/rust/remote/BUILD.bazel +++ /dev/null @@ -1,17 +0,0 @@ -# Export file for Stardoc support -exports_files( - glob([ - "**/*.bazel", - "**/*.bzl", - ]), - visibility = ["//visibility:public"], -) - -filegroup( - name = "srcs", - srcs = glob([ - "**/*.bazel", - "**/*.bzl", - ]), - visibility = ["//visibility:public"], -) diff --git a/third_party/rust/remote/BUILD.bitflags-1.2.1.bazel b/third_party/rust/remote/BUILD.bitflags-1.2.1.bazel deleted file mode 100644 index d49c9a174d7..00000000000 --- a/third_party/rust/remote/BUILD.bitflags-1.2.1.bazel +++ /dev/null @@ -1,57 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "bitflags", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=bitflags", - "manual", - ], - version = "1.2.1", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.build_const-0.2.1.bazel b/third_party/rust/remote/BUILD.build_const-0.2.1.bazel deleted file mode 100644 index 8f393b73a6b..00000000000 --- a/third_party/rust/remote/BUILD.build_const-0.2.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", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_library( - name = "build_const", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=build_const", - "manual", - ], - version = "0.2.1", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.bumpalo-3.12.0.bazel b/third_party/rust/remote/BUILD.bumpalo-3.12.0.bazel deleted file mode 100644 index 86667d770da..00000000000 --- a/third_party/rust/remote/BUILD.bumpalo-3.12.0.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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "benches" with type "bench" omitted - -rust_library( - name = "bumpalo", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=bumpalo", - "manual", - ], - version = "3.12.0", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "try_alloc" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.byteorder-1.3.4.bazel b/third_party/rust/remote/BUILD.byteorder-1.3.4.bazel deleted file mode 100644 index 4a6c8f86a51..00000000000 --- a/third_party/rust/remote/BUILD.byteorder-1.3.4.bazel +++ /dev/null @@ -1,60 +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([ - "unencumbered", # Unlicense from expression "Unlicense OR MIT" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "byteorder", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=byteorder", - "manual", - ], - version = "1.3.4", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.bytes-0.5.6.bazel b/third_party/rust/remote/BUILD.bytes-0.5.6.bazel deleted file mode 100644 index 2e73abb99f9..00000000000 --- a/third_party/rust/remote/BUILD.bytes-0.5.6.bazel +++ /dev/null @@ -1,84 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -# Unsupported target "buf" with type "bench" omitted - -# Unsupported target "bytes" with type "bench" omitted - -# Unsupported target "bytes_mut" with type "bench" omitted - -rust_library( - name = "bytes", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=bytes", - "manual", - ], - version = "0.5.6", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "test_buf" with type "test" omitted - -# Unsupported target "test_buf_mut" with type "test" omitted - -# Unsupported target "test_bytes" with type "test" omitted - -# Unsupported target "test_bytes_odd_alloc" with type "test" omitted - -# Unsupported target "test_bytes_vec_alloc" with type "test" omitted - -# Unsupported target "test_chain" with type "test" omitted - -# Unsupported target "test_debug" with type "test" omitted - -# Unsupported target "test_iter" with type "test" omitted - -# Unsupported target "test_reader" with type "test" omitted - -# Unsupported target "test_serde" with type "test" omitted - -# Unsupported target "test_take" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.bytes-1.0.1.bazel b/third_party/rust/remote/BUILD.bytes-1.0.1.bazel deleted file mode 100644 index 55567bcc008..00000000000 --- a/third_party/rust/remote/BUILD.bytes-1.0.1.bazel +++ /dev/null @@ -1,84 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -# Unsupported target "buf" with type "bench" omitted - -# Unsupported target "bytes" with type "bench" omitted - -# Unsupported target "bytes_mut" with type "bench" omitted - -rust_library( - name = "bytes", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=bytes", - "manual", - ], - version = "1.0.1", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "test_buf" with type "test" omitted - -# Unsupported target "test_buf_mut" with type "test" omitted - -# Unsupported target "test_bytes" with type "test" omitted - -# Unsupported target "test_bytes_odd_alloc" with type "test" omitted - -# Unsupported target "test_bytes_vec_alloc" with type "test" omitted - -# Unsupported target "test_chain" with type "test" omitted - -# Unsupported target "test_debug" with type "test" omitted - -# Unsupported target "test_iter" with type "test" omitted - -# Unsupported target "test_reader" with type "test" omitted - -# Unsupported target "test_serde" with type "test" omitted - -# Unsupported target "test_take" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.cc-1.0.66.bazel b/third_party/rust/remote/BUILD.cc-1.0.66.bazel deleted file mode 100644 index e791dc4b436..00000000000 --- a/third_party/rust/remote/BUILD.cc-1.0.66.bazel +++ /dev/null @@ -1,83 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_binary( - # Prefix bin name to disambiguate from (probable) collision with lib name - # N.B.: The exact form of this is subject to change. - name = "cargo_bin_gcc_shim", - srcs = glob(["**/*.rs"]), - crate_root = "src/bin/gcc-shim.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=gcc-shim", - "manual", - ], - version = "1.0.66", - # buildifier: leave-alone - deps = [ - ":cc", - ], -) - -rust_library( - name = "cc", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=cc", - "manual", - ], - version = "1.0.66", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "cc_env" with type "test" omitted - -# Unsupported target "cflags" with type "test" omitted - -# Unsupported target "cxxflags" with type "test" omitted - -# Unsupported target "test" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.cfg-if-0.1.10.bazel b/third_party/rust/remote/BUILD.cfg-if-0.1.10.bazel deleted file mode 100644 index aa273b31b74..00000000000 --- a/third_party/rust/remote/BUILD.cfg-if-0.1.10.bazel +++ /dev/null @@ -1,54 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "cfg_if", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=cfg-if", - "manual", - ], - version = "0.1.10", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "xcrate" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.cfg-if-1.0.0.bazel b/third_party/rust/remote/BUILD.cfg-if-1.0.0.bazel deleted file mode 100644 index c42870c64d6..00000000000 --- a/third_party/rust/remote/BUILD.cfg-if-1.0.0.bazel +++ /dev/null @@ -1,54 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "cfg_if", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=cfg-if", - "manual", - ], - version = "1.0.0", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "xcrate" with type "test" omitted 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 deleted file mode 100644 index c7139efdefe..00000000000 --- a/third_party/rust/remote/BUILD.clap-3.0.0-beta.2.bazel +++ /dev/null @@ -1,90 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "01_default" with type "bench" omitted - -# Unsupported target "02_simple" with type "bench" omitted - -# Unsupported target "03_complex" with type "bench" omitted - -# Unsupported target "04_new_help" with type "bench" omitted - -# Unsupported target "05_ripgrep" with type "bench" omitted - -# Unsupported target "06_rustup" with type "bench" omitted - -rust_library( - name = "clap", - srcs = glob(["**/*.rs"]), - crate_features = [ - "atty", - "cargo", - "clap_derive", - "color", - "default", - "derive", - "lazy_static", - "std", - "strsim", - "suggestions", - "termcolor", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - proc_macro_deps = [ - "@raze__clap_derive__3_0_0_beta_2//:clap_derive", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=clap", - "manual", - ], - version = "3.0.0-beta.2", - # buildifier: leave-alone - deps = [ - "@raze__atty__0_2_14//:atty", - "@raze__bitflags__1_2_1//:bitflags", - "@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", - "@raze__termcolor__1_1_0//:termcolor", - "@raze__textwrap__0_12_1//:textwrap", - "@raze__unicode_width__0_1_8//:unicode_width", - "@raze__vec_map__0_8_2//:vec_map", - ], -) diff --git a/third_party/rust/remote/BUILD.clap_derive-3.0.0-beta.2.bazel b/third_party/rust/remote/BUILD.clap_derive-3.0.0-beta.2.bazel deleted file mode 100644 index bd5444bfc31..00000000000 --- a/third_party/rust/remote/BUILD.clap_derive-3.0.0-beta.2.bazel +++ /dev/null @@ -1,60 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_proc_macro( - name = "clap_derive", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=clap_derive", - "manual", - ], - version = "3.0.0-beta.2", - # buildifier: leave-alone - deps = [ - "@raze__heck__0_3_1//:heck", - "@raze__proc_macro2__1_0_43//:proc_macro2", - "@raze__proc_macro_error__1_0_4//:proc_macro_error", - "@raze__quote__1_0_7//:quote", - "@raze__syn__1_0_99//:syn", - ], -) diff --git a/third_party/rust/remote/BUILD.const_fn-0.4.5.bazel b/third_party/rust/remote/BUILD.const_fn-0.4.5.bazel deleted file mode 100644 index 95abbc6c7a7..00000000000 --- a/third_party/rust/remote/BUILD.const_fn-0.4.5.bazel +++ /dev/null @@ -1,54 +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 "build-script-build" with type "custom-build" omitted - -rust_proc_macro( - name = "const_fn", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=const_fn", - "manual", - ], - version = "0.4.5", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.core-foundation-0.9.3.bazel b/third_party/rust/remote/BUILD.core-foundation-0.9.3.bazel deleted file mode 100644 index f36ea86c21f..00000000000 --- a/third_party/rust/remote/BUILD.core-foundation-0.9.3.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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "core_foundation", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=core-foundation", - "manual", - ], - version = "0.9.3", - # buildifier: leave-alone - deps = [ - "@raze__core_foundation_sys__0_8_3//:core_foundation_sys", - "@raze__libc__0_2_126//:libc", - ], -) - -# Unsupported target "use_macro_outside_crate" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.core-foundation-sys-0.8.3.bazel b/third_party/rust/remote/BUILD.core-foundation-sys-0.8.3.bazel deleted file mode 100644 index aa4ad48823a..00000000000 --- a/third_party/rust/remote/BUILD.core-foundation-sys-0.8.3.bazel +++ /dev/null @@ -1,54 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "core_foundation_sys", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=core-foundation-sys", - "manual", - ], - version = "0.8.3", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.crc-1.8.1.bazel b/third_party/rust/remote/BUILD.crc-1.8.1.bazel deleted file mode 100644 index f580dd9dd46..00000000000 --- a/third_party/rust/remote/BUILD.crc-1.8.1.bazel +++ /dev/null @@ -1,95 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "crc_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - "std", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.8.1", - visibility = ["//visibility:private"], - deps = [ - "@raze__build_const__0_2_1//:build_const", - ], -) - -# Unsupported target "bench" with type "bench" omitted - -rust_library( - name = "crc", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=crc", - "manual", - ], - version = "1.8.1", - # buildifier: leave-alone - deps = [ - ":crc_build_script", - ], -) - -# Unsupported target "crc" with type "test" omitted - -# Unsupported target "hash" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.crossbeam-0.8.0.bazel b/third_party/rust/remote/BUILD.crossbeam-0.8.0.bazel deleted file mode 100644 index 35f887d7ec7..00000000000 --- a/third_party/rust/remote/BUILD.crossbeam-0.8.0.bazel +++ /dev/null @@ -1,69 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "crossbeam", - srcs = glob(["**/*.rs"]), - crate_features = [ - "alloc", - "crossbeam-channel", - "crossbeam-deque", - "crossbeam-epoch", - "crossbeam-queue", - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=crossbeam", - "manual", - ], - version = "0.8.0", - # buildifier: leave-alone - deps = [ - "@raze__cfg_if__1_0_0//:cfg_if", - "@raze__crossbeam_channel__0_5_0//:crossbeam_channel", - "@raze__crossbeam_deque__0_8_1//:crossbeam_deque", - "@raze__crossbeam_epoch__0_9_1//:crossbeam_epoch", - "@raze__crossbeam_queue__0_3_1//:crossbeam_queue", - "@raze__crossbeam_utils__0_8_8//:crossbeam_utils", - ], -) - -# Unsupported target "subcrates" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.crossbeam-channel-0.5.0.bazel b/third_party/rust/remote/BUILD.crossbeam-channel-0.5.0.bazel deleted file mode 100644 index d0679fbd0b3..00000000000 --- a/third_party/rust/remote/BUILD.crossbeam-channel-0.5.0.bazel +++ /dev/null @@ -1,95 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "crossbeam" with type "bench" omitted - -# Unsupported target "fibonacci" with type "example" omitted - -# Unsupported target "matching" with type "example" omitted - -# Unsupported target "stopwatch" with type "example" omitted - -rust_library( - name = "crossbeam_channel", - srcs = glob(["**/*.rs"]), - crate_features = [ - "crossbeam-utils", - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=crossbeam-channel", - "manual", - ], - version = "0.5.0", - # buildifier: leave-alone - deps = [ - "@raze__cfg_if__1_0_0//:cfg_if", - "@raze__crossbeam_utils__0_8_8//:crossbeam_utils", - ], -) - -# Unsupported target "after" with type "test" omitted - -# Unsupported target "array" with type "test" omitted - -# Unsupported target "golang" with type "test" omitted - -# Unsupported target "iter" with type "test" omitted - -# Unsupported target "list" with type "test" omitted - -# Unsupported target "mpsc" with type "test" omitted - -# Unsupported target "never" with type "test" omitted - -# Unsupported target "ready" with type "test" omitted - -# Unsupported target "same_channel" with type "test" omitted - -# Unsupported target "select" with type "test" omitted - -# Unsupported target "select_macro" with type "test" omitted - -# Unsupported target "thread_locals" with type "test" omitted - -# Unsupported target "tick" with type "test" omitted - -# Unsupported target "zero" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.crossbeam-deque-0.8.1.bazel b/third_party/rust/remote/BUILD.crossbeam-deque-0.8.1.bazel deleted file mode 100644 index e907271e17e..00000000000 --- a/third_party/rust/remote/BUILD.crossbeam-deque-0.8.1.bazel +++ /dev/null @@ -1,69 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "crossbeam_deque", - srcs = glob(["**/*.rs"]), - crate_features = [ - "crossbeam-epoch", - "crossbeam-utils", - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=crossbeam-deque", - "manual", - ], - version = "0.8.1", - # buildifier: leave-alone - deps = [ - "@raze__cfg_if__1_0_0//:cfg_if", - "@raze__crossbeam_epoch__0_9_1//:crossbeam_epoch", - "@raze__crossbeam_utils__0_8_8//:crossbeam_utils", - ], -) - -# Unsupported target "fifo" with type "test" omitted - -# Unsupported target "injector" with type "test" omitted - -# Unsupported target "lifo" with type "test" omitted - -# Unsupported target "steal" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.crossbeam-epoch-0.9.1.bazel b/third_party/rust/remote/BUILD.crossbeam-epoch-0.9.1.bazel deleted file mode 100644 index f828e25380e..00000000000 --- a/third_party/rust/remote/BUILD.crossbeam-epoch-0.9.1.bazel +++ /dev/null @@ -1,75 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "defer" with type "bench" omitted - -# Unsupported target "flush" with type "bench" omitted - -# Unsupported target "pin" with type "bench" omitted - -# Unsupported target "sanitize" with type "example" omitted - -# Unsupported target "treiber_stack" with type "example" omitted - -rust_library( - name = "crossbeam_epoch", - srcs = glob(["**/*.rs"]), - crate_features = [ - "alloc", - "lazy_static", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - proc_macro_deps = [ - "@raze__const_fn__0_4_5//:const_fn", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=crossbeam-epoch", - "manual", - ], - version = "0.9.1", - # buildifier: leave-alone - deps = [ - "@raze__cfg_if__1_0_0//:cfg_if", - "@raze__crossbeam_utils__0_8_8//:crossbeam_utils", - "@raze__lazy_static__1_4_0//:lazy_static", - "@raze__memoffset__0_6_5//:memoffset", - "@raze__scopeguard__1_1_0//:scopeguard", - ], -) diff --git a/third_party/rust/remote/BUILD.crossbeam-queue-0.3.1.bazel b/third_party/rust/remote/BUILD.crossbeam-queue-0.3.1.bazel deleted file mode 100644 index 274f1340d42..00000000000 --- a/third_party/rust/remote/BUILD.crossbeam-queue-0.3.1.bazel +++ /dev/null @@ -1,62 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "crossbeam_queue", - srcs = glob(["**/*.rs"]), - crate_features = [ - "alloc", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=crossbeam-queue", - "manual", - ], - version = "0.3.1", - # buildifier: leave-alone - deps = [ - "@raze__cfg_if__1_0_0//:cfg_if", - "@raze__crossbeam_utils__0_8_8//:crossbeam_utils", - ], -) - -# Unsupported target "array_queue" with type "test" omitted - -# Unsupported target "seg_queue" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.crossbeam-utils-0.8.8.bazel b/third_party/rust/remote/BUILD.crossbeam-utils-0.8.8.bazel deleted file mode 100644 index bb89b151300..00000000000 --- a/third_party/rust/remote/BUILD.crossbeam-utils-0.8.8.bazel +++ /dev/null @@ -1,75 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "atomic_cell" with type "bench" omitted - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "crossbeam_utils", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "lazy_static", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=crossbeam-utils", - "manual", - ], - version = "0.8.8", - # buildifier: leave-alone - deps = [ - "@raze__cfg_if__1_0_0//:cfg_if", - "@raze__lazy_static__1_4_0//:lazy_static", - ], -) - -# Unsupported target "atomic_cell" with type "test" omitted - -# Unsupported target "cache_padded" with type "test" omitted - -# Unsupported target "parker" with type "test" omitted - -# Unsupported target "sharded_lock" with type "test" omitted - -# Unsupported target "thread" with type "test" omitted - -# Unsupported target "wait_group" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.dirs-next-2.0.0.bazel b/third_party/rust/remote/BUILD.dirs-next-2.0.0.bazel deleted file mode 100644 index 47929fe2c3a..00000000000 --- a/third_party/rust/remote/BUILD.dirs-next-2.0.0.bazel +++ /dev/null @@ -1,54 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "dirs_next", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=dirs-next", - "manual", - ], - version = "2.0.0", - # buildifier: leave-alone - deps = [ - "@raze__cfg_if__1_0_0//:cfg_if", - "@raze__dirs_sys_next__0_1_2//:dirs_sys_next", - ], -) diff --git a/third_party/rust/remote/BUILD.dirs-sys-next-0.1.2.bazel b/third_party/rust/remote/BUILD.dirs-sys-next-0.1.2.bazel deleted file mode 100644 index 3b5f314c128..00000000000 --- a/third_party/rust/remote/BUILD.dirs-sys-next-0.1.2.bazel +++ /dev/null @@ -1,69 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "dirs_sys_next", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=dirs-sys-next", - "manual", - ], - version = "0.1.2", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__libc__0_2_126//:libc", - ], - "//conditions:default": [], - }) + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@raze__winapi__0_3_9//:winapi", - ], - "//conditions:default": [], - }), -) diff --git a/third_party/rust/remote/BUILD.either-1.6.1.bazel b/third_party/rust/remote/BUILD.either-1.6.1.bazel deleted file mode 100644 index ecd95c4573f..00000000000 --- a/third_party/rust/remote/BUILD.either-1.6.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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "either", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "use_std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=either", - "manual", - ], - version = "1.6.1", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.encoding_rs-0.8.26.bazel b/third_party/rust/remote/BUILD.encoding_rs-0.8.26.bazel deleted file mode 100644 index e18511aba53..00000000000 --- a/third_party/rust/remote/BUILD.encoding_rs-0.8.26.bazel +++ /dev/null @@ -1,55 +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 "build-script-build" with type "custom-build" omitted - -rust_library( - name = "encoding_rs", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=encoding_rs", - "manual", - ], - version = "0.8.26", - # buildifier: leave-alone - deps = [ - "@raze__cfg_if__1_0_0//:cfg_if", - ], -) 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 deleted file mode 100644 index 7fdf19e9d32..00000000000 --- a/third_party/rust/remote/BUILD.env_logger-0.8.2.bazel +++ /dev/null @@ -1,88 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "custom_default_format" with type "example" omitted - -# Unsupported target "custom_format" with type "example" omitted - -# Unsupported target "custom_logger" with type "example" omitted - -# Unsupported target "default" with type "example" omitted - -# Unsupported target "direct_logger" with type "example" omitted - -# Unsupported target "filters_from_code" with type "example" omitted - -# Unsupported target "in_tests" with type "example" omitted - -# Unsupported target "syslog_friendly_format" with type "example" omitted - -rust_library( - name = "env_logger", - srcs = glob(["**/*.rs"]), - crate_features = [ - "atty", - "default", - "humantime", - "regex", - "termcolor", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=env_logger", - "manual", - ], - version = "0.8.2", - # buildifier: leave-alone - deps = [ - "@raze__atty__0_2_14//:atty", - "@raze__humantime__2_0_1//:humantime", - "@raze__log__0_4_11//:log", - "@raze__regex__1_5_6//:regex", - "@raze__termcolor__1_1_0//:termcolor", - ], -) - -# Unsupported target "init-twice-retains-filter" with type "test" omitted - -# Unsupported target "log-in-log" with type "test" omitted - -# Unsupported target "log_tls_dtors" with type "test" omitted - -# Unsupported target "regexp_filter" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.fixedbitset-0.4.1.bazel b/third_party/rust/remote/BUILD.fixedbitset-0.4.1.bazel deleted file mode 100644 index c73cfa63a13..00000000000 --- a/third_party/rust/remote/BUILD.fixedbitset-0.4.1.bazel +++ /dev/null @@ -1,54 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "benches" with type "bench" omitted - -rust_library( - name = "fixedbitset", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=fixedbitset", - "manual", - ], - version = "0.4.1", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.fnv-1.0.7.bazel b/third_party/rust/remote/BUILD.fnv-1.0.7.bazel deleted file mode 100644 index d16c5b9ce74..00000000000 --- a/third_party/rust/remote/BUILD.fnv-1.0.7.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 - -rust_library( - name = "fnv", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=fnv", - "manual", - ], - version = "1.0.7", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.form_urlencoded-1.0.0.bazel b/third_party/rust/remote/BUILD.form_urlencoded-1.0.0.bazel deleted file mode 100644 index 669ba0ca4d0..00000000000 --- a/third_party/rust/remote/BUILD.form_urlencoded-1.0.0.bazel +++ /dev/null @@ -1,54 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "form_urlencoded", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=form_urlencoded", - "manual", - ], - version = "1.0.0", - # buildifier: leave-alone - deps = [ - "@raze__matches__0_1_8//:matches", - "@raze__percent_encoding__2_1_0//:percent_encoding", - ], -) diff --git a/third_party/rust/remote/BUILD.futures-channel-0.3.8.bazel b/third_party/rust/remote/BUILD.futures-channel-0.3.8.bazel deleted file mode 100644 index 752d9c6eeeb..00000000000 --- a/third_party/rust/remote/BUILD.futures-channel-0.3.8.bazel +++ /dev/null @@ -1,68 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "sync_mpsc" with type "bench" omitted - -rust_library( - name = "futures_channel", - srcs = glob(["**/*.rs"]), - crate_features = [ - "alloc", - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=futures-channel", - "manual", - ], - version = "0.3.8", - # buildifier: leave-alone - deps = [ - "@raze__futures_core__0_3_12//:futures_core", - ], -) - -# Unsupported target "channel" with type "test" omitted - -# Unsupported target "mpsc" with type "test" omitted - -# Unsupported target "mpsc-close" with type "test" omitted - -# Unsupported target "oneshot" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.futures-core-0.3.12.bazel b/third_party/rust/remote/BUILD.futures-core-0.3.12.bazel deleted file mode 100644 index c984c5b94a1..00000000000 --- a/third_party/rust/remote/BUILD.futures-core-0.3.12.bazel +++ /dev/null @@ -1,57 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "futures_core", - srcs = glob(["**/*.rs"]), - crate_features = [ - "alloc", - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=futures-core", - "manual", - ], - version = "0.3.12", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.futures-io-0.3.12.bazel b/third_party/rust/remote/BUILD.futures-io-0.3.12.bazel deleted file mode 100644 index 64c3fbb644d..00000000000 --- a/third_party/rust/remote/BUILD.futures-io-0.3.12.bazel +++ /dev/null @@ -1,55 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "futures_io", - srcs = glob(["**/*.rs"]), - crate_features = [ - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=futures-io", - "manual", - ], - version = "0.3.12", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.futures-macro-0.3.8.bazel b/third_party/rust/remote/BUILD.futures-macro-0.3.8.bazel deleted file mode 100644 index ec9bbc4821f..00000000000 --- a/third_party/rust/remote/BUILD.futures-macro-0.3.8.bazel +++ /dev/null @@ -1,58 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_proc_macro( - name = "futures_macro", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - proc_macro_deps = [ - "@raze__proc_macro_hack__0_5_19//:proc_macro_hack", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=futures-macro", - "manual", - ], - version = "0.3.8", - # buildifier: leave-alone - deps = [ - "@raze__proc_macro2__1_0_43//:proc_macro2", - "@raze__quote__1_0_7//:quote", - "@raze__syn__1_0_99//:syn", - ], -) diff --git a/third_party/rust/remote/BUILD.futures-sink-0.3.8.bazel b/third_party/rust/remote/BUILD.futures-sink-0.3.8.bazel deleted file mode 100644 index d9009617325..00000000000 --- a/third_party/rust/remote/BUILD.futures-sink-0.3.8.bazel +++ /dev/null @@ -1,57 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "futures_sink", - srcs = glob(["**/*.rs"]), - crate_features = [ - "alloc", - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=futures-sink", - "manual", - ], - version = "0.3.8", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.futures-task-0.3.8.bazel b/third_party/rust/remote/BUILD.futures-task-0.3.8.bazel deleted file mode 100644 index 9a9a41a3c0a..00000000000 --- a/third_party/rust/remote/BUILD.futures-task-0.3.8.bazel +++ /dev/null @@ -1,58 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "futures_task", - srcs = glob(["**/*.rs"]), - crate_features = [ - "alloc", - "once_cell", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=futures-task", - "manual", - ], - version = "0.3.8", - # buildifier: leave-alone - deps = [ - "@raze__once_cell__1_5_2//:once_cell", - ], -) 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 deleted file mode 100644 index 005de53720e..00000000000 --- a/third_party/rust/remote/BUILD.futures-util-0.3.8.bazel +++ /dev/null @@ -1,80 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "futures_unordered" with type "bench" omitted - -rust_library( - name = "futures_util", - srcs = glob(["**/*.rs"]), - crate_features = [ - "alloc", - "async-await", - "async-await-macro", - "default", - "futures-io", - "futures-macro", - "io", - "memchr", - "proc-macro-hack", - "proc-macro-nested", - "slab", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - proc_macro_deps = [ - "@raze__futures_macro__0_3_8//:futures_macro", - "@raze__proc_macro_hack__0_5_19//:proc_macro_hack", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=futures-util", - "manual", - ], - version = "0.3.8", - # buildifier: leave-alone - deps = [ - "@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_5_0//:memchr", - "@raze__pin_project__1_0_12//:pin_project", - "@raze__pin_utils__0_1_0//:pin_utils", - "@raze__proc_macro_nested__0_1_7//:proc_macro_nested", - "@raze__slab__0_4_2//:slab", - ], -) diff --git a/third_party/rust/remote/BUILD.gcp_auth-0.7.4.bazel b/third_party/rust/remote/BUILD.gcp_auth-0.7.4.bazel deleted file mode 100644 index b67a55cdb1a..00000000000 --- a/third_party/rust/remote/BUILD.gcp_auth-0.7.4.bazel +++ /dev/null @@ -1,76 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -# Unsupported target "simple" with type "example" omitted - -rust_library( - name = "gcp_auth", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - proc_macro_deps = [ - "@raze__async_trait__0_1_41//:async_trait", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=gcp_auth", - "manual", - ], - version = "0.7.4", - # buildifier: leave-alone - deps = [ - "@raze__base64__0_13_0//:base64", - "@raze__dirs_next__2_0_0//:dirs_next", - "@raze__hyper__0_14_19//:hyper", - "@raze__hyper_rustls__0_23_0//:hyper_rustls", - "@raze__ring__0_16_20//:ring", - "@raze__rustls__0_20_6//:rustls", - "@raze__rustls_pemfile__1_0_1//:rustls_pemfile", - "@raze__serde__1_0_144//:serde", - "@raze__serde_json__1_0_61//:serde_json", - "@raze__thiserror__1_0_22//:thiserror", - "@raze__time__0_3_14//:time", - "@raze__tokio__1_19_2//:tokio", - "@raze__tracing__0_1_34//:tracing", - "@raze__tracing_futures__0_2_5//:tracing_futures", - "@raze__url__2_2_0//:url", - "@raze__which__4_3_0//:which", - ], -) diff --git a/third_party/rust/remote/BUILD.getrandom-0.1.15.bazel b/third_party/rust/remote/BUILD.getrandom-0.1.15.bazel deleted file mode 100644 index 67268ded069..00000000000 --- a/third_party/rust/remote/BUILD.getrandom-0.1.15.bazel +++ /dev/null @@ -1,72 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "mod" with type "bench" omitted - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "getrandom", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=getrandom", - "manual", - ], - version = "0.1.15", - # buildifier: leave-alone - deps = [ - "@raze__cfg_if__0_1_10//:cfg_if", - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__libc__0_2_126//:libc", - ], - "//conditions:default": [], - }), -) - -# Unsupported target "common" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.getrandom-0.2.1.bazel b/third_party/rust/remote/BUILD.getrandom-0.2.1.bazel deleted file mode 100644 index f5c5777b833..00000000000 --- a/third_party/rust/remote/BUILD.getrandom-0.2.1.bazel +++ /dev/null @@ -1,70 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "mod" with type "bench" omitted - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "getrandom", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=getrandom", - "manual", - ], - version = "0.2.1", - # buildifier: leave-alone - deps = [ - "@raze__cfg_if__1_0_0//:cfg_if", - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__libc__0_2_126//:libc", - ], - "//conditions:default": [], - }), -) diff --git a/third_party/rust/remote/BUILD.h2-0.3.19.bazel b/third_party/rust/remote/BUILD.h2-0.3.19.bazel deleted file mode 100644 index 199752e2d07..00000000000 --- a/third_party/rust/remote/BUILD.h2-0.3.19.bazel +++ /dev/null @@ -1,69 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -# Unsupported target "akamai" with type "example" omitted - -# Unsupported target "client" with type "example" omitted - -# Unsupported target "server" with type "example" omitted - -rust_library( - name = "h2", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=h2", - "manual", - ], - version = "0.3.19", - # buildifier: leave-alone - deps = [ - "@raze__bytes__1_0_1//:bytes", - "@raze__fnv__1_0_7//:fnv", - "@raze__futures_core__0_3_12//:futures_core", - "@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_8_2//:indexmap", - "@raze__slab__0_4_2//:slab", - "@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.11.2.bazel b/third_party/rust/remote/BUILD.hashbrown-0.11.2.bazel deleted file mode 100644 index 1fd2a0eec5b..00000000000 --- a/third_party/rust/remote/BUILD.hashbrown-0.11.2.bazel +++ /dev/null @@ -1,65 +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 "bench" with type "bench" omitted - -rust_library( - name = "hashbrown", - srcs = glob(["**/*.rs"]), - crate_features = [ - "raw", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=hashbrown", - "manual", - ], - version = "0.11.2", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "hasher" with type "test" omitted - -# Unsupported target "rayon" with type "test" omitted - -# Unsupported target "serde" with type "test" omitted - -# Unsupported target "set" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.heck-0.3.1.bazel b/third_party/rust/remote/BUILD.heck-0.3.1.bazel deleted file mode 100644 index 37a803762d8..00000000000 --- a/third_party/rust/remote/BUILD.heck-0.3.1.bazel +++ /dev/null @@ -1,53 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "heck", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=heck", - "manual", - ], - version = "0.3.1", - # buildifier: leave-alone - deps = [ - "@raze__unicode_segmentation__1_6_0//:unicode_segmentation", - ], -) diff --git a/third_party/rust/remote/BUILD.hermit-abi-0.1.17.bazel b/third_party/rust/remote/BUILD.hermit-abi-0.1.17.bazel deleted file mode 100644 index 022053ba767..00000000000 --- a/third_party/rust/remote/BUILD.hermit-abi-0.1.17.bazel +++ /dev/null @@ -1,53 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "hermit_abi", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=hermit-abi", - "manual", - ], - version = "0.1.17", - # buildifier: leave-alone - deps = [ - "@raze__libc__0_2_126//:libc", - ], -) diff --git a/third_party/rust/remote/BUILD.http-0.2.1.bazel b/third_party/rust/remote/BUILD.http-0.2.1.bazel deleted file mode 100644 index a85b1e86554..00000000000 --- a/third_party/rust/remote/BUILD.http-0.2.1.bazel +++ /dev/null @@ -1,69 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "header_map" with type "bench" omitted - -# Unsupported target "header_name" with type "bench" omitted - -# Unsupported target "header_value" with type "bench" omitted - -# Unsupported target "uri" with type "bench" omitted - -rust_library( - name = "http", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=http", - "manual", - ], - version = "0.2.1", - # buildifier: leave-alone - deps = [ - "@raze__bytes__0_5_6//:bytes", - "@raze__fnv__1_0_7//:fnv", - "@raze__itoa__0_4_6//:itoa", - ], -) - -# Unsupported target "header_map" with type "test" omitted - -# Unsupported target "header_map_fuzz" with type "test" omitted - -# Unsupported target "status_code" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.http-body-0.4.5.bazel b/third_party/rust/remote/BUILD.http-body-0.4.5.bazel deleted file mode 100644 index 6e8df24caaf..00000000000 --- a/third_party/rust/remote/BUILD.http-body-0.4.5.bazel +++ /dev/null @@ -1,57 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_library( - name = "http_body", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=http-body", - "manual", - ], - 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", - ], -) - -# Unsupported target "is_end_stream" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.httparse-1.7.1.bazel b/third_party/rust/remote/BUILD.httparse-1.7.1.bazel deleted file mode 100644 index 193b95ae8d9..00000000000 --- a/third_party/rust/remote/BUILD.httparse-1.7.1.bazel +++ /dev/null @@ -1,62 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "parse" with type "bench" omitted - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "httparse", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=httparse", - "manual", - ], - version = "1.7.1", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "uri" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.httpdate-1.0.2.bazel b/third_party/rust/remote/BUILD.httpdate-1.0.2.bazel deleted file mode 100644 index 3f90bc9885f..00000000000 --- a/third_party/rust/remote/BUILD.httpdate-1.0.2.bazel +++ /dev/null @@ -1,54 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "benchmarks" with type "bench" omitted - -rust_library( - name = "httpdate", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=httpdate", - "manual", - ], - version = "1.0.2", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.humantime-2.0.1.bazel b/third_party/rust/remote/BUILD.humantime-2.0.1.bazel deleted file mode 100644 index fb61fdf940e..00000000000 --- a/third_party/rust/remote/BUILD.humantime-2.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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "datetime_format" with type "bench" omitted - -# Unsupported target "datetime_parse" with type "bench" omitted - -rust_library( - name = "humantime", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=humantime", - "manual", - ], - version = "2.0.1", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.hyper-0.14.19.bazel b/third_party/rust/remote/BUILD.hyper-0.14.19.bazel deleted file mode 100644 index ab89a1458c4..00000000000 --- a/third_party/rust/remote/BUILD.hyper-0.14.19.bazel +++ /dev/null @@ -1,129 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -# Unsupported target "body" with type "bench" omitted - -# Unsupported target "connect" with type "bench" omitted - -# Unsupported target "end_to_end" with type "bench" omitted - -# Unsupported target "pipeline" with type "bench" omitted - -# Unsupported target "server" with type "bench" omitted - -# Unsupported target "client" with type "example" omitted - -# Unsupported target "client_json" with type "example" omitted - -# Unsupported target "echo" with type "example" omitted - -# Unsupported target "gateway" with type "example" omitted - -# Unsupported target "hello" with type "example" omitted - -# Unsupported target "http_proxy" with type "example" omitted - -# Unsupported target "multi_server" with type "example" omitted - -# Unsupported target "params" with type "example" omitted - -# Unsupported target "send_file" with type "example" omitted - -# Unsupported target "service_struct_impl" with type "example" omitted - -# Unsupported target "single_threaded" with type "example" omitted - -# Unsupported target "state" with type "example" omitted - -# Unsupported target "tower_client" with type "example" omitted - -# Unsupported target "tower_server" with type "example" omitted - -# Unsupported target "upgrades" with type "example" omitted - -# Unsupported target "web_api" with type "example" omitted - -rust_library( - name = "hyper", - srcs = glob(["**/*.rs"]), - crate_features = [ - "client", - "default", - "full", - "h2", - "http1", - "http2", - "runtime", - "server", - "socket2", - "stream", - "tcp", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=hyper", - "manual", - ], - 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_19//:h2", - "@raze__http__0_2_1//:http", - "@raze__http_body__0_4_5//:http_body", - "@raze__httparse__1_7_1//:httparse", - "@raze__httpdate__1_0_2//:httpdate", - "@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_19_2//:tokio", - "@raze__tower_service__0_3_0//:tower_service", - "@raze__tracing__0_1_34//:tracing", - "@raze__want__0_3_0//:want", - ], -) - -# Unsupported target "client" with type "test" omitted - -# Unsupported target "integration" with type "test" omitted - -# Unsupported target "server" 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 deleted file mode 100644 index f20b2e26cfc..00000000000 --- a/third_party/rust/remote/BUILD.hyper-rustls-0.22.1.bazel +++ /dev/null @@ -1,65 +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 (ISC OR MIT)" -]) - -# Generated Targets - -# Unsupported target "client" with type "example" omitted - -# Unsupported target "server" with type "example" omitted - -rust_library( - name = "hyper_rustls", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=hyper-rustls", - "manual", - ], - version = "0.22.1", - # buildifier: leave-alone - deps = [ - "@raze__futures_util__0_3_8//:futures_util", - "@raze__hyper__0_14_19//:hyper", - "@raze__log__0_4_11//:log", - "@raze__rustls__0_19_0//:rustls", - "@raze__tokio__1_19_2//:tokio", - "@raze__tokio_rustls__0_22_0//:tokio_rustls", - "@raze__webpki__0_21_4//:webpki", - ], -) - -# Unsupported target "tests" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.hyper-rustls-0.23.0.bazel b/third_party/rust/remote/BUILD.hyper-rustls-0.23.0.bazel deleted file mode 100644 index db385b0f68f..00000000000 --- a/third_party/rust/remote/BUILD.hyper-rustls-0.23.0.bazel +++ /dev/null @@ -1,71 +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 (ISC OR MIT)" -]) - -# Generated Targets - -# Unsupported target "client" with type "example" omitted - -# Unsupported target "server" with type "example" omitted - -rust_library( - name = "hyper_rustls", - srcs = glob(["**/*.rs"]), - crate_features = [ - "http1", - "http2", - "native-tokio", - "rustls-native-certs", - "tokio-runtime", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=hyper-rustls", - "manual", - ], - version = "0.23.0", - # buildifier: leave-alone - deps = [ - "@raze__http__0_2_1//:http", - "@raze__hyper__0_14_19//:hyper", - "@raze__rustls__0_20_6//:rustls", - "@raze__rustls_native_certs__0_6_2//:rustls_native_certs", - "@raze__tokio__1_19_2//:tokio", - "@raze__tokio_rustls__0_23_4//:tokio_rustls", - ], -) - -# Unsupported target "tests" with type "test" omitted 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 deleted file mode 100644 index 9e9b7520e40..00000000000 --- a/third_party/rust/remote/BUILD.hyper-timeout-0.4.1.bazel +++ /dev/null @@ -1,58 +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", # 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_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=hyper-timeout", - "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.idna-0.2.0.bazel b/third_party/rust/remote/BUILD.idna-0.2.0.bazel deleted file mode 100644 index 16f5807d312..00000000000 --- a/third_party/rust/remote/BUILD.idna-0.2.0.bazel +++ /dev/null @@ -1,59 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "idna", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=idna", - "manual", - ], - version = "0.2.0", - # buildifier: leave-alone - deps = [ - "@raze__matches__0_1_8//:matches", - "@raze__unicode_bidi__0_3_4//:unicode_bidi", - "@raze__unicode_normalization__0_1_16//:unicode_normalization", - ], -) - -# Unsupported target "tests" with type "test" omitted - -# Unsupported target "unit" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.indexmap-1.8.2.bazel b/third_party/rust/remote/BUILD.indexmap-1.8.2.bazel deleted file mode 100644 index 24a3f23ef12..00000000000 --- a/third_party/rust/remote/BUILD.indexmap-1.8.2.bazel +++ /dev/null @@ -1,71 +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 "bench" with type "bench" omitted - -# Unsupported target "faststring" with type "bench" omitted - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "indexmap", - srcs = glob(["**/*.rs"]), - crate_features = [ - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - "--cfg=has_std", - ], - tags = [ - "cargo-raze", - "crate-name=indexmap", - "manual", - ], - version = "1.8.2", - # buildifier: leave-alone - deps = [ - "@raze__hashbrown__0_11_2//:hashbrown", - ], -) - -# Unsupported target "equivalent_trait" with type "test" omitted - -# Unsupported target "macros_full_path" with type "test" omitted - -# Unsupported target "quick" with type "test" omitted - -# Unsupported target "tests" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.ipnet-2.3.0.bazel b/third_party/rust/remote/BUILD.ipnet-2.3.0.bazel deleted file mode 100644 index 885a424cf78..00000000000 --- a/third_party/rust/remote/BUILD.ipnet-2.3.0.bazel +++ /dev/null @@ -1,52 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "ipnet", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=ipnet", - "manual", - ], - version = "2.3.0", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.itertools-0.10.3.bazel b/third_party/rust/remote/BUILD.itertools-0.10.3.bazel deleted file mode 100644 index 2b1cbcc7c1d..00000000000 --- a/third_party/rust/remote/BUILD.itertools-0.10.3.bazel +++ /dev/null @@ -1,98 +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", # 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", - "crate-name=itertools", - "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.itoa-0.4.6.bazel b/third_party/rust/remote/BUILD.itoa-0.4.6.bazel deleted file mode 100644 index dfe0dd84ffc..00000000000 --- a/third_party/rust/remote/BUILD.itoa-0.4.6.bazel +++ /dev/null @@ -1,60 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -rust_library( - name = "itoa", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=itoa", - "manual", - ], - version = "0.4.6", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "test" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.itoa-1.0.2.bazel b/third_party/rust/remote/BUILD.itoa-1.0.2.bazel deleted file mode 100644 index 381af64e5ae..00000000000 --- a/third_party/rust/remote/BUILD.itoa-1.0.2.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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -rust_library( - name = "itoa", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=itoa", - "manual", - ], - version = "1.0.2", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "test" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.js-sys-0.3.47.bazel b/third_party/rust/remote/BUILD.js-sys-0.3.47.bazel deleted file mode 100644 index d55b7870883..00000000000 --- a/third_party/rust/remote/BUILD.js-sys-0.3.47.bazel +++ /dev/null @@ -1,57 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "js_sys", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=js-sys", - "manual", - ], - version = "0.3.47", - # buildifier: leave-alone - deps = [ - "@raze__wasm_bindgen__0_2_70//:wasm_bindgen", - ], -) - -# Unsupported target "headless" with type "test" omitted - -# Unsupported target "wasm" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.lazy_static-1.4.0.bazel b/third_party/rust/remote/BUILD.lazy_static-1.4.0.bazel deleted file mode 100644 index e978d942218..00000000000 --- a/third_party/rust/remote/BUILD.lazy_static-1.4.0.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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "lazy_static", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=lazy_static", - "manual", - ], - version = "1.4.0", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "no_std" with type "test" omitted - -# 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 deleted file mode 100644 index 7deb0baca10..00000000000 --- a/third_party/rust/remote/BUILD.libc-0.2.126.bazel +++ /dev/null @@ -1,90 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "libc_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - "std", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.2.126", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "libc", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=libc", - "manual", - ], - version = "0.2.126", - # buildifier: leave-alone - deps = [ - ":libc_build_script", - ], -) - -# Unsupported target "const_fn" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.lock_api-0.4.6.bazel b/third_party/rust/remote/BUILD.lock_api-0.4.6.bazel deleted file mode 100644 index f4137e40971..00000000000 --- a/third_party/rust/remote/BUILD.lock_api-0.4.6.bazel +++ /dev/null @@ -1,53 +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 = "lock_api", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=lock_api", - "manual", - ], - version = "0.4.6", - # buildifier: leave-alone - deps = [ - "@raze__scopeguard__1_1_0//:scopeguard", - ], -) diff --git a/third_party/rust/remote/BUILD.log-0.4.11.bazel b/third_party/rust/remote/BUILD.log-0.4.11.bazel deleted file mode 100644 index 771f0fd668d..00000000000 --- a/third_party/rust/remote/BUILD.log-0.4.11.bazel +++ /dev/null @@ -1,91 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "log_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "std", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.4.11", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "log", - srcs = glob(["**/*.rs"]), - crate_features = [ - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=log", - "manual", - ], - version = "0.4.11", - # buildifier: leave-alone - deps = [ - ":log_build_script", - "@raze__cfg_if__0_1_10//:cfg_if", - ], -) - -# Unsupported target "filters" with type "test" omitted - -# Unsupported target "macros" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.matches-0.1.8.bazel b/third_party/rust/remote/BUILD.matches-0.1.8.bazel deleted file mode 100644 index e86d41a7862..00000000000 --- a/third_party/rust/remote/BUILD.matches-0.1.8.bazel +++ /dev/null @@ -1,54 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_library( - name = "matches", - srcs = glob(["**/*.rs"]), - crate_root = "lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=matches", - "manual", - ], - version = "0.1.8", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "macro_use_one" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.memchr-2.5.0.bazel b/third_party/rust/remote/BUILD.memchr-2.5.0.bazel deleted file mode 100644 index 7bc0a9e480e..00000000000 --- a/third_party/rust/remote/BUILD.memchr-2.5.0.bazel +++ /dev/null @@ -1,58 +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([ - "unencumbered", # Unlicense from expression "Unlicense OR MIT" -]) - -# Generated Targets - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "memchr", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=memchr", - "manual", - ], - version = "2.5.0", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.memoffset-0.6.5.bazel b/third_party/rust/remote/BUILD.memoffset-0.6.5.bazel deleted file mode 100644 index 1fc5b59c622..00000000000 --- a/third_party/rust/remote/BUILD.memoffset-0.6.5.bazel +++ /dev/null @@ -1,57 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "memoffset", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=memoffset", - "manual", - ], - version = "0.6.5", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.mime-0.3.16.bazel b/third_party/rust/remote/BUILD.mime-0.3.16.bazel deleted file mode 100644 index cfa9f040d01..00000000000 --- a/third_party/rust/remote/BUILD.mime-0.3.16.bazel +++ /dev/null @@ -1,58 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "cmp" with type "bench" omitted - -# Unsupported target "fmt" with type "bench" omitted - -# Unsupported target "parse" with type "bench" omitted - -rust_library( - name = "mime", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=mime", - "manual", - ], - version = "0.3.16", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.mio-0.8.3.bazel b/third_party/rust/remote/BUILD.mio-0.8.3.bazel deleted file mode 100644 index 93dff6ac3cc..00000000000 --- a/third_party/rust/remote/BUILD.mio-0.8.3.bazel +++ /dev/null @@ -1,82 +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", # MIT from expression "MIT" -]) - -# 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 - -rust_library( - name = "mio", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - "default", - "net", - "os-ext", - "os-poll", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=mio", - "manual", - ], - version = "0.8.3", - # buildifier: leave-alone - deps = [ - "@raze__log__0_4_11//:log", - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__libc__0_2_126//:libc", - ], - "//conditions:default": [], - }) + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@raze__windows_sys__0_36_1//:windows_sys", - ], - "//conditions:default": [], - }), -) diff --git a/third_party/rust/remote/BUILD.multimap-0.8.2.bazel b/third_party/rust/remote/BUILD.multimap-0.8.2.bazel deleted file mode 100644 index 2ac4730b9e7..00000000000 --- a/third_party/rust/remote/BUILD.multimap-0.8.2.bazel +++ /dev/null @@ -1,52 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "multimap", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=multimap", - "manual", - ], - version = "0.8.2", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.num_cpus-1.13.0.bazel b/third_party/rust/remote/BUILD.num_cpus-1.13.0.bazel deleted file mode 100644 index cb5692a3492..00000000000 --- a/third_party/rust/remote/BUILD.num_cpus-1.13.0.bazel +++ /dev/null @@ -1,55 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "values" with type "example" omitted - -rust_library( - name = "num_cpus", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=num_cpus", - "manual", - ], - version = "1.13.0", - # buildifier: leave-alone - deps = [ - "@raze__libc__0_2_126//:libc", - ], -) diff --git a/third_party/rust/remote/BUILD.num_threads-0.1.6.bazel b/third_party/rust/remote/BUILD.num_threads-0.1.6.bazel deleted file mode 100644 index 7f7ed579d5e..00000000000 --- a/third_party/rust/remote/BUILD.num_threads-0.1.6.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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "num_threads", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=num_threads", - "manual", - ], - version = "0.1.6", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - ): [ - "@raze__libc__0_2_126//:libc", - ], - "//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 deleted file mode 100644 index 88b2b431650..00000000000 --- a/third_party/rust/remote/BUILD.once_cell-1.5.2.bazel +++ /dev/null @@ -1,73 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "bench" with type "example" omitted - -# Unsupported target "bench_acquire" with type "example" omitted - -# Unsupported target "bench_vs_lazy_static" with type "example" omitted - -# Unsupported target "lazy_static" with type "example" omitted - -# Unsupported target "reentrant_init_deadlocks" with type "example" omitted - -# Unsupported target "regex" with type "example" omitted - -# Unsupported target "test_synchronization" with type "example" omitted - -rust_library( - name = "once_cell", - srcs = glob(["**/*.rs"]), - crate_features = [ - "alloc", - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=once_cell", - "manual", - ], - version = "1.5.2", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "it" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.openssl-probe-0.1.5.bazel b/third_party/rust/remote/BUILD.openssl-probe-0.1.5.bazel deleted file mode 100644 index 5018de7ea29..00000000000 --- a/third_party/rust/remote/BUILD.openssl-probe-0.1.5.bazel +++ /dev/null @@ -1,54 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "probe" with type "example" omitted - -rust_library( - name = "openssl_probe", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=openssl-probe", - "manual", - ], - version = "0.1.5", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.os_str_bytes-2.4.0.bazel b/third_party/rust/remote/BUILD.os_str_bytes-2.4.0.bazel deleted file mode 100644 index 00987174c55..00000000000 --- a/third_party/rust/remote/BUILD.os_str_bytes-2.4.0.bazel +++ /dev/null @@ -1,55 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "os_str_bytes", - srcs = glob(["**/*.rs"]), - crate_features = [ - "raw", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=os_str_bytes", - "manual", - ], - version = "2.4.0", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.parking_lot-0.12.1.bazel b/third_party/rust/remote/BUILD.parking_lot-0.12.1.bazel deleted file mode 100644 index eac5283a5d1..00000000000 --- a/third_party/rust/remote/BUILD.parking_lot-0.12.1.bazel +++ /dev/null @@ -1,59 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "parking_lot", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=parking_lot", - "manual", - ], - version = "0.12.1", - # buildifier: leave-alone - deps = [ - "@raze__lock_api__0_4_6//:lock_api", - "@raze__parking_lot_core__0_9_3//:parking_lot_core", - ], -) - -# Unsupported target "issue_203" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.parking_lot_core-0.9.3.bazel b/third_party/rust/remote/BUILD.parking_lot_core-0.9.3.bazel deleted file mode 100644 index a76c7373c71..00000000000 --- a/third_party/rust/remote/BUILD.parking_lot_core-0.9.3.bazel +++ /dev/null @@ -1,73 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "parking_lot_core", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=parking_lot_core", - "manual", - ], - version = "0.9.3", - # buildifier: leave-alone - deps = [ - "@raze__cfg_if__1_0_0//:cfg_if", - "@raze__smallvec__1_10_0//:smallvec", - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__libc__0_2_126//:libc", - ], - "//conditions:default": [], - }) + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@raze__windows_sys__0_36_1//:windows_sys", - ], - "//conditions:default": [], - }), -) diff --git a/third_party/rust/remote/BUILD.percent-encoding-2.1.0.bazel b/third_party/rust/remote/BUILD.percent-encoding-2.1.0.bazel deleted file mode 100644 index f8c15e1f087..00000000000 --- a/third_party/rust/remote/BUILD.percent-encoding-2.1.0.bazel +++ /dev/null @@ -1,52 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "percent_encoding", - srcs = glob(["**/*.rs"]), - crate_root = "lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=percent-encoding", - "manual", - ], - version = "2.1.0", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.petgraph-0.6.2.bazel b/third_party/rust/remote/BUILD.petgraph-0.6.2.bazel deleted file mode 100644 index c3d2f129b59..00000000000 --- a/third_party/rust/remote/BUILD.petgraph-0.6.2.bazel +++ /dev/null @@ -1,100 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# 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 - -rust_library( - name = "petgraph", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=petgraph", - "manual", - ], - version = "0.6.2", - # buildifier: leave-alone - deps = [ - "@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 - -# Unsupported target "unionfind" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.pin-project-1.0.12.bazel b/third_party/rust/remote/BUILD.pin-project-1.0.12.bazel deleted file mode 100644 index e7b1246559b..00000000000 --- a/third_party/rust/remote/BUILD.pin-project-1.0.12.bazel +++ /dev/null @@ -1,99 +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 "enum-default" with type "example" omitted - -# Unsupported target "enum-default-expanded" with type "example" omitted - -# Unsupported target "not_unpin" with type "example" omitted - -# Unsupported target "not_unpin-expanded" with type "example" omitted - -# Unsupported target "pinned_drop" with type "example" omitted - -# Unsupported target "pinned_drop-expanded" with type "example" omitted - -# Unsupported target "project_replace" with type "example" omitted - -# Unsupported target "project_replace-expanded" with type "example" omitted - -# Unsupported target "struct-default" with type "example" omitted - -# Unsupported target "struct-default-expanded" with type "example" omitted - -# Unsupported target "unsafe_unpin" with type "example" omitted - -# Unsupported target "unsafe_unpin-expanded" with type "example" omitted - -rust_library( - name = "pin_project", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - proc_macro_deps = [ - "@raze__pin_project_internal__1_0_12//:pin_project_internal", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=pin-project", - "manual", - ], - version = "1.0.12", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "cfg" with type "test" omitted - -# Unsupported target "compiletest" with type "test" omitted - -# Unsupported target "drop_order" with type "test" omitted - -# Unsupported target "expandtest" with type "test" omitted - -# Unsupported target "lint" with type "test" omitted - -# Unsupported target "pin_project" with type "test" omitted - -# Unsupported target "pinned_drop" with type "test" omitted - -# Unsupported target "proper_unpin" with type "test" omitted - -# Unsupported target "repr_packed" with type "test" omitted - -# Unsupported target "unsafe_unpin" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.pin-project-internal-1.0.12.bazel b/third_party/rust/remote/BUILD.pin-project-internal-1.0.12.bazel deleted file mode 100644 index 42a3ce97472..00000000000 --- a/third_party/rust/remote/BUILD.pin-project-internal-1.0.12.bazel +++ /dev/null @@ -1,55 +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_proc_macro( - name = "pin_project_internal", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=pin-project-internal", - "manual", - ], - version = "1.0.12", - # buildifier: leave-alone - deps = [ - "@raze__proc_macro2__1_0_43//:proc_macro2", - "@raze__quote__1_0_7//:quote", - "@raze__syn__1_0_99//:syn", - ], -) diff --git a/third_party/rust/remote/BUILD.pin-project-lite-0.2.9.bazel b/third_party/rust/remote/BUILD.pin-project-lite-0.2.9.bazel deleted file mode 100644 index aaaec89a355..00000000000 --- a/third_party/rust/remote/BUILD.pin-project-lite-0.2.9.bazel +++ /dev/null @@ -1,64 +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_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=pin-project-lite", - "manual", - ], - version = "0.2.9", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "compiletest" with type "test" omitted - -# 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 - -# Unsupported target "test" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.pin-utils-0.1.0.bazel b/third_party/rust/remote/BUILD.pin-utils-0.1.0.bazel deleted file mode 100644 index a70505ea1f1..00000000000 --- a/third_party/rust/remote/BUILD.pin-utils-0.1.0.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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "pin_utils", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=pin-utils", - "manual", - ], - version = "0.1.0", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "projection" with type "test" omitted - -# Unsupported target "stack_pin" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.ppv-lite86-0.2.10.bazel b/third_party/rust/remote/BUILD.ppv-lite86-0.2.10.bazel deleted file mode 100644 index 81d7455fe6f..00000000000 --- a/third_party/rust/remote/BUILD.ppv-lite86-0.2.10.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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "ppv_lite86", - srcs = glob(["**/*.rs"]), - crate_features = [ - "simd", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=ppv-lite86", - "manual", - ], - version = "0.2.10", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.proc-macro-error-1.0.4.bazel b/third_party/rust/remote/BUILD.proc-macro-error-1.0.4.bazel deleted file mode 100644 index 778ec10fd0a..00000000000 --- a/third_party/rust/remote/BUILD.proc-macro-error-1.0.4.bazel +++ /dev/null @@ -1,103 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "proc_macro_error_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - "syn", - "syn-error", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.0.4", - visibility = ["//visibility:private"], - deps = [ - "@raze__version_check__0_9_2//:version_check", - ], -) - -rust_library( - name = "proc_macro_error", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "syn", - "syn-error", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - proc_macro_deps = [ - "@raze__proc_macro_error_attr__1_0_4//:proc_macro_error_attr", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=proc-macro-error", - "manual", - ], - version = "1.0.4", - # buildifier: leave-alone - deps = [ - ":proc_macro_error_build_script", - "@raze__proc_macro2__1_0_43//:proc_macro2", - "@raze__quote__1_0_7//:quote", - "@raze__syn__1_0_99//:syn", - ], -) - -# Unsupported target "macro-errors" with type "test" omitted - -# Unsupported target "ok" with type "test" omitted - -# Unsupported target "runtime-errors" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.proc-macro-error-attr-1.0.4.bazel b/third_party/rust/remote/BUILD.proc-macro-error-attr-1.0.4.bazel deleted file mode 100644 index e6781ed5ee6..00000000000 --- a/third_party/rust/remote/BUILD.proc-macro-error-attr-1.0.4.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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_proc_macro( - name = "proc_macro_error_attr", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=proc-macro-error-attr", - "manual", - ], - version = "1.0.4", - # buildifier: leave-alone - deps = [ - "@raze__proc_macro2__1_0_43//:proc_macro2", - "@raze__quote__1_0_7//:quote", - ], -) diff --git a/third_party/rust/remote/BUILD.proc-macro-hack-0.5.19.bazel b/third_party/rust/remote/BUILD.proc-macro-hack-0.5.19.bazel deleted file mode 100644 index 809c83e0459..00000000000 --- a/third_party/rust/remote/BUILD.proc-macro-hack-0.5.19.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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_proc_macro( - name = "proc_macro_hack", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=proc-macro-hack", - "manual", - ], - version = "0.5.19", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "compiletest" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.proc-macro-nested-0.1.7.bazel b/third_party/rust/remote/BUILD.proc-macro-nested-0.1.7.bazel deleted file mode 100644 index 09d4cd20b27..00000000000 --- a/third_party/rust/remote/BUILD.proc-macro-nested-0.1.7.bazel +++ /dev/null @@ -1,80 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "proc_macro_nested_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.1.7", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "proc_macro_nested", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=proc-macro-nested", - "manual", - ], - version = "0.1.7", - # buildifier: leave-alone - deps = [ - ":proc_macro_nested_build_script", - ], -) diff --git a/third_party/rust/remote/BUILD.proc-macro2-1.0.43.bazel b/third_party/rust/remote/BUILD.proc-macro2-1.0.43.bazel deleted file mode 100644 index 7a1131f8000..00000000000 --- a/third_party/rust/remote/BUILD.proc-macro2-1.0.43.bazel +++ /dev/null @@ -1,71 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "proc_macro2", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "proc-macro", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - "--cfg=use_proc_macro", - "--cfg=wrap_proc_macro", - ], - tags = [ - "cargo-raze", - "crate-name=proc-macro2", - "manual", - ], - version = "1.0.43", - # buildifier: leave-alone - deps = [ - "@raze__unicode_ident__1_0_3//:unicode_ident", - ], -) - -# Unsupported target "comments" with type "test" omitted - -# Unsupported target "features" with type "test" omitted - -# Unsupported target "marker" with type "test" omitted - -# Unsupported target "test" with type "test" omitted - -# Unsupported target "test_fmt" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.prost-0.9.0.bazel b/third_party/rust/remote/BUILD.prost-0.9.0.bazel deleted file mode 100644 index f9c2a692fef..00000000000 --- a/third_party/rust/remote/BUILD.prost-0.9.0.bazel +++ /dev/null @@ -1,63 +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" -]) - -# Generated Targets - -# Unsupported target "varint" with type "bench" omitted - -rust_library( - name = "prost", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "prost-derive", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - proc_macro_deps = [ - "@raze__prost_derive__0_9_0//:prost_derive", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=prost", - "manual", - ], - 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.9.0.bazel b/third_party/rust/remote/BUILD.prost-build-0.9.0.bazel deleted file mode 100644 index 032d0cd0b97..00000000000 --- a/third_party/rust/remote/BUILD.prost-build-0.9.0.bazel +++ /dev/null @@ -1,92 +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" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "prost_build_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.9.0", - visibility = ["//visibility:private"], - deps = [ - "@raze__which__4_3_0//:which", - ], -) - -rust_library( - name = "prost_build", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=prost-build", - "manual", - ], - 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_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_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.9.0.bazel b/third_party/rust/remote/BUILD.prost-derive-0.9.0.bazel deleted file mode 100644 index 62e02c34157..00000000000 --- a/third_party/rust/remote/BUILD.prost-derive-0.9.0.bazel +++ /dev/null @@ -1,57 +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" -]) - -# Generated Targets - -rust_proc_macro( - name = "prost_derive", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=prost-derive", - "manual", - ], - version = "0.9.0", - # buildifier: leave-alone - deps = [ - "@raze__anyhow__1_0_34//:anyhow", - "@raze__itertools__0_10_3//:itertools", - "@raze__proc_macro2__1_0_43//:proc_macro2", - "@raze__quote__1_0_7//:quote", - "@raze__syn__1_0_99//:syn", - ], -) diff --git a/third_party/rust/remote/BUILD.prost-types-0.9.0.bazel b/third_party/rust/remote/BUILD.prost-types-0.9.0.bazel deleted file mode 100644 index bfc39e02016..00000000000 --- a/third_party/rust/remote/BUILD.prost-types-0.9.0.bazel +++ /dev/null @@ -1,58 +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" -]) - -# 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", - "crate-name=prost-types", - "manual", - ], - version = "0.9.0", - # buildifier: leave-alone - deps = [ - "@raze__bytes__1_0_1//:bytes", - "@raze__prost__0_9_0//:prost", - ], -) diff --git a/third_party/rust/remote/BUILD.quote-1.0.7.bazel b/third_party/rust/remote/BUILD.quote-1.0.7.bazel deleted file mode 100644 index 8fa6b2e5ce3..00000000000 --- a/third_party/rust/remote/BUILD.quote-1.0.7.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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "quote", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "proc-macro", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=quote", - "manual", - ], - version = "1.0.7", - # buildifier: leave-alone - deps = [ - "@raze__proc_macro2__1_0_43//:proc_macro2", - ], -) - -# Unsupported target "compiletest" with type "test" omitted - -# Unsupported target "test" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.rand-0.7.3.bazel b/third_party/rust/remote/BUILD.rand-0.7.3.bazel deleted file mode 100644 index 998f3f1f67c..00000000000 --- a/third_party/rust/remote/BUILD.rand-0.7.3.bazel +++ /dev/null @@ -1,94 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "generators" with type "bench" omitted - -# Unsupported target "misc" with type "bench" omitted - -# Unsupported target "seq" with type "bench" omitted - -# Unsupported target "weighted" with type "bench" omitted - -# Unsupported target "monte-carlo" with type "example" omitted - -# Unsupported target "monty-hall" with type "example" omitted - -rust_library( - name = "rand", - srcs = glob(["**/*.rs"]), - aliases = { - "@raze__getrandom__0_1_15//:getrandom": "getrandom_package", - }, - crate_features = [ - "alloc", - "default", - "getrandom", - "getrandom_package", - "libc", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=rand", - "manual", - ], - version = "0.7.3", - # buildifier: leave-alone - deps = [ - "@raze__getrandom__0_1_15//:getrandom", - "@raze__rand_core__0_5_1//:rand_core", - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__rand_chacha__0_2_2//:rand_chacha", - ], - "//conditions:default": [], - }) + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__libc__0_2_126//:libc", - ], - "//conditions:default": [], - }), -) diff --git a/third_party/rust/remote/BUILD.rand-0.8.2.bazel b/third_party/rust/remote/BUILD.rand-0.8.2.bazel deleted file mode 100644 index 4d73330a229..00000000000 --- a/third_party/rust/remote/BUILD.rand-0.8.2.bazel +++ /dev/null @@ -1,83 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "rand", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - "alloc", - "default", - "getrandom", - "libc", - "rand_chacha", - "rand_hc", - "small_rng", - "std", - "std_rng", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=rand", - "manual", - ], - version = "0.8.2", - # buildifier: leave-alone - deps = [ - "@raze__rand_core__0_6_1//:rand_core", - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__rand_chacha__0_3_0//:rand_chacha", - ], - "//conditions:default": [], - }) + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__libc__0_2_126//:libc", - ], - "//conditions:default": [], - }), -) diff --git a/third_party/rust/remote/BUILD.rand_chacha-0.2.2.bazel b/third_party/rust/remote/BUILD.rand_chacha-0.2.2.bazel deleted file mode 100644 index 7d43259c6dc..00000000000 --- a/third_party/rust/remote/BUILD.rand_chacha-0.2.2.bazel +++ /dev/null @@ -1,59 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "rand_chacha", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "simd", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=rand_chacha", - "manual", - ], - version = "0.2.2", - # buildifier: leave-alone - deps = [ - "@raze__ppv_lite86__0_2_10//:ppv_lite86", - "@raze__rand_core__0_5_1//:rand_core", - ], -) diff --git a/third_party/rust/remote/BUILD.rand_chacha-0.3.0.bazel b/third_party/rust/remote/BUILD.rand_chacha-0.3.0.bazel deleted file mode 100644 index a7eccbb71ce..00000000000 --- a/third_party/rust/remote/BUILD.rand_chacha-0.3.0.bazel +++ /dev/null @@ -1,57 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "rand_chacha", - srcs = glob(["**/*.rs"]), - crate_features = [ - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=rand_chacha", - "manual", - ], - version = "0.3.0", - # buildifier: leave-alone - deps = [ - "@raze__ppv_lite86__0_2_10//:ppv_lite86", - "@raze__rand_core__0_6_1//:rand_core", - ], -) diff --git a/third_party/rust/remote/BUILD.rand_core-0.5.1.bazel b/third_party/rust/remote/BUILD.rand_core-0.5.1.bazel deleted file mode 100644 index a67aabf6f29..00000000000 --- a/third_party/rust/remote/BUILD.rand_core-0.5.1.bazel +++ /dev/null @@ -1,58 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "rand_core", - srcs = glob(["**/*.rs"]), - crate_features = [ - "alloc", - "getrandom", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=rand_core", - "manual", - ], - version = "0.5.1", - # buildifier: leave-alone - deps = [ - "@raze__getrandom__0_1_15//:getrandom", - ], -) diff --git a/third_party/rust/remote/BUILD.rand_core-0.6.1.bazel b/third_party/rust/remote/BUILD.rand_core-0.6.1.bazel deleted file mode 100644 index 6c508842707..00000000000 --- a/third_party/rust/remote/BUILD.rand_core-0.6.1.bazel +++ /dev/null @@ -1,58 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "rand_core", - srcs = glob(["**/*.rs"]), - crate_features = [ - "alloc", - "getrandom", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=rand_core", - "manual", - ], - version = "0.6.1", - # buildifier: leave-alone - deps = [ - "@raze__getrandom__0_2_1//:getrandom", - ], -) diff --git a/third_party/rust/remote/BUILD.rand_hc-0.2.0.bazel b/third_party/rust/remote/BUILD.rand_hc-0.2.0.bazel deleted file mode 100644 index e7004728611..00000000000 --- a/third_party/rust/remote/BUILD.rand_hc-0.2.0.bazel +++ /dev/null @@ -1,53 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "rand_hc", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=rand_hc", - "manual", - ], - version = "0.2.0", - # buildifier: leave-alone - deps = [ - "@raze__rand_core__0_5_1//:rand_core", - ], -) diff --git a/third_party/rust/remote/BUILD.rand_hc-0.3.0.bazel b/third_party/rust/remote/BUILD.rand_hc-0.3.0.bazel deleted file mode 100644 index 666b56c80b8..00000000000 --- a/third_party/rust/remote/BUILD.rand_hc-0.3.0.bazel +++ /dev/null @@ -1,53 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "rand_hc", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=rand_hc", - "manual", - ], - version = "0.3.0", - # buildifier: leave-alone - deps = [ - "@raze__rand_core__0_6_1//:rand_core", - ], -) diff --git a/third_party/rust/remote/BUILD.rayon-1.5.0.bazel b/third_party/rust/remote/BUILD.rayon-1.5.0.bazel deleted file mode 100644 index 5466cdca178..00000000000 --- a/third_party/rust/remote/BUILD.rayon-1.5.0.bazel +++ /dev/null @@ -1,87 +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 "build-script-build" with type "custom-build" omitted - -# Unsupported target "cpu_monitor" with type "example" omitted - -rust_library( - name = "rayon", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=rayon", - "manual", - ], - version = "1.5.0", - # buildifier: leave-alone - deps = [ - "@raze__crossbeam_deque__0_8_1//:crossbeam_deque", - "@raze__either__1_6_1//:either", - "@raze__rayon_core__1_9_0//:rayon_core", - ], -) - -# Unsupported target "chars" with type "test" omitted - -# Unsupported target "clones" with type "test" omitted - -# Unsupported target "collect" with type "test" omitted - -# Unsupported target "cross-pool" with type "test" omitted - -# Unsupported target "debug" with type "test" omitted - -# Unsupported target "intersperse" with type "test" omitted - -# Unsupported target "issue671" with type "test" omitted - -# Unsupported target "issue671-unzip" with type "test" omitted - -# Unsupported target "iter_panic" with type "test" omitted - -# Unsupported target "named-threads" with type "test" omitted - -# Unsupported target "octillion" with type "test" omitted - -# Unsupported target "producer_split_at" with type "test" omitted - -# Unsupported target "sort-panic-safe" with type "test" omitted - -# Unsupported target "str" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.rayon-core-1.9.0.bazel b/third_party/rust/remote/BUILD.rayon-core-1.9.0.bazel deleted file mode 100644 index a3d50c21a63..00000000000 --- a/third_party/rust/remote/BUILD.rayon-core-1.9.0.bazel +++ /dev/null @@ -1,71 +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 "build-script-build" with type "custom-build" omitted - -rust_library( - name = "rayon_core", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=rayon-core", - "manual", - ], - version = "1.9.0", - # buildifier: leave-alone - deps = [ - "@raze__crossbeam_channel__0_5_0//:crossbeam_channel", - "@raze__crossbeam_deque__0_8_1//:crossbeam_deque", - "@raze__crossbeam_utils__0_8_8//:crossbeam_utils", - "@raze__lazy_static__1_4_0//:lazy_static", - "@raze__num_cpus__1_13_0//:num_cpus", - ], -) - -# Unsupported target "double_init_fail" with type "test" omitted - -# Unsupported target "init_zero_threads" with type "test" omitted - -# Unsupported target "scope_join" with type "test" omitted - -# Unsupported target "scoped_threadpool" with type "test" omitted - -# Unsupported target "simple_panic" with type "test" omitted - -# Unsupported target "stack_overflow_crash" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.redox_syscall-0.1.57.bazel b/third_party/rust/remote/BUILD.redox_syscall-0.1.57.bazel deleted file mode 100644 index a61ba09ee94..00000000000 --- a/third_party/rust/remote/BUILD.redox_syscall-0.1.57.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", # MIT from expression "MIT" -]) - -# Generated Targets - -alias( - name = "redox_syscall", - actual = ":syscall", - tags = [ - "cargo-raze", - "manual", - ], -) - -rust_library( - name = "syscall", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=syscall", - "manual", - ], - version = "0.1.57", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.redox_syscall-0.2.16.bazel b/third_party/rust/remote/BUILD.redox_syscall-0.2.16.bazel deleted file mode 100644 index 06c6dba1f14..00000000000 --- a/third_party/rust/remote/BUILD.redox_syscall-0.2.16.bazel +++ /dev/null @@ -1,62 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -alias( - name = "redox_syscall", - actual = ":syscall", - tags = [ - "cargo-raze", - "manual", - ], -) - -rust_library( - name = "syscall", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=syscall", - "manual", - ], - version = "0.2.16", - # buildifier: leave-alone - deps = [ - "@raze__bitflags__1_2_1//:bitflags", - ], -) diff --git a/third_party/rust/remote/BUILD.redox_users-0.4.3.bazel b/third_party/rust/remote/BUILD.redox_users-0.4.3.bazel deleted file mode 100644 index 518c37e7191..00000000000 --- a/third_party/rust/remote/BUILD.redox_users-0.4.3.bazel +++ /dev/null @@ -1,55 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_library( - name = "redox_users", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=redox_users", - "manual", - ], - version = "0.4.3", - # buildifier: leave-alone - deps = [ - "@raze__getrandom__0_2_1//:getrandom", - "@raze__redox_syscall__0_2_16//:redox_syscall", - "@raze__thiserror__1_0_22//:thiserror", - ], -) diff --git a/third_party/rust/remote/BUILD.regex-1.5.6.bazel b/third_party/rust/remote/BUILD.regex-1.5.6.bazel deleted file mode 100644 index 06a3c82bd40..00000000000 --- a/third_party/rust/remote/BUILD.regex-1.5.6.bazel +++ /dev/null @@ -1,104 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "shootout-regex-dna" with type "example" omitted - -# Unsupported target "shootout-regex-dna-bytes" with type "example" omitted - -# Unsupported target "shootout-regex-dna-cheat" with type "example" omitted - -# Unsupported target "shootout-regex-dna-replace" with type "example" omitted - -# Unsupported target "shootout-regex-dna-single" with type "example" omitted - -# Unsupported target "shootout-regex-dna-single-cheat" with type "example" omitted - -rust_library( - name = "regex", - srcs = glob(["**/*.rs"]), - crate_features = [ - "aho-corasick", - "default", - "memchr", - "perf", - "perf-cache", - "perf-dfa", - "perf-inline", - "perf-literal", - "std", - "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", - "crate-name=regex", - "manual", - ], - version = "1.5.6", - # buildifier: leave-alone - deps = [ - "@raze__aho_corasick__0_7_18//:aho_corasick", - "@raze__memchr__2_5_0//:memchr", - "@raze__regex_syntax__0_6_26//:regex_syntax", - ], -) - -# Unsupported target "backtrack" with type "test" omitted - -# Unsupported target "backtrack-bytes" with type "test" omitted - -# Unsupported target "backtrack-utf8bytes" with type "test" omitted - -# Unsupported target "crates-regex" with type "test" omitted - -# Unsupported target "default" with type "test" omitted - -# Unsupported target "default-bytes" with type "test" omitted - -# Unsupported target "nfa" with type "test" omitted - -# Unsupported target "nfa-bytes" with type "test" omitted - -# Unsupported target "nfa-utf8bytes" with type "test" omitted 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 deleted file mode 100644 index 5cbb7f56ca3..00000000000 --- a/third_party/rust/remote/BUILD.regex-syntax-0.6.26.bazel +++ /dev/null @@ -1,65 +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", # 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", - "crate-name=regex-syntax", - "manual", - ], - version = "0.6.26", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.remove_dir_all-0.5.3.bazel b/third_party/rust/remote/BUILD.remove_dir_all-0.5.3.bazel deleted file mode 100644 index 6fb1a02fdb3..00000000000 --- a/third_party/rust/remote/BUILD.remove_dir_all-0.5.3.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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "remove_dir_all", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=remove_dir_all", - "manual", - ], - version = "0.5.3", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@raze__winapi__0_3_9//:winapi", - ], - "//conditions:default": [], - }), -) diff --git a/third_party/rust/remote/BUILD.reqwest-0.11.0.bazel b/third_party/rust/remote/BUILD.reqwest-0.11.0.bazel deleted file mode 100644 index cf55e907c93..00000000000 --- a/third_party/rust/remote/BUILD.reqwest-0.11.0.bazel +++ /dev/null @@ -1,139 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "blocking" with type "example" omitted - -# Unsupported target "form" with type "example" omitted - -# Unsupported target "json_dynamic" with type "example" omitted - -# Unsupported target "json_typed" with type "example" omitted - -# Unsupported target "simple" with type "example" omitted - -# Unsupported target "tor_socks" with type "example" omitted - -rust_library( - name = "reqwest", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - "__rustls", - "__tls", - "blocking", - "hyper-rustls", - "json", - "rustls", - "rustls-tls", - "rustls-tls-webpki-roots", - "serde_json", - "tokio-rustls", - "webpki-roots", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=reqwest", - "manual", - ], - version = "0.11.0", - # buildifier: leave-alone - deps = [ - "@raze__bytes__1_0_1//:bytes", - "@raze__http__0_2_1//:http", - "@raze__serde__1_0_144//:serde", - "@raze__serde_json__1_0_61//:serde_json", - "@raze__serde_urlencoded__0_7_0//:serde_urlencoded", - "@raze__url__2_2_0//:url", - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__base64__0_13_0//:base64", - "@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_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_9//:pin_project_lite", - "@raze__rustls__0_19_0//:rustls", - "@raze__tokio__1_19_2//:tokio", - "@raze__tokio_rustls__0_22_0//:tokio_rustls", - "@raze__webpki_roots__0_21_1//:webpki_roots", - ], - "//conditions:default": [], - }) + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@raze__winreg__0_7_0//:winreg", - ], - "//conditions:default": [], - }), -) - -# Unsupported target "badssl" with type "test" omitted - -# Unsupported target "blocking" with type "test" omitted - -# Unsupported target "brotli" with type "test" omitted - -# Unsupported target "client" with type "test" omitted - -# Unsupported target "cookie" with type "test" omitted - -# Unsupported target "gzip" with type "test" omitted - -# Unsupported target "multipart" with type "test" omitted - -# Unsupported target "proxy" with type "test" omitted - -# Unsupported target "redirect" with type "test" omitted - -# Unsupported target "timeouts" with type "test" omitted - -# Unsupported target "wasm_simple" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.ring-0.16.20.bazel b/third_party/rust/remote/BUILD.ring-0.16.20.bazel deleted file mode 100644 index 10ea2a34e13..00000000000 --- a/third_party/rust/remote/BUILD.ring-0.16.20.bazel +++ /dev/null @@ -1,167 +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([ - "restricted", # no license -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "ring_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "alloc", - "default", - "dev_urandom_fallback", - "once_cell", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - links = "ring-asm", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.16.20", - visibility = ["//visibility:private"], - deps = [ - "@raze__cc__1_0_66//:cc", - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - ], - "//conditions:default": [], - }) + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - ], - "//conditions:default": [], - }) + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - ], - "//conditions:default": [], - }), -) - -rust_library( - name = "ring", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - "alloc", - "default", - "dev_urandom_fallback", - "once_cell", - ], - crate_root = "src/lib.rs", - data = [] + glob(["src/**/*.der"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=ring", - "manual", - ], - version = "0.16.20", - # buildifier: leave-alone - deps = [ - ":ring_build_script", - "@raze__untrusted__0_7_1//:untrusted", - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__spin__0_5_2//:spin", - ], - "//conditions:default": [], - }) + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__libc__0_2_126//:libc", - "@raze__once_cell__1_5_2//:once_cell", - ], - "//conditions:default": [], - }) + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@raze__winapi__0_3_9//:winapi", - ], - "//conditions:default": [], - }), -) - -# Unsupported target "aead_tests" with type "test" omitted - -# Unsupported target "agreement_tests" with type "test" omitted - -# Unsupported target "constant_time_tests" with type "test" omitted - -# Unsupported target "digest_tests" with type "test" omitted - -# Unsupported target "ecdsa_tests" with type "test" omitted - -# Unsupported target "ed25519_tests" with type "test" omitted - -# Unsupported target "hkdf_tests" with type "test" omitted - -# Unsupported target "hmac_tests" with type "test" omitted - -# Unsupported target "pbkdf2_tests" with type "test" omitted - -# Unsupported target "quic_tests" with type "test" omitted - -# Unsupported target "rand_tests" with type "test" omitted - -# Unsupported target "rsa_tests" with type "test" omitted - -# Unsupported target "signature_tests" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.rustls-0.19.0.bazel b/third_party/rust/remote/BUILD.rustls-0.19.0.bazel deleted file mode 100644 index 0e51d687b15..00000000000 --- a/third_party/rust/remote/BUILD.rustls-0.19.0.bazel +++ /dev/null @@ -1,81 +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 (ISC OR MIT)" -]) - -# Generated Targets - -# Unsupported target "benchmarks" with type "bench" omitted - -# Unsupported target "bench" with type "example" omitted - -# Unsupported target "bogo_shim" with type "example" omitted - -# Unsupported target "limitedclient" with type "example" omitted - -# Unsupported target "simple_0rtt_client" with type "example" omitted - -# Unsupported target "simpleclient" with type "example" omitted - -# Unsupported target "trytls_shim" with type "example" omitted - -rust_library( - name = "rustls", - srcs = glob(["**/*.rs"]), - crate_features = [ - "dangerous_configuration", - "default", - "log", - "logging", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=rustls", - "manual", - ], - version = "0.19.0", - # buildifier: leave-alone - deps = [ - "@raze__base64__0_13_0//:base64", - "@raze__log__0_4_11//:log", - "@raze__ring__0_16_20//:ring", - "@raze__sct__0_6_1//:sct", - "@raze__webpki__0_21_4//:webpki", - ], -) - -# Unsupported target "api" with type "test" omitted - -# Unsupported target "benchmarks" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.rustls-0.20.6.bazel b/third_party/rust/remote/BUILD.rustls-0.20.6.bazel deleted file mode 100644 index a76f0eef66e..00000000000 --- a/third_party/rust/remote/BUILD.rustls-0.20.6.bazel +++ /dev/null @@ -1,88 +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 (ISC OR MIT)" -]) - -# Generated Targets - -# Unsupported target "benchmarks" with type "bench" omitted - -# Unsupported target "build-script-build" with type "custom-build" omitted - -# Unsupported target "bench" with type "example" omitted - -# Unsupported target "bogo_shim" with type "example" omitted - -# Unsupported target "limitedclient" with type "example" omitted - -# Unsupported target "simple_0rtt_client" with type "example" omitted - -# Unsupported target "simpleclient" with type "example" omitted - -# Unsupported target "trytls_shim" with type "example" omitted - -rust_library( - name = "rustls", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "log", - "logging", - "tls12", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=rustls", - "manual", - ], - version = "0.20.6", - # buildifier: leave-alone - deps = [ - "@raze__log__0_4_11//:log", - "@raze__ring__0_16_20//:ring", - "@raze__sct__0_7_0//:sct", - "@raze__webpki__0_22_0//:webpki", - ], -) - -# Unsupported target "api" with type "test" omitted - -# Unsupported target "benchmarks" with type "test" omitted - -# Unsupported target "client_cert_verifier" with type "test" omitted - -# Unsupported target "key_log_file_env" with type "test" omitted - -# Unsupported target "server_cert_verifier" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.rustls-native-certs-0.6.2.bazel b/third_party/rust/remote/BUILD.rustls-native-certs-0.6.2.bazel deleted file mode 100644 index 04915097998..00000000000 --- a/third_party/rust/remote/BUILD.rustls-native-certs-0.6.2.bazel +++ /dev/null @@ -1,84 +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 (ISC OR MIT)" -]) - -# Generated Targets - -# Unsupported target "google" with type "example" omitted - -# Unsupported target "print-trust-anchors" with type "example" omitted - -rust_library( - name = "rustls_native_certs", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=rustls-native-certs", - "manual", - ], - version = "0.6.2", - # buildifier: leave-alone - deps = [ - "@raze__rustls_pemfile__1_0_1//:rustls_pemfile", - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__openssl_probe__0_1_5//:openssl_probe", - ], - "//conditions:default": [], - }) + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - ): [ - "@raze__security_framework__2_3_1//:security_framework", - ], - "//conditions:default": [], - }) + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@raze__schannel__0_1_20//:schannel", - ], - "//conditions:default": [], - }), -) - -# Unsupported target "compare_mozilla" with type "test" omitted - -# Unsupported target "smoketests" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.rustls-pemfile-1.0.1.bazel b/third_party/rust/remote/BUILD.rustls-pemfile-1.0.1.bazel deleted file mode 100644 index 31b133a69af..00000000000 --- a/third_party/rust/remote/BUILD.rustls-pemfile-1.0.1.bazel +++ /dev/null @@ -1,57 +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 (ISC OR MIT)" -]) - -# Generated Targets - -# Unsupported target "benchmark" with type "bench" omitted - -rust_library( - name = "rustls_pemfile", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=rustls-pemfile", - "manual", - ], - version = "1.0.1", - # buildifier: leave-alone - deps = [ - "@raze__base64__0_13_0//:base64", - ], -) - -# Unsupported target "integration" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.ryu-1.0.5.bazel b/third_party/rust/remote/BUILD.ryu-1.0.5.bazel deleted file mode 100644 index b2f1c0ee7e4..00000000000 --- a/third_party/rust/remote/BUILD.ryu-1.0.5.bazel +++ /dev/null @@ -1,72 +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 BSL-1.0" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -# Unsupported target "build-script-build" with type "custom-build" omitted - -# Unsupported target "upstream_benchmark" with type "example" omitted - -rust_library( - name = "ryu", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=ryu", - "manual", - ], - version = "1.0.5", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "common_test" with type "test" omitted - -# Unsupported target "d2s_table_test" with type "test" omitted - -# Unsupported target "d2s_test" with type "test" omitted - -# Unsupported target "exhaustive" with type "test" omitted - -# Unsupported target "f2s_test" with type "test" omitted - -# Unsupported target "s2d_test" with type "test" omitted - -# Unsupported target "s2f_test" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.same-file-1.0.6.bazel b/third_party/rust/remote/BUILD.same-file-1.0.6.bazel deleted file mode 100644 index 6bb3db92b5f..00000000000 --- a/third_party/rust/remote/BUILD.same-file-1.0.6.bazel +++ /dev/null @@ -1,65 +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([ - "unencumbered", # Unlicense from expression "Unlicense OR MIT" -]) - -# Generated Targets - -# Unsupported target "is_same_file" with type "example" omitted - -# Unsupported target "is_stderr" with type "example" omitted - -rust_library( - name = "same_file", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=same-file", - "manual", - ], - version = "1.0.6", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@raze__winapi_util__0_1_5//:winapi_util", - ], - "//conditions:default": [], - }), -) diff --git a/third_party/rust/remote/BUILD.schannel-0.1.20.bazel b/third_party/rust/remote/BUILD.schannel-0.1.20.bazel deleted file mode 100644 index 1d451c3c86c..00000000000 --- a/third_party/rust/remote/BUILD.schannel-0.1.20.bazel +++ /dev/null @@ -1,54 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_library( - name = "schannel", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=schannel", - "manual", - ], - version = "0.1.20", - # buildifier: leave-alone - deps = [ - "@raze__lazy_static__1_4_0//:lazy_static", - "@raze__windows_sys__0_36_1//:windows_sys", - ], -) diff --git a/third_party/rust/remote/BUILD.scopeguard-1.1.0.bazel b/third_party/rust/remote/BUILD.scopeguard-1.1.0.bazel deleted file mode 100644 index c6124026284..00000000000 --- a/third_party/rust/remote/BUILD.scopeguard-1.1.0.bazel +++ /dev/null @@ -1,54 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "readme" with type "example" omitted - -rust_library( - name = "scopeguard", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=scopeguard", - "manual", - ], - version = "1.1.0", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.sct-0.6.1.bazel b/third_party/rust/remote/BUILD.sct-0.6.1.bazel deleted file mode 100644 index 88edf2faede..00000000000 --- a/third_party/rust/remote/BUILD.sct-0.6.1.bazel +++ /dev/null @@ -1,54 +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 (ISC OR MIT)" -]) - -# Generated Targets - -rust_library( - name = "sct", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=sct", - "manual", - ], - version = "0.6.1", - # buildifier: leave-alone - deps = [ - "@raze__ring__0_16_20//:ring", - "@raze__untrusted__0_7_1//:untrusted", - ], -) diff --git a/third_party/rust/remote/BUILD.sct-0.7.0.bazel b/third_party/rust/remote/BUILD.sct-0.7.0.bazel deleted file mode 100644 index aed878e5006..00000000000 --- a/third_party/rust/remote/BUILD.sct-0.7.0.bazel +++ /dev/null @@ -1,54 +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 (ISC OR MIT)" -]) - -# Generated Targets - -rust_library( - name = "sct", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=sct", - "manual", - ], - version = "0.7.0", - # buildifier: leave-alone - deps = [ - "@raze__ring__0_16_20//:ring", - "@raze__untrusted__0_7_1//:untrusted", - ], -) diff --git a/third_party/rust/remote/BUILD.security-framework-2.3.1.bazel b/third_party/rust/remote/BUILD.security-framework-2.3.1.bazel deleted file mode 100644 index 15df3efab57..00000000000 --- a/third_party/rust/remote/BUILD.security-framework-2.3.1.bazel +++ /dev/null @@ -1,67 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "client" with type "example" omitted - -# Unsupported target "find_internet_password" with type "example" omitted - -# Unsupported target "set_internet_password" with type "example" omitted - -rust_library( - name = "security_framework", - srcs = glob(["**/*.rs"]), - crate_features = [ - "OSX_10_9", - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=security-framework", - "manual", - ], - version = "2.3.1", - # buildifier: leave-alone - deps = [ - "@raze__bitflags__1_2_1//:bitflags", - "@raze__core_foundation__0_9_3//:core_foundation", - "@raze__core_foundation_sys__0_8_3//:core_foundation_sys", - "@raze__libc__0_2_126//:libc", - "@raze__security_framework_sys__2_6_1//:security_framework_sys", - ], -) diff --git a/third_party/rust/remote/BUILD.security-framework-sys-2.6.1.bazel b/third_party/rust/remote/BUILD.security-framework-sys-2.6.1.bazel deleted file mode 100644 index 79200b7319a..00000000000 --- a/third_party/rust/remote/BUILD.security-framework-sys-2.6.1.bazel +++ /dev/null @@ -1,57 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "security_framework_sys", - srcs = glob(["**/*.rs"]), - crate_features = [ - "OSX_10_9", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=security-framework-sys", - "manual", - ], - version = "2.6.1", - # buildifier: leave-alone - deps = [ - "@raze__core_foundation_sys__0_8_3//:core_foundation_sys", - "@raze__libc__0_2_126//:libc", - ], -) diff --git a/third_party/rust/remote/BUILD.serde-1.0.144.bazel b/third_party/rust/remote/BUILD.serde-1.0.144.bazel deleted file mode 100644 index e704f248d9a..00000000000 --- a/third_party/rust/remote/BUILD.serde-1.0.144.bazel +++ /dev/null @@ -1,64 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "serde", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "derive", - "rc", - "serde_derive", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - proc_macro_deps = [ - "@raze__serde_derive__1_0_144//:serde_derive", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=serde", - "manual", - ], - version = "1.0.144", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.serde_derive-1.0.144.bazel b/third_party/rust/remote/BUILD.serde_derive-1.0.144.bazel deleted file mode 100644 index 4d0de879b9d..00000000000 --- a/third_party/rust/remote/BUILD.serde_derive-1.0.144.bazel +++ /dev/null @@ -1,60 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_proc_macro( - name = "serde_derive", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=serde_derive", - "manual", - ], - version = "1.0.144", - # buildifier: leave-alone - deps = [ - "@raze__proc_macro2__1_0_43//:proc_macro2", - "@raze__quote__1_0_7//:quote", - "@raze__syn__1_0_99//:syn", - ], -) diff --git a/third_party/rust/remote/BUILD.serde_json-1.0.61.bazel b/third_party/rust/remote/BUILD.serde_json-1.0.61.bazel deleted file mode 100644 index 5899b79116e..00000000000 --- a/third_party/rust/remote/BUILD.serde_json-1.0.61.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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "serde_json", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=serde_json", - "manual", - ], - version = "1.0.61", - # buildifier: leave-alone - deps = [ - "@raze__itoa__0_4_6//:itoa", - "@raze__ryu__1_0_5//:ryu", - "@raze__serde__1_0_144//:serde", - ], -) diff --git a/third_party/rust/remote/BUILD.serde_urlencoded-0.7.0.bazel b/third_party/rust/remote/BUILD.serde_urlencoded-0.7.0.bazel deleted file mode 100644 index c84393e078e..00000000000 --- a/third_party/rust/remote/BUILD.serde_urlencoded-0.7.0.bazel +++ /dev/null @@ -1,60 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "serde_urlencoded", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=serde_urlencoded", - "manual", - ], - version = "0.7.0", - # buildifier: leave-alone - deps = [ - "@raze__form_urlencoded__1_0_0//:form_urlencoded", - "@raze__itoa__0_4_6//:itoa", - "@raze__ryu__1_0_5//:ryu", - "@raze__serde__1_0_144//:serde", - ], -) - -# Unsupported target "test_deserialize" with type "test" omitted - -# Unsupported target "test_serialize" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.slab-0.4.2.bazel b/third_party/rust/remote/BUILD.slab-0.4.2.bazel deleted file mode 100644 index cb6c380a3df..00000000000 --- a/third_party/rust/remote/BUILD.slab-0.4.2.bazel +++ /dev/null @@ -1,54 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_library( - name = "slab", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=slab", - "manual", - ], - version = "0.4.2", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "slab" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.smallvec-1.10.0.bazel b/third_party/rust/remote/BUILD.smallvec-1.10.0.bazel deleted file mode 100644 index c8fee71d763..00000000000 --- a/third_party/rust/remote/BUILD.smallvec-1.10.0.bazel +++ /dev/null @@ -1,58 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -rust_library( - name = "smallvec", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=smallvec", - "manual", - ], - version = "1.10.0", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "debugger_visualizer" with type "test" omitted - -# Unsupported target "macro" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.socket2-0.4.4.bazel b/third_party/rust/remote/BUILD.socket2-0.4.4.bazel deleted file mode 100644 index 9f526d30890..00000000000 --- a/third_party/rust/remote/BUILD.socket2-0.4.4.bazel +++ /dev/null @@ -1,72 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "socket2", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - "all", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=socket2", - "manual", - ], - version = "0.4.4", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__libc__0_2_126//:libc", - ], - "//conditions:default": [], - }) + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@raze__winapi__0_3_9//:winapi", - ], - "//conditions:default": [], - }), -) diff --git a/third_party/rust/remote/BUILD.spin-0.5.2.bazel b/third_party/rust/remote/BUILD.spin-0.5.2.bazel deleted file mode 100644 index d6f078b0e59..00000000000 --- a/third_party/rust/remote/BUILD.spin-0.5.2.bazel +++ /dev/null @@ -1,54 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -# Unsupported target "debug" with type "example" omitted - -rust_library( - name = "spin", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=spin", - "manual", - ], - version = "0.5.2", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.strsim-0.10.0.bazel b/third_party/rust/remote/BUILD.strsim-0.10.0.bazel deleted file mode 100644 index ce9e6da3228..00000000000 --- a/third_party/rust/remote/BUILD.strsim-0.10.0.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", # MIT from expression "MIT" -]) - -# Generated Targets - -# Unsupported target "benches" with type "bench" omitted - -rust_library( - name = "strsim", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=strsim", - "manual", - ], - version = "0.10.0", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "lib" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.syn-1.0.99.bazel b/third_party/rust/remote/BUILD.syn-1.0.99.bazel deleted file mode 100644 index 676e132b910..00000000000 --- a/third_party/rust/remote/BUILD.syn-1.0.99.bazel +++ /dev/null @@ -1,128 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "file" with type "bench" omitted - -# Unsupported target "rust" with type "bench" omitted - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "syn", - srcs = glob(["**/*.rs"]), - crate_features = [ - "clone-impls", - "default", - "derive", - "extra-traits", - "full", - "parsing", - "printing", - "proc-macro", - "quote", - "visit", - "visit-mut", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=syn", - "manual", - ], - version = "1.0.99", - # buildifier: leave-alone - deps = [ - "@raze__proc_macro2__1_0_43//:proc_macro2", - "@raze__quote__1_0_7//:quote", - "@raze__unicode_ident__1_0_3//:unicode_ident", - ], -) - -# Unsupported target "regression" with type "test" omitted - -# Unsupported target "test_asyncness" with type "test" omitted - -# Unsupported target "test_attribute" with type "test" omitted - -# Unsupported target "test_derive_input" with type "test" omitted - -# Unsupported target "test_expr" with type "test" omitted - -# Unsupported target "test_generics" with type "test" omitted - -# Unsupported target "test_grouping" with type "test" omitted - -# Unsupported target "test_ident" with type "test" omitted - -# Unsupported target "test_item" with type "test" omitted - -# Unsupported target "test_iterators" with type "test" omitted - -# Unsupported target "test_lit" with type "test" omitted - -# Unsupported target "test_meta" with type "test" omitted - -# Unsupported target "test_parse_buffer" with type "test" omitted - -# Unsupported target "test_parse_stream" with type "test" omitted - -# Unsupported target "test_pat" with type "test" omitted - -# Unsupported target "test_path" with type "test" omitted - -# Unsupported target "test_precedence" with type "test" omitted - -# Unsupported target "test_receiver" with type "test" omitted - -# Unsupported target "test_round_trip" with type "test" omitted - -# Unsupported target "test_shebang" with type "test" omitted - -# Unsupported target "test_should_parse" with type "test" omitted - -# Unsupported target "test_size" with type "test" omitted - -# Unsupported target "test_stmt" with type "test" omitted - -# Unsupported target "test_token_trees" with type "test" omitted - -# Unsupported target "test_ty" with type "test" omitted - -# Unsupported target "test_visibility" with type "test" omitted - -# Unsupported target "zzz_stable" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.tempfile-3.1.0.bazel b/third_party/rust/remote/BUILD.tempfile-3.1.0.bazel deleted file mode 100644 index 41370e7ee5a..00000000000 --- a/third_party/rust/remote/BUILD.tempfile-3.1.0.bazel +++ /dev/null @@ -1,80 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "tempfile", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tempfile", - "manual", - ], - version = "3.1.0", - # buildifier: leave-alone - deps = [ - "@raze__cfg_if__0_1_10//:cfg_if", - "@raze__rand__0_7_3//:rand", - "@raze__remove_dir_all__0_5_3//:remove_dir_all", - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__libc__0_2_126//:libc", - ], - "//conditions:default": [], - }) + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@raze__winapi__0_3_9//:winapi", - ], - "//conditions:default": [], - }), -) - -# Unsupported target "namedtempfile" with type "test" omitted - -# Unsupported target "spooled" with type "test" omitted - -# Unsupported target "tempdir" with type "test" omitted - -# Unsupported target "tempfile" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.termcolor-1.1.0.bazel b/third_party/rust/remote/BUILD.termcolor-1.1.0.bazel deleted file mode 100644 index 5a98fbbdc69..00000000000 --- a/third_party/rust/remote/BUILD.termcolor-1.1.0.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([ - "unencumbered", # Unlicense from expression "Unlicense OR MIT" -]) - -# Generated Targets - -rust_library( - name = "termcolor", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=termcolor", - "manual", - ], - version = "1.1.0", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@raze__winapi_util__0_1_5//:winapi_util", - ], - "//conditions:default": [], - }), -) diff --git a/third_party/rust/remote/BUILD.textwrap-0.12.1.bazel b/third_party/rust/remote/BUILD.textwrap-0.12.1.bazel deleted file mode 100644 index 70535bdd874..00000000000 --- a/third_party/rust/remote/BUILD.textwrap-0.12.1.bazel +++ /dev/null @@ -1,63 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -# Unsupported target "linear" with type "bench" omitted - -# Unsupported target "hyphenation" with type "example" omitted - -# Unsupported target "layout" with type "example" omitted - -# Unsupported target "termwidth" with type "example" omitted - -rust_library( - name = "textwrap", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=textwrap", - "manual", - ], - version = "0.12.1", - # buildifier: leave-alone - deps = [ - "@raze__unicode_width__0_1_8//:unicode_width", - ], -) - -# Unsupported target "version-numbers" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.thiserror-1.0.22.bazel b/third_party/rust/remote/BUILD.thiserror-1.0.22.bazel deleted file mode 100644 index 768563d7824..00000000000 --- a/third_party/rust/remote/BUILD.thiserror-1.0.22.bazel +++ /dev/null @@ -1,79 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "thiserror", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - proc_macro_deps = [ - "@raze__thiserror_impl__1_0_22//:thiserror_impl", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=thiserror", - "manual", - ], - version = "1.0.22", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "compiletest" with type "test" omitted - -# Unsupported target "test_backtrace" with type "test" omitted - -# Unsupported target "test_deprecated" with type "test" omitted - -# Unsupported target "test_display" with type "test" omitted - -# Unsupported target "test_error" with type "test" omitted - -# Unsupported target "test_expr" with type "test" omitted - -# Unsupported target "test_from" with type "test" omitted - -# Unsupported target "test_lints" with type "test" omitted - -# Unsupported target "test_option" with type "test" omitted - -# Unsupported target "test_path" with type "test" omitted - -# Unsupported target "test_source" with type "test" omitted - -# Unsupported target "test_transparent" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.thiserror-impl-1.0.22.bazel b/third_party/rust/remote/BUILD.thiserror-impl-1.0.22.bazel deleted file mode 100644 index ca4e1793149..00000000000 --- a/third_party/rust/remote/BUILD.thiserror-impl-1.0.22.bazel +++ /dev/null @@ -1,55 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_proc_macro( - name = "thiserror_impl", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=thiserror-impl", - "manual", - ], - version = "1.0.22", - # buildifier: leave-alone - deps = [ - "@raze__proc_macro2__1_0_43//:proc_macro2", - "@raze__quote__1_0_7//:quote", - "@raze__syn__1_0_99//:syn", - ], -) diff --git a/third_party/rust/remote/BUILD.time-0.3.14.bazel b/third_party/rust/remote/BUILD.time-0.3.14.bazel deleted file mode 100644 index 2fe2800647c..00000000000 --- a/third_party/rust/remote/BUILD.time-0.3.14.bazel +++ /dev/null @@ -1,72 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "benchmarks" with type "bench" omitted - -rust_library( - name = "time", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - "alloc", - "default", - "serde", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=time", - "manual", - ], - version = "0.3.14", - # buildifier: leave-alone - deps = [ - "@raze__serde__1_0_144//:serde", - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__libc__0_2_126//:libc", - "@raze__num_threads__0_1_6//:num_threads", - ], - "//conditions:default": [], - }), -) diff --git a/third_party/rust/remote/BUILD.tinyvec-1.1.1.bazel b/third_party/rust/remote/BUILD.tinyvec-1.1.1.bazel deleted file mode 100644 index ab6f7deda39..00000000000 --- a/third_party/rust/remote/BUILD.tinyvec-1.1.1.bazel +++ /dev/null @@ -1,64 +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", # Zlib from expression "Zlib OR (Apache-2.0 OR MIT)" -]) - -# Generated Targets - -# Unsupported target "macros" with type "bench" omitted - -rust_library( - name = "tinyvec", - srcs = glob(["**/*.rs"]), - crate_features = [ - "alloc", - "default", - "tinyvec_macros", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tinyvec", - "manual", - ], - version = "1.1.1", - # buildifier: leave-alone - deps = [ - "@raze__tinyvec_macros__0_1_0//:tinyvec_macros", - ], -) - -# Unsupported target "arrayvec" with type "test" omitted - -# Unsupported target "tinyvec" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.tinyvec_macros-0.1.0.bazel b/third_party/rust/remote/BUILD.tinyvec_macros-0.1.0.bazel deleted file mode 100644 index a1da00c6ac9..00000000000 --- a/third_party/rust/remote/BUILD.tinyvec_macros-0.1.0.bazel +++ /dev/null @@ -1,52 +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", # MIT from expression "MIT OR (Apache-2.0 OR Zlib)" -]) - -# Generated Targets - -rust_library( - name = "tinyvec_macros", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tinyvec_macros", - "manual", - ], - version = "0.1.0", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.tokio-1.19.2.bazel b/third_party/rust/remote/BUILD.tokio-1.19.2.bazel deleted file mode 100644 index e844ed62615..00000000000 --- a/third_party/rust/remote/BUILD.tokio-1.19.2.bazel +++ /dev/null @@ -1,318 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_library( - name = "tokio", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - "bytes", - "default", - "fs", - "io-std", - "io-util", - "libc", - "macros", - "memchr", - "mio", - "net", - "num_cpus", - "once_cell", - "parking_lot", - "rt", - "rt-multi-thread", - "socket2", - "sync", - "time", - "tokio-macros", - "winapi", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - proc_macro_deps = [ - "@raze__tokio_macros__1_8_0//:tokio_macros", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tokio", - "manual", - ], - version = "1.19.2", - # buildifier: leave-alone - deps = [ - "@raze__bytes__1_0_1//:bytes", - "@raze__memchr__2_5_0//:memchr", - "@raze__mio__0_8_3//:mio", - "@raze__num_cpus__1_13_0//:num_cpus", - "@raze__once_cell__1_5_2//:once_cell", - "@raze__parking_lot__0_12_1//:parking_lot", - "@raze__pin_project_lite__0_2_9//:pin_project_lite", - "@raze__socket2__0_4_4//:socket2", - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__libc__0_2_126//:libc", - ], - "//conditions:default": [], - }) + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@raze__winapi__0_3_9//:winapi", - ], - "//conditions:default": [], - }), -) - -# Unsupported target "_require_full" with type "test" omitted - -# Unsupported target "async_send_sync" with type "test" omitted - -# Unsupported target "buffered" with type "test" omitted - -# Unsupported target "fs" with type "test" omitted - -# Unsupported target "fs_copy" with type "test" omitted - -# Unsupported target "fs_dir" with type "test" omitted - -# Unsupported target "fs_file" with type "test" omitted - -# Unsupported target "fs_link" with type "test" omitted - -# Unsupported target "io_async_fd" with type "test" omitted - -# Unsupported target "io_async_read" with type "test" omitted - -# Unsupported target "io_buf_reader" with type "test" omitted - -# Unsupported target "io_buf_writer" with type "test" omitted - -# Unsupported target "io_chain" with type "test" omitted - -# Unsupported target "io_copy" with type "test" omitted - -# Unsupported target "io_copy_bidirectional" with type "test" omitted - -# Unsupported target "io_driver" with type "test" omitted - -# 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 - -# Unsupported target "io_read_exact" with type "test" omitted - -# Unsupported target "io_read_line" with type "test" omitted - -# Unsupported target "io_read_to_end" with type "test" omitted - -# Unsupported target "io_read_to_string" with type "test" omitted - -# Unsupported target "io_read_until" with type "test" omitted - -# Unsupported target "io_split" with type "test" omitted - -# 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 - -# Unsupported target "io_write_all_buf" with type "test" omitted - -# Unsupported target "io_write_buf" with type "test" omitted - -# 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 - -# Unsupported target "macros_try_join" with type "test" omitted - -# Unsupported target "named_pipe" with type "test" omitted - -# Unsupported target "net_bind_resource" with type "test" omitted - -# Unsupported target "net_lookup_host" with type "test" omitted - -# 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 - -# Unsupported target "rt_common" with type "test" omitted - -# 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 - -# Unsupported target "signal_drop_recv" with type "test" omitted - -# Unsupported target "signal_drop_rt" with type "test" omitted - -# Unsupported target "signal_drop_signal" with type "test" omitted - -# Unsupported target "signal_multi_rt" with type "test" omitted - -# Unsupported target "signal_no_rt" with type "test" omitted - -# Unsupported target "signal_notify_both" with type "test" omitted - -# Unsupported target "signal_twice" with type "test" omitted - -# Unsupported target "signal_usr1" with type "test" omitted - -# Unsupported target "sync_barrier" with type "test" omitted - -# Unsupported target "sync_broadcast" with type "test" omitted - -# Unsupported target "sync_errors" with type "test" omitted - -# Unsupported target "sync_mpsc" with type "test" omitted - -# Unsupported target "sync_mutex" with type "test" omitted - -# Unsupported target "sync_mutex_owned" with type "test" omitted - -# Unsupported target "sync_notify" with type "test" omitted - -# Unsupported target "sync_once_cell" with type "test" omitted - -# Unsupported target "sync_oneshot" with type "test" omitted - -# Unsupported target "sync_rwlock" with type "test" omitted - -# Unsupported target "sync_semaphore" with type "test" omitted - -# Unsupported target "sync_semaphore_owned" with type "test" omitted - -# Unsupported target "sync_watch" with type "test" omitted - -# Unsupported target "task_abort" with type "test" omitted - -# Unsupported target "task_blocking" with type "test" omitted - -# 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 - -# Unsupported target "tcp_accept" with type "test" omitted - -# Unsupported target "tcp_connect" with type "test" omitted - -# Unsupported target "tcp_echo" with type "test" omitted - -# Unsupported target "tcp_into_split" with type "test" omitted - -# Unsupported target "tcp_into_std" with type "test" omitted - -# Unsupported target "tcp_peek" with type "test" omitted - -# Unsupported target "tcp_shutdown" with type "test" omitted - -# Unsupported target "tcp_socket" with type "test" omitted - -# Unsupported target "tcp_split" with type "test" omitted - -# Unsupported target "tcp_stream" with type "test" omitted - -# Unsupported target "test_clock" with type "test" omitted - -# Unsupported target "time_interval" with type "test" omitted - -# Unsupported target "time_pause" with type "test" omitted - -# Unsupported target "time_rt" with type "test" omitted - -# Unsupported target "time_sleep" with type "test" omitted - -# Unsupported target "time_timeout" with type "test" omitted - -# Unsupported target "udp" with type "test" omitted - -# Unsupported target "uds_cred" with type "test" omitted - -# Unsupported target "uds_datagram" with type "test" omitted - -# 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 deleted file mode 100644 index 652e4f86cc2..00000000000 --- a/third_party/rust/remote/BUILD.tokio-io-timeout-1.2.0.bazel +++ /dev/null @@ -1,54 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "tokio_io_timeout", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tokio-io-timeout", - "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-macros-1.8.0.bazel b/third_party/rust/remote/BUILD.tokio-macros-1.8.0.bazel deleted file mode 100644 index 074b1ca40e7..00000000000 --- a/third_party/rust/remote/BUILD.tokio-macros-1.8.0.bazel +++ /dev/null @@ -1,55 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_proc_macro( - name = "tokio_macros", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tokio-macros", - "manual", - ], - version = "1.8.0", - # buildifier: leave-alone - deps = [ - "@raze__proc_macro2__1_0_43//:proc_macro2", - "@raze__quote__1_0_7//:quote", - "@raze__syn__1_0_99//:syn", - ], -) 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 deleted file mode 100644 index 86743635e45..00000000000 --- a/third_party/rust/remote/BUILD.tokio-rustls-0.22.0.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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "tokio_rustls", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tokio-rustls", - "manual", - ], - version = "0.22.0", - # buildifier: leave-alone - deps = [ - "@raze__rustls__0_19_0//:rustls", - "@raze__tokio__1_19_2//:tokio", - "@raze__webpki__0_21_4//:webpki", - ], -) - -# Unsupported target "badssl" with type "test" omitted - -# Unsupported target "early-data" with type "test" omitted - -# Unsupported target "test" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.tokio-rustls-0.23.4.bazel b/third_party/rust/remote/BUILD.tokio-rustls-0.23.4.bazel deleted file mode 100644 index 9edd661f981..00000000000 --- a/third_party/rust/remote/BUILD.tokio-rustls-0.23.4.bazel +++ /dev/null @@ -1,63 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "tokio_rustls", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tokio-rustls", - "manual", - ], - version = "0.23.4", - # buildifier: leave-alone - deps = [ - "@raze__rustls__0_20_6//:rustls", - "@raze__tokio__1_19_2//:tokio", - "@raze__webpki__0_22_0//:webpki", - ], -) - -# Unsupported target "badssl" with type "test" omitted - -# Unsupported target "early-data" with type "test" omitted - -# Unsupported target "test" with type "test" omitted - -# Unsupported target "utils" with type "test" omitted 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 deleted file mode 100644 index a8e18452d19..00000000000 --- a/third_party/rust/remote/BUILD.tokio-stream-0.1.2.bazel +++ /dev/null @@ -1,84 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_library( - name = "tokio_stream", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "net", - "time", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tokio-stream", - "manual", - ], - version = "0.1.2", - # buildifier: leave-alone - deps = [ - "@raze__futures_core__0_3_12//:futures_core", - "@raze__pin_project_lite__0_2_9//:pin_project_lite", - "@raze__tokio__1_19_2//:tokio", - ], -) - -# Unsupported target "async_send_sync" with type "test" omitted - -# Unsupported target "stream_chain" with type "test" omitted - -# Unsupported target "stream_collect" with type "test" omitted - -# Unsupported target "stream_empty" with type "test" omitted - -# Unsupported target "stream_fuse" with type "test" omitted - -# Unsupported target "stream_iter" with type "test" omitted - -# Unsupported target "stream_merge" with type "test" omitted - -# Unsupported target "stream_once" with type "test" omitted - -# Unsupported target "stream_pending" with type "test" omitted - -# Unsupported target "stream_stream_map" with type "test" omitted - -# Unsupported target "stream_timeout" with type "test" omitted - -# Unsupported target "time_throttle" with type "test" omitted 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 deleted file mode 100644 index fe328b53e70..00000000000 --- a/third_party/rust/remote/BUILD.tokio-util-0.6.6.bazel +++ /dev/null @@ -1,90 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_library( - name = "tokio_util", - srcs = glob(["**/*.rs"]), - crate_features = [ - "codec", - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tokio-util", - "manual", - ], - version = "0.6.6", - # 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__log__0_4_11//:log", - "@raze__pin_project_lite__0_2_9//:pin_project_lite", - "@raze__tokio__1_19_2//:tokio", - ], -) - -# 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_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 "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 "sync_cancellation_token" 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.tokio-util-0.7.3.bazel b/third_party/rust/remote/BUILD.tokio-util-0.7.3.bazel deleted file mode 100644 index 60234bb6209..00000000000 --- a/third_party/rust/remote/BUILD.tokio-util-0.7.3.bazel +++ /dev/null @@ -1,101 +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", # 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", - "crate-name=tokio-util", - "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.6.2.bazel b/third_party/rust/remote/BUILD.tonic-0.6.2.bazel deleted file mode 100644 index 9d57f86ce07..00000000000 --- a/third_party/rust/remote/BUILD.tonic-0.6.2.bazel +++ /dev/null @@ -1,97 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -# Unsupported target "decode" with type "bench" omitted - -rust_library( - name = "tonic", - srcs = glob(["**/*.rs"]), - aliases = { - "@raze__prost__0_9_0//:prost": "prost1", - }, - crate_features = [ - "async-trait", - "codegen", - "default", - "h2", - "hyper", - "hyper-timeout", - "prost", - "prost-derive", - "prost1", - "tokio", - "tower", - "tracing-futures", - "transport", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - proc_macro_deps = [ - "@raze__async_trait__0_1_41//:async_trait", - "@raze__prost_derive__0_9_0//:prost_derive", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tonic", - "manual", - ], - version = "0.6.2", - # buildifier: leave-alone - deps = [ - "@raze__async_stream__0_3_0//:async_stream", - "@raze__base64__0_13_0//:base64", - "@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_19//:h2", - "@raze__http__0_2_1//:http", - "@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_12//:pin_project", - "@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_11//:tower", - "@raze__tower_layer__0_3_1//:tower_layer", - "@raze__tower_service__0_3_0//:tower_service", - "@raze__tracing__0_1_34//:tracing", - "@raze__tracing_futures__0_2_5//:tracing_futures", - ], -) diff --git a/third_party/rust/remote/BUILD.tonic-build-0.6.2.bazel b/third_party/rust/remote/BUILD.tonic-build-0.6.2.bazel deleted file mode 100644 index e0b0b7779c5..00000000000 --- a/third_party/rust/remote/BUILD.tonic-build-0.6.2.bazel +++ /dev/null @@ -1,63 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_library( - name = "tonic_build", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "prost", - "prost-build", - "rustfmt", - "transport", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tonic-build", - "manual", - ], - version = "0.6.2", - # buildifier: leave-alone - deps = [ - "@raze__proc_macro2__1_0_43//:proc_macro2", - "@raze__prost_build__0_9_0//:prost_build", - "@raze__quote__1_0_7//:quote", - "@raze__syn__1_0_99//:syn", - ], -) diff --git a/third_party/rust/remote/BUILD.tonic-reflection-0.3.0.bazel b/third_party/rust/remote/BUILD.tonic-reflection-0.3.0.bazel deleted file mode 100644 index ed856c1467c..00000000000 --- a/third_party/rust/remote/BUILD.tonic-reflection-0.3.0.bazel +++ /dev/null @@ -1,101 +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", # MIT from expression "MIT" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "tonic_reflection_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - "PROTOC": "$(execpath @com_google_protobuf//:protoc)", - "RUSTFMT": "/bin/true", - }, - crate_features = [ - "default", - "rustfmt", - ], - crate_root = "build.rs", - data = glob(["**"]) + [ - "@com_google_protobuf//:protoc", - ], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.3.0", - visibility = ["//visibility:private"], - deps = [ - "@raze__tonic_build__0_6_2//:tonic_build", - ], -) - -rust_library( - name = "tonic_reflection", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "rustfmt", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tonic-reflection", - "manual", - ], - version = "0.3.0", - # buildifier: leave-alone - deps = [ - ":tonic_reflection_build_script", - "@raze__bytes__1_0_1//:bytes", - "@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_6_2//:tonic", - ], -) - -# Unsupported target "server" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.tower-0.4.11.bazel b/third_party/rust/remote/BUILD.tower-0.4.11.bazel deleted file mode 100644 index eb08ddd4dfe..00000000000 --- a/third_party/rust/remote/BUILD.tower-0.4.11.bazel +++ /dev/null @@ -1,112 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -# Unsupported target "tower-balance" with type "example" omitted - -rust_library( - name = "tower", - srcs = glob(["**/*.rs"]), - crate_features = [ - "balance", - "buffer", - "default", - "discover", - "futures-util", - "indexmap", - "limit", - "load", - "log", - "make", - "rand", - "ready-cache", - "slab", - "timeout", - "tokio", - "tokio-stream", - "tokio-util", - "tracing", - "util", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tower", - "manual", - ], - 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_8_2//:indexmap", - "@raze__pin_project__1_0_12//: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_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_34//:tracing", - ], -) - -# Unsupported target "balance" with type "test" omitted - -# Unsupported target "buffer" with type "test" omitted - -# Unsupported target "builder" with type "test" omitted - -# Unsupported target "hedge" with type "test" omitted - -# Unsupported target "limit" with type "test" omitted - -# Unsupported target "load_shed" with type "test" omitted - -# Unsupported target "ready_cache" with type "test" omitted - -# Unsupported target "retry" with type "test" omitted - -# Unsupported target "spawn_ready" with type "test" omitted - -# Unsupported target "steer" with type "test" omitted - -# Unsupported target "support" with type "test" omitted - -# Unsupported target "util" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.tower-layer-0.3.1.bazel b/third_party/rust/remote/BUILD.tower-layer-0.3.1.bazel deleted file mode 100644 index 13f131b7355..00000000000 --- a/third_party/rust/remote/BUILD.tower-layer-0.3.1.bazel +++ /dev/null @@ -1,52 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_library( - name = "tower_layer", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tower-layer", - "manual", - ], - version = "0.3.1", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.tower-service-0.3.0.bazel b/third_party/rust/remote/BUILD.tower-service-0.3.0.bazel deleted file mode 100644 index 0ee19956b93..00000000000 --- a/third_party/rust/remote/BUILD.tower-service-0.3.0.bazel +++ /dev/null @@ -1,52 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_library( - name = "tower_service", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tower-service", - "manual", - ], - version = "0.3.0", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.tracing-0.1.34.bazel b/third_party/rust/remote/BUILD.tracing-0.1.34.bazel deleted file mode 100644 index 07491bcca30..00000000000 --- a/third_party/rust/remote/BUILD.tracing-0.1.34.bazel +++ /dev/null @@ -1,106 +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", # MIT from expression "MIT" -]) - -# 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 - -rust_library( - name = "tracing", - srcs = glob(["**/*.rs"]), - crate_features = [ - "attributes", - "default", - "log", - "std", - "tracing-attributes", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - proc_macro_deps = [ - "@raze__tracing_attributes__0_1_21//:tracing_attributes", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tracing", - "manual", - ], - version = "0.1.34", - # buildifier: leave-alone - deps = [ - "@raze__cfg_if__1_0_0//:cfg_if", - "@raze__log__0_4_11//:log", - "@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 - -# Unsupported target "filters_are_not_reevaluated_for_the_same_span" with type "test" omitted - -# Unsupported target "filters_are_reevaluated_for_different_call_sites" with type "test" omitted - -# 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.21.bazel b/third_party/rust/remote/BUILD.tracing-attributes-0.1.21.bazel deleted file mode 100644 index 904c61bf836..00000000000 --- a/third_party/rust/remote/BUILD.tracing-attributes-0.1.21.bazel +++ /dev/null @@ -1,77 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_proc_macro( - name = "tracing_attributes", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tracing-attributes", - "manual", - ], - version = "0.1.21", - # buildifier: leave-alone - deps = [ - "@raze__proc_macro2__1_0_43//:proc_macro2", - "@raze__quote__1_0_7//:quote", - "@raze__syn__1_0_99//:syn", - ], -) - -# Unsupported target "async_fn" with type "test" omitted - -# Unsupported target "destructuring" with type "test" omitted - -# Unsupported target "err" with type "test" omitted - -# 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 "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.26.bazel b/third_party/rust/remote/BUILD.tracing-core-0.1.26.bazel deleted file mode 100644 index dfb39e9e9b7..00000000000 --- a/third_party/rust/remote/BUILD.tracing-core-0.1.26.bazel +++ /dev/null @@ -1,63 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_library( - name = "tracing_core", - srcs = glob(["**/*.rs"]), - crate_features = [ - "lazy_static", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tracing-core", - "manual", - ], - version = "0.1.26", - # buildifier: leave-alone - deps = [ - "@raze__lazy_static__1_4_0//:lazy_static", - ], -) - -# Unsupported target "dispatch" with type "test" omitted - -# Unsupported target "global_dispatch" with type "test" omitted - -# Unsupported target "macros" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.tracing-futures-0.2.5.bazel b/third_party/rust/remote/BUILD.tracing-futures-0.2.5.bazel deleted file mode 100644 index 4d8c8c20577..00000000000 --- a/third_party/rust/remote/BUILD.tracing-futures-0.2.5.bazel +++ /dev/null @@ -1,64 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_library( - name = "tracing_futures", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "pin-project", - "std", - "std-future", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tracing-futures", - "manual", - ], - version = "0.2.5", - # buildifier: leave-alone - deps = [ - "@raze__pin_project__1_0_12//:pin_project", - "@raze__tracing__0_1_34//:tracing", - ], -) - -# Unsupported target "std_future" with type "test" omitted - -# Unsupported target "support" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.try-lock-0.2.3.bazel b/third_party/rust/remote/BUILD.try-lock-0.2.3.bazel deleted file mode 100644 index 639354869f8..00000000000 --- a/third_party/rust/remote/BUILD.try-lock-0.2.3.bazel +++ /dev/null @@ -1,52 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_library( - name = "try_lock", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=try-lock", - "manual", - ], - version = "0.2.3", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.unicode-bidi-0.3.4.bazel b/third_party/rust/remote/BUILD.unicode-bidi-0.3.4.bazel deleted file mode 100644 index bc1e6615553..00000000000 --- a/third_party/rust/remote/BUILD.unicode-bidi-0.3.4.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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "unicode_bidi", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=unicode_bidi", - "manual", - ], - version = "0.3.4", - # buildifier: leave-alone - deps = [ - "@raze__matches__0_1_8//:matches", - ], -) diff --git a/third_party/rust/remote/BUILD.unicode-ident-1.0.3.bazel b/third_party/rust/remote/BUILD.unicode-ident-1.0.3.bazel deleted file mode 100644 index 5c70e52c482..00000000000 --- a/third_party/rust/remote/BUILD.unicode-ident-1.0.3.bazel +++ /dev/null @@ -1,58 +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", # MIT from expression "(MIT OR Apache-2.0) AND Unicode-DFS-2016" -]) - -# Generated Targets - -# Unsupported target "xid" with type "bench" omitted - -rust_library( - name = "unicode_ident", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=unicode-ident", - "manual", - ], - version = "1.0.3", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "compare" with type "test" omitted - -# Unsupported target "static_size" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.unicode-normalization-0.1.16.bazel b/third_party/rust/remote/BUILD.unicode-normalization-0.1.16.bazel deleted file mode 100644 index 93aa53e27ed..00000000000 --- a/third_party/rust/remote/BUILD.unicode-normalization-0.1.16.bazel +++ /dev/null @@ -1,59 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -rust_library( - name = "unicode_normalization", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=unicode-normalization", - "manual", - ], - version = "0.1.16", - # buildifier: leave-alone - deps = [ - "@raze__tinyvec__1_1_1//:tinyvec", - ], -) diff --git a/third_party/rust/remote/BUILD.unicode-segmentation-1.6.0.bazel b/third_party/rust/remote/BUILD.unicode-segmentation-1.6.0.bazel deleted file mode 100644 index a404166e21a..00000000000 --- a/third_party/rust/remote/BUILD.unicode-segmentation-1.6.0.bazel +++ /dev/null @@ -1,52 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "unicode_segmentation", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=unicode-segmentation", - "manual", - ], - version = "1.6.0", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.unicode-width-0.1.8.bazel b/third_party/rust/remote/BUILD.unicode-width-0.1.8.bazel deleted file mode 100644 index a0bee6b0dcb..00000000000 --- a/third_party/rust/remote/BUILD.unicode-width-0.1.8.bazel +++ /dev/null @@ -1,55 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "unicode_width", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=unicode-width", - "manual", - ], - version = "0.1.8", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.untrusted-0.7.1.bazel b/third_party/rust/remote/BUILD.untrusted-0.7.1.bazel deleted file mode 100644 index 76c92ea8b91..00000000000 --- a/third_party/rust/remote/BUILD.untrusted-0.7.1.bazel +++ /dev/null @@ -1,54 +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", # ISC from expression "ISC" -]) - -# Generated Targets - -rust_library( - name = "untrusted", - srcs = glob(["**/*.rs"]), - crate_root = "src/untrusted.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=untrusted", - "manual", - ], - version = "0.7.1", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "tests" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.url-2.2.0.bazel b/third_party/rust/remote/BUILD.url-2.2.0.bazel deleted file mode 100644 index e87f4fa9be2..00000000000 --- a/third_party/rust/remote/BUILD.url-2.2.0.bazel +++ /dev/null @@ -1,58 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "parse_url" with type "bench" omitted - -rust_library( - name = "url", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=url", - "manual", - ], - version = "2.2.0", - # buildifier: leave-alone - deps = [ - "@raze__form_urlencoded__1_0_0//:form_urlencoded", - "@raze__idna__0_2_0//:idna", - "@raze__matches__0_1_8//:matches", - "@raze__percent_encoding__2_1_0//:percent_encoding", - ], -) diff --git a/third_party/rust/remote/BUILD.vec_map-0.8.2.bazel b/third_party/rust/remote/BUILD.vec_map-0.8.2.bazel deleted file mode 100644 index cd206f0668c..00000000000 --- a/third_party/rust/remote/BUILD.vec_map-0.8.2.bazel +++ /dev/null @@ -1,52 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "vec_map", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=vec_map", - "manual", - ], - version = "0.8.2", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.version_check-0.9.2.bazel b/third_party/rust/remote/BUILD.version_check-0.9.2.bazel deleted file mode 100644 index 6e5d5856fa7..00000000000 --- a/third_party/rust/remote/BUILD.version_check-0.9.2.bazel +++ /dev/null @@ -1,52 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "version_check", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=version_check", - "manual", - ], - version = "0.9.2", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.walkdir-2.3.1.bazel b/third_party/rust/remote/BUILD.walkdir-2.3.1.bazel deleted file mode 100644 index d8e14575320..00000000000 --- a/third_party/rust/remote/BUILD.walkdir-2.3.1.bazel +++ /dev/null @@ -1,63 +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([ - "unencumbered", # Unlicense from expression "Unlicense OR MIT" -]) - -# Generated Targets - -rust_library( - name = "walkdir", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=walkdir", - "manual", - ], - version = "2.3.1", - # buildifier: leave-alone - deps = [ - "@raze__same_file__1_0_6//:same_file", - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@raze__winapi__0_3_9//:winapi", - "@raze__winapi_util__0_1_5//:winapi_util", - ], - "//conditions:default": [], - }), -) diff --git a/third_party/rust/remote/BUILD.want-0.3.0.bazel b/third_party/rust/remote/BUILD.want-0.3.0.bazel deleted file mode 100644 index 765a9ed5084..00000000000 --- a/third_party/rust/remote/BUILD.want-0.3.0.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", # MIT from expression "MIT" -]) - -# Generated Targets - -# Unsupported target "throughput" with type "bench" omitted - -rust_library( - name = "want", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=want", - "manual", - ], - version = "0.3.0", - # buildifier: leave-alone - deps = [ - "@raze__log__0_4_11//:log", - "@raze__try_lock__0_2_3//:try_lock", - ], -) diff --git a/third_party/rust/remote/BUILD.wasi-0.10.1+wasi-snapshot-preview1.bazel b/third_party/rust/remote/BUILD.wasi-0.10.1+wasi-snapshot-preview1.bazel deleted file mode 100644 index 6d1aabdadad..00000000000 --- a/third_party/rust/remote/BUILD.wasi-0.10.1+wasi-snapshot-preview1.bazel +++ /dev/null @@ -1,52 +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 (Apache-2.0 OR MIT)" -]) - -# Generated Targets - -rust_library( - name = "wasi", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasi", - "manual", - ], - version = "0.10.1+wasi-snapshot-preview1", - # buildifier: leave-alone - deps = [ - ], -) 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 deleted file mode 100644 index 84d8e8eadef..00000000000 --- a/third_party/rust/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel +++ /dev/null @@ -1,52 +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 (Apache-2.0 OR MIT)" -]) - -# Generated Targets - -rust_library( - name = "wasi", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasi", - "manual", - ], - version = "0.11.0+wasi-snapshot-preview1", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel b/third_party/rust/remote/BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel deleted file mode 100644 index 739d4d3ea95..00000000000 --- a/third_party/rust/remote/BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel +++ /dev/null @@ -1,52 +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 (Apache-2.0 OR MIT)" -]) - -# Generated Targets - -rust_library( - name = "wasi", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasi", - "manual", - ], - version = "0.9.0+wasi-snapshot-preview1", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.wasm-bindgen-0.2.70.bazel b/third_party/rust/remote/BUILD.wasm-bindgen-0.2.70.bazel deleted file mode 100644 index 258a5d20256..00000000000 --- a/third_party/rust/remote/BUILD.wasm-bindgen-0.2.70.bazel +++ /dev/null @@ -1,72 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "wasm_bindgen", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - proc_macro_deps = [ - "@raze__wasm_bindgen_macro__0_2_70//:wasm_bindgen_macro", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasm-bindgen", - "manual", - ], - version = "0.2.70", - # buildifier: leave-alone - deps = [ - "@raze__cfg_if__1_0_0//:cfg_if", - "@raze__serde__1_0_144//:serde", - "@raze__serde_json__1_0_61//:serde_json", - ], -) - -# Unsupported target "headless" with type "test" omitted - -# Unsupported target "must_use" with type "test" omitted - -# Unsupported target "non_wasm" with type "test" omitted - -# Unsupported target "std-crate-no-std-dep" with type "test" omitted - -# Unsupported target "unwrap_throw" with type "test" omitted - -# Unsupported target "wasm" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.wasm-bindgen-backend-0.2.70.bazel b/third_party/rust/remote/BUILD.wasm-bindgen-backend-0.2.70.bazel deleted file mode 100644 index d2a41570a9c..00000000000 --- a/third_party/rust/remote/BUILD.wasm-bindgen-backend-0.2.70.bazel +++ /dev/null @@ -1,59 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "wasm_bindgen_backend", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasm-bindgen-backend", - "manual", - ], - version = "0.2.70", - # buildifier: leave-alone - deps = [ - "@raze__bumpalo__3_12_0//:bumpalo", - "@raze__lazy_static__1_4_0//:lazy_static", - "@raze__log__0_4_11//:log", - "@raze__proc_macro2__1_0_43//:proc_macro2", - "@raze__quote__1_0_7//:quote", - "@raze__syn__1_0_99//:syn", - "@raze__wasm_bindgen_shared__0_2_70//:wasm_bindgen_shared", - ], -) diff --git a/third_party/rust/remote/BUILD.wasm-bindgen-futures-0.4.20.bazel b/third_party/rust/remote/BUILD.wasm-bindgen-futures-0.4.20.bazel deleted file mode 100644 index 0efa0aefe32..00000000000 --- a/third_party/rust/remote/BUILD.wasm-bindgen-futures-0.4.20.bazel +++ /dev/null @@ -1,57 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "wasm_bindgen_futures", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasm-bindgen-futures", - "manual", - ], - version = "0.4.20", - # buildifier: leave-alone - deps = [ - "@raze__cfg_if__1_0_0//:cfg_if", - "@raze__js_sys__0_3_47//:js_sys", - "@raze__wasm_bindgen__0_2_70//:wasm_bindgen", - ], -) - -# Unsupported target "tests" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.wasm-bindgen-macro-0.2.70.bazel b/third_party/rust/remote/BUILD.wasm-bindgen-macro-0.2.70.bazel deleted file mode 100644 index 235ef09b149..00000000000 --- a/third_party/rust/remote/BUILD.wasm-bindgen-macro-0.2.70.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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_proc_macro( - name = "wasm_bindgen_macro", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasm-bindgen-macro", - "manual", - ], - version = "0.2.70", - # buildifier: leave-alone - deps = [ - "@raze__quote__1_0_7//:quote", - "@raze__wasm_bindgen_macro_support__0_2_70//:wasm_bindgen_macro_support", - ], -) - -# Unsupported target "ui" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.wasm-bindgen-macro-support-0.2.70.bazel b/third_party/rust/remote/BUILD.wasm-bindgen-macro-support-0.2.70.bazel deleted file mode 100644 index 238a71c38bd..00000000000 --- a/third_party/rust/remote/BUILD.wasm-bindgen-macro-support-0.2.70.bazel +++ /dev/null @@ -1,57 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "wasm_bindgen_macro_support", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasm-bindgen-macro-support", - "manual", - ], - version = "0.2.70", - # buildifier: leave-alone - deps = [ - "@raze__proc_macro2__1_0_43//:proc_macro2", - "@raze__quote__1_0_7//:quote", - "@raze__syn__1_0_99//:syn", - "@raze__wasm_bindgen_backend__0_2_70//:wasm_bindgen_backend", - "@raze__wasm_bindgen_shared__0_2_70//:wasm_bindgen_shared", - ], -) diff --git a/third_party/rust/remote/BUILD.wasm-bindgen-shared-0.2.70.bazel b/third_party/rust/remote/BUILD.wasm-bindgen-shared-0.2.70.bazel deleted file mode 100644 index ebe37616bdc..00000000000 --- a/third_party/rust/remote/BUILD.wasm-bindgen-shared-0.2.70.bazel +++ /dev/null @@ -1,54 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "wasm_bindgen_shared", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasm-bindgen-shared", - "manual", - ], - version = "0.2.70", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.web-sys-0.3.47.bazel b/third_party/rust/remote/BUILD.web-sys-0.3.47.bazel deleted file mode 100644 index cd711857a6b..00000000000 --- a/third_party/rust/remote/BUILD.web-sys-0.3.47.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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "web_sys", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=web-sys", - "manual", - ], - version = "0.3.47", - # buildifier: leave-alone - deps = [ - "@raze__js_sys__0_3_47//:js_sys", - "@raze__wasm_bindgen__0_2_70//:wasm_bindgen", - ], -) - -# Unsupported target "wasm" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.webpki-0.21.4.bazel b/third_party/rust/remote/BUILD.webpki-0.21.4.bazel deleted file mode 100644 index e38860e40e7..00000000000 --- a/third_party/rust/remote/BUILD.webpki-0.21.4.bazel +++ /dev/null @@ -1,63 +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([ - "restricted", # no license -]) - -# Generated Targets - -rust_library( - name = "webpki", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - "trust_anchor_util", - ], - crate_root = "src/webpki.rs", - data = [] + glob(["src/**/*.der"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=webpki", - "manual", - ], - version = "0.21.4", - # buildifier: leave-alone - deps = [ - "@raze__ring__0_16_20//:ring", - "@raze__untrusted__0_7_1//:untrusted", - ], -) - -# Unsupported target "dns_name_tests" with type "test" omitted - -# Unsupported target "integration" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.webpki-0.22.0.bazel b/third_party/rust/remote/BUILD.webpki-0.22.0.bazel deleted file mode 100644 index 8f2632ca775..00000000000 --- a/third_party/rust/remote/BUILD.webpki-0.22.0.bazel +++ /dev/null @@ -1,62 +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([ - "restricted", # no license -]) - -# Generated Targets - -rust_library( - name = "webpki", - srcs = glob(["**/*.rs"]), - crate_features = [ - "alloc", - "std", - ], - crate_root = "src/lib.rs", - data = [] + glob(["src/**/*.der"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=webpki", - "manual", - ], - version = "0.22.0", - # buildifier: leave-alone - deps = [ - "@raze__ring__0_16_20//:ring", - "@raze__untrusted__0_7_1//:untrusted", - ], -) - -# Unsupported target "dns_name_tests" with type "test" omitted - -# Unsupported target "integration" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.webpki-roots-0.21.1.bazel b/third_party/rust/remote/BUILD.webpki-roots-0.21.1.bazel deleted file mode 100644 index 80ff1a8b0b0..00000000000 --- a/third_party/rust/remote/BUILD.webpki-roots-0.21.1.bazel +++ /dev/null @@ -1,77 +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([ - "reciprocal", # MPL-2.0 from expression "MPL-2.0" -]) - -# Generated Targets - -rust_binary( - # Prefix bin name to disambiguate from (probable) collision with lib name - # N.B.: The exact form of this is subject to change. - name = "cargo_bin_process_cert", - srcs = glob(["**/*.rs"]), - crate_root = "src/bin/process_cert.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=process_cert", - "manual", - ], - version = "0.21.1", - # buildifier: leave-alone - deps = [ - ":webpki_roots", - "@raze__webpki__0_21_4//:webpki", - ], -) - -rust_library( - name = "webpki_roots", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=webpki-roots", - "manual", - ], - version = "0.21.1", - # buildifier: leave-alone - deps = [ - "@raze__webpki__0_21_4//:webpki", - ], -) diff --git a/third_party/rust/remote/BUILD.which-4.3.0.bazel b/third_party/rust/remote/BUILD.which-4.3.0.bazel deleted file mode 100644 index 8c07dde35f6..00000000000 --- a/third_party/rust/remote/BUILD.which-4.3.0.bazel +++ /dev/null @@ -1,65 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_library( - name = "which", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=which", - "manual", - ], - version = "4.3.0", - # buildifier: leave-alone - deps = [ - "@raze__either__1_6_1//:either", - "@raze__libc__0_2_126//:libc", - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@raze__once_cell__1_5_2//:once_cell", - ], - "//conditions:default": [], - }), -) - -# Unsupported target "basic" with type "test" omitted diff --git a/third_party/rust/remote/BUILD.winapi-0.3.9.bazel b/third_party/rust/remote/BUILD.winapi-0.3.9.bazel deleted file mode 100644 index 0d25e8a234a..00000000000 --- a/third_party/rust/remote/BUILD.winapi-0.3.9.bazel +++ /dev/null @@ -1,82 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "winapi", - srcs = glob(["**/*.rs"]), - crate_features = [ - "consoleapi", - "errhandlingapi", - "fileapi", - "handleapi", - "impl-debug", - "impl-default", - "knownfolders", - "minwinbase", - "minwindef", - "mswsock", - "namedpipeapi", - "ntsecapi", - "objbase", - "processenv", - "shlobj", - "std", - "timezoneapi", - "winbase", - "wincon", - "winerror", - "winnt", - "winreg", - "winsock2", - "ws2ipdef", - "ws2tcpip", - "wtypesbase", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=winapi", - "manual", - ], - version = "0.3.9", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/third_party/rust/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel deleted file mode 100644 index e0262f49945..00000000000 --- a/third_party/rust/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel +++ /dev/null @@ -1,54 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "winapi_i686_pc_windows_gnu", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=winapi-i686-pc-windows-gnu", - "manual", - ], - version = "0.4.0", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.winapi-util-0.1.5.bazel b/third_party/rust/remote/BUILD.winapi-util-0.1.5.bazel deleted file mode 100644 index f02ee4c0029..00000000000 --- a/third_party/rust/remote/BUILD.winapi-util-0.1.5.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([ - "unencumbered", # Unlicense from expression "Unlicense OR MIT" -]) - -# Generated Targets - -rust_library( - name = "winapi_util", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=winapi-util", - "manual", - ], - version = "0.1.5", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@raze__winapi__0_3_9//:winapi", - ], - "//conditions:default": [], - }), -) diff --git a/third_party/rust/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/third_party/rust/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel deleted file mode 100644 index 2d038826b35..00000000000 --- a/third_party/rust/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel +++ /dev/null @@ -1,54 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "winapi_x86_64_pc_windows_gnu", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=winapi-x86_64-pc-windows-gnu", - "manual", - ], - version = "0.4.0", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.windows-sys-0.36.1.bazel b/third_party/rust/remote/BUILD.windows-sys-0.36.1.bazel deleted file mode 100644 index 057392669a6..00000000000 --- a/third_party/rust/remote/BUILD.windows-sys-0.36.1.bazel +++ /dev/null @@ -1,82 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "windows_sys", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - "Win32", - "Win32_Foundation", - "Win32_Networking", - "Win32_Networking_WinSock", - "Win32_Security", - "Win32_Security_Authentication", - "Win32_Security_Authentication_Identity", - "Win32_Security_Credentials", - "Win32_Security_Cryptography", - "Win32_Storage", - "Win32_Storage_FileSystem", - "Win32_System", - "Win32_System_IO", - "Win32_System_LibraryLoader", - "Win32_System_Memory", - "Win32_System_Pipes", - "Win32_System_SystemServices", - "Win32_System_WindowsProgramming", - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=windows-sys", - "manual", - ], - version = "0.36.1", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@raze__windows_x86_64_msvc__0_36_1//:windows_x86_64_msvc", - ], - "//conditions:default": [], - }), -) diff --git a/third_party/rust/remote/BUILD.windows_aarch64_msvc-0.36.1.bazel b/third_party/rust/remote/BUILD.windows_aarch64_msvc-0.36.1.bazel deleted file mode 100644 index 8c2d92f4f98..00000000000 --- a/third_party/rust/remote/BUILD.windows_aarch64_msvc-0.36.1.bazel +++ /dev/null @@ -1,54 +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", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "build-script-build" with type "custom-build" omitted - -rust_library( - name = "windows_aarch64_msvc", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=windows_aarch64_msvc", - "manual", - ], - version = "0.36.1", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.windows_i686_gnu-0.36.1.bazel b/third_party/rust/remote/BUILD.windows_i686_gnu-0.36.1.bazel deleted file mode 100644 index b7757864ebc..00000000000 --- a/third_party/rust/remote/BUILD.windows_i686_gnu-0.36.1.bazel +++ /dev/null @@ -1,54 +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", # 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_gnu", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=windows_i686_gnu", - "manual", - ], - version = "0.36.1", - # buildifier: leave-alone - deps = [ - ], -) 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 deleted file mode 100644 index 5c78955a50b..00000000000 --- a/third_party/rust/remote/BUILD.windows_i686_msvc-0.36.1.bazel +++ /dev/null @@ -1,54 +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", # 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_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=windows_i686_msvc", - "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 deleted file mode 100644 index cb6dbc62580..00000000000 --- a/third_party/rust/remote/BUILD.windows_x86_64_gnu-0.36.1.bazel +++ /dev/null @@ -1,54 +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", # 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_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=windows_x86_64_gnu", - "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 deleted file mode 100644 index 0cc643887d3..00000000000 --- a/third_party/rust/remote/BUILD.windows_x86_64_msvc-0.36.1.bazel +++ /dev/null @@ -1,54 +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", # 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_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=windows_x86_64_msvc", - "manual", - ], - version = "0.36.1", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/third_party/rust/remote/BUILD.winreg-0.7.0.bazel b/third_party/rust/remote/BUILD.winreg-0.7.0.bazel deleted file mode 100644 index 93de0c3b07d..00000000000 --- a/third_party/rust/remote/BUILD.winreg-0.7.0.bazel +++ /dev/null @@ -1,63 +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", # MIT from expression "MIT" -]) - -# Generated Targets - -# Unsupported target "basic_usage" with type "example" omitted - -# Unsupported target "enum" with type "example" omitted - -# Unsupported target "installed_apps" with type "example" omitted - -# Unsupported target "serialization" with type "example" omitted - -# Unsupported target "transactions" with type "example" omitted - -rust_library( - name = "winreg", - srcs = glob(["**/*.rs"]), - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=winreg", - "manual", - ], - version = "0.7.0", - # buildifier: leave-alone - deps = [ - "@raze__winapi__0_3_9//:winapi", - ], -) diff --git a/third_party/safe_html_types/BUILD.bazel b/third_party/safe_html_types/BUILD.bazel deleted file mode 100644 index 8f9dfefdab8..00000000000 --- a/third_party/safe_html_types/BUILD.bazel +++ /dev/null @@ -1,16 +0,0 @@ -load("@rules_java//java:defs.bzl", "java_library") - -package(default_visibility = ["//visibility:public"]) - -java_library( - name = "com_google_common_html_types", - srcs = glob(["com/google/common/html/types/*.java"]), - deps = [ - "@com_google_code_findbugs_jsr305", - "@com_google_errorprone_error_prone_annotations", - "@com_google_guava", - "@com_google_jsinterop_annotations", - "@com_google_protobuf//:protobuf_java", - "@javax_annotation_jsr250_api", - ], -) diff --git a/third_party/safe_html_types/META-INF/MANIFEST.MF b/third_party/safe_html_types/META-INF/MANIFEST.MF deleted file mode 100644 index fdb42cceba7..00000000000 --- a/third_party/safe_html_types/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Built-By: msamuel -Created-By: Apache Maven 3.5.0 -Build-Jdk: 1.8.0_144 - diff --git a/third_party/safe_html_types/README.md b/third_party/safe_html_types/README.md deleted file mode 100644 index 436fc537fb2..00000000000 --- a/third_party/safe_html_types/README.md +++ /dev/null @@ -1,56 +0,0 @@ -# safe_html_types vendor note - -This directory vendors the Java `com.google.common.html.types` classes needed by -TensorBoard's existing Closure / Soy toolchain during the Bazel 7.7.0 and -protobuf 6.31.1 migration. - -Why this exists: - -- TensorBoard still uses `rules_closure` / Soy tooling in Bazel. -- Upgrading protobuf to `6.31.1` exposed Java-side incompatibilities in the - older transitive safe-html-types classes used by that toolchain. -- TensorFlow 2.21 already aligns on protobuf `6.31.1`, so TensorBoard needs a - Bazel-side path that remains compatible with protobuf-java 6.x as well. - -What is vendored here: - -- the Java `com.google.common.html.types` source files -- their generated protobuf Java classes -- a minimal Bazel wrapper (`BUILD.bazel`, `WORKSPACE`) so the tree can be used - as a local repository - -What is special about this copy: - -- It is used as a local Bazel repository via `WORKSPACE`. -- It is intended to satisfy the Closure / Soy Java dependency graph during the - migration, not to change TensorBoard's Python/runtime behavior directly. -- Some files in this tree were adjusted so the Java code works with the newer - protobuf APIs expected by TensorBoard's current toolchain. - -Why this is safe: - -- this code participates in the Bazel Java/Soy build path, not TensorBoard's - Python runtime or wheel behavior directly -- TensorBoard uses it to replace an older transitive Java dependency with a - protobuf-6-compatible copy -- the functional TensorBoard changes in this PR live elsewhere; this directory - is primarily a compatibility dependency for the existing build toolchain - -Why this is a local repository instead of an `http_archive` here: - -- TensorBoard needs an adjusted protobuf-6-compatible copy of the classes -- the current PR does not yet identify an exact upstream source archive that - works unchanged with the rest of the Closure/Soy dependency stack -- using a local repository keeps the dependency explicit and reviewable while - the wider Bazel/protobuf migration is being stabilized - -Reviewer note: - -Most of the line-count increase in this PR comes from this vendored directory. -The functional Bazel/TensorBoard migration logic is concentrated in: - -- `WORKSPACE` -- `.bazelrc` -- `tensorboard/defs/protos.bzl` -- `tensorboard/compat/BUILD` -- `tensorboard/pip_package/test_pip_package.sh` diff --git a/third_party/safe_html_types/WORKSPACE b/third_party/safe_html_types/WORKSPACE deleted file mode 100644 index 444edc8e1ec..00000000000 --- a/third_party/safe_html_types/WORKSPACE +++ /dev/null @@ -1 +0,0 @@ -workspace(name = "com_google_common_html_types") diff --git a/third_party/safe_html_types/com/google/common/html/types/BuilderUtils.java b/third_party/safe_html_types/com/google/common/html/types/BuilderUtils.java deleted file mode 100644 index f0e8d3b7ad9..00000000000 --- a/third_party/safe_html_types/com/google/common/html/types/BuilderUtils.java +++ /dev/null @@ -1,64 +0,0 @@ -// **** GENERATED CODE, DO NOT MODIFY **** -// This file was generated via preprocessing from input: -// java/com/google/common/html/types/BuilderUtils.java.tpl -// *************************************** -/* - * Copyright 2016 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.common.html.types; - -import com.google.common.annotations.GwtCompatible; -import com.google.common.escape.Escaper; -import com.google.common.escape.Escapers; -import javax.annotation.CheckReturnValue; - - -/** - * Static utility methods shared by safe-HTML types' factory and builder classes, such as - * {@link SafeHtmls}, {@link SafeHtmlBuilder}, etc. - */ -@CheckReturnValue -@GwtCompatible -final class BuilderUtils { - - private BuilderUtils() {} - - static String coerceToInterchangeValid(String text) { - // MOE elided code that uses a non-public library to make sure text only - // contains minimally-encoded Unicode scalar values that can appear in - // both HTML and XML. - return text; - - } - - static String escapeHtmlInternal(String s) { - return HTML_ESCAPER.escape(s); - - } - - // This is exactly what j.c.g.common.html.HtmlEscapers.htmlEscaper() does. However, depending on - // j.c.g.common.html is problematic because it has no android target, substantial internal only - // code, and it pulls a lot of other dependencies with it. - private static final Escaper HTML_ESCAPER = - Escapers.builder() - .addEscape('"', """) - // Note: "'" is not defined in HTML 4.01. - .addEscape('\'', "'") - .addEscape('&', "&") - .addEscape('<', "<") - .addEscape('>', ">") - .build(); -} diff --git a/third_party/safe_html_types/com/google/common/html/types/CustomSafeUrlScheme.java b/third_party/safe_html_types/com/google/common/html/types/CustomSafeUrlScheme.java deleted file mode 100644 index 09010d736d6..00000000000 --- a/third_party/safe_html_types/com/google/common/html/types/CustomSafeUrlScheme.java +++ /dev/null @@ -1,227 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: webutil/html/types/html.proto - -package com.google.common.html.types; - -/** - * Protobuf enum {@code webutil.html.types.CustomSafeUrlScheme} - */ -public enum CustomSafeUrlScheme - implements com.google.protobuf.ProtocolMessageEnum { - /** - *- * Schemes that are safe w.r.t. XSS but that may trigger other problematic - * actions when presented in the context of a "regular" link are not - * whitelisted by default but can still be converted to SafeUrl by - * whitelisting them explicitly in the SafeUrl sanitization API. In other - * words, the caller has to indicate that they're expecting to process - * such custom schemes. - * iOS Webview does not ask for confirmation before invoking 'tel', so - * unintentional or out-of-context clicks could result in unintended calling - * charges. - *- * - *TEL = 0;- */ - TEL(0), - /** - *SMS = 1;- */ - SMS(1), - /** - *- * Similarly to 'tel' can result in unintended calling charges on iOS. - *- * - *CALLTO = 2;- */ - CALLTO(2), - /** - *WTAI = 3;- */ - WTAI(3), - /** - *- * Can start a media stream, potentially triggering an exploit for - * Stagefright. - *- * - *RTSP = 4;- */ - RTSP(4), - /** - *- * Can open Play Store dialog with 'Install' button, though will not - * automatically install an app. - *- * - *MARKET = 5;- */ - MARKET(5), - /** - *GEO = 6;- */ - GEO(6), - /** - *SKYPE = 7;- */ - SKYPE(7), - /** - *WHATSAPP = 8;- */ - WHATSAPP(8), - /** - *- * Custom scheme for iBooks URIs. More background: b/32807272. - *- * - *ITMS_BOOKS = 9;- */ - ITMS_BOOKS(9), - ; - - /** - *- * Schemes that are safe w.r.t. XSS but that may trigger other problematic - * actions when presented in the context of a "regular" link are not - * whitelisted by default but can still be converted to SafeUrl by - * whitelisting them explicitly in the SafeUrl sanitization API. In other - * words, the caller has to indicate that they're expecting to process - * such custom schemes. - * iOS Webview does not ask for confirmation before invoking 'tel', so - * unintentional or out-of-context clicks could result in unintended calling - * charges. - *- * - *TEL = 0;- */ - public static final int TEL_VALUE = 0; - /** - *SMS = 1;- */ - public static final int SMS_VALUE = 1; - /** - *- * Similarly to 'tel' can result in unintended calling charges on iOS. - *- * - *CALLTO = 2;- */ - public static final int CALLTO_VALUE = 2; - /** - *WTAI = 3;- */ - public static final int WTAI_VALUE = 3; - /** - *- * Can start a media stream, potentially triggering an exploit for - * Stagefright. - *- * - *RTSP = 4;- */ - public static final int RTSP_VALUE = 4; - /** - *- * Can open Play Store dialog with 'Install' button, though will not - * automatically install an app. - *- * - *MARKET = 5;- */ - public static final int MARKET_VALUE = 5; - /** - *GEO = 6;- */ - public static final int GEO_VALUE = 6; - /** - *SKYPE = 7;- */ - public static final int SKYPE_VALUE = 7; - /** - *WHATSAPP = 8;- */ - public static final int WHATSAPP_VALUE = 8; - /** - *- * Custom scheme for iBooks URIs. More background: b/32807272. - *- * - *ITMS_BOOKS = 9;- */ - public static final int ITMS_BOOKS_VALUE = 9; - - - public final int getNumber() { - return value; - } - - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static CustomSafeUrlScheme valueOf(int value) { - return forNumber(value); - } - - public static CustomSafeUrlScheme forNumber(int value) { - switch (value) { - case 0: return TEL; - case 1: return SMS; - case 2: return CALLTO; - case 3: return WTAI; - case 4: return RTSP; - case 5: return MARKET; - case 6: return GEO; - case 7: return SKYPE; - case 8: return WHATSAPP; - case 9: return ITMS_BOOKS; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap- internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - CustomSafeUrlScheme> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap () { - public CustomSafeUrlScheme findValueByNumber(int number) { - return CustomSafeUrlScheme.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { - return getDescriptor().getValues().get(ordinal()); - } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { - return getDescriptor(); - } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.common.html.types.Html.getDescriptor().getEnumTypes().get(0); - } - - private static final CustomSafeUrlScheme[] VALUES = values(); - - public static CustomSafeUrlScheme valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private CustomSafeUrlScheme(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:webutil.html.types.CustomSafeUrlScheme) -} - diff --git a/third_party/safe_html_types/com/google/common/html/types/Html.java b/third_party/safe_html_types/com/google/common/html/types/Html.java deleted file mode 100644 index a4e509d70ad..00000000000 --- a/third_party/safe_html_types/com/google/common/html/types/Html.java +++ /dev/null @@ -1,120 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: webutil/html/types/html.proto - -package com.google.common.html.types; - -public final class Html { - private Html() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_webutil_html_types_SafeHtmlProto_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_webutil_html_types_SafeHtmlProto_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_webutil_html_types_SafeUrlProto_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_webutil_html_types_SafeUrlProto_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_webutil_html_types_TrustedResourceUrlProto_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_webutil_html_types_TrustedResourceUrlProto_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_webutil_html_types_SafeStyleProto_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_webutil_html_types_SafeStyleProto_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_webutil_html_types_SafeScriptProto_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_webutil_html_types_SafeScriptProto_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_webutil_html_types_SafeStyleSheetProto_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_webutil_html_types_SafeStyleSheetProto_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\035webutil/html/types/html.proto\022\022webutil" + - ".html.types\"R\n\rSafeHtmlProto\022A\n5private_" + - "do_not_access_or_else_safe_html_wrapped_" + - "value\030\002 \001(\tB\002\010\001\"L\n\014SafeUrlProto\022<\n4priva" + - "te_do_not_access_or_else_safe_url_wrappe" + - "d_value\030\003 \001(\t\"c\n\027TrustedResourceUrlProto" + - "\022H\n@private_do_not_access_or_else_truste" + - "d_resource_url_wrapped_value\030\004 \001(\t\"P\n\016Sa" + - "feStyleProto\022>\n6private_do_not_access_or" + - "_else_safe_style_wrapped_value\030\005 \001(\t\"V\n\017", - "SafeScriptProto\022C\n7private_do_not_access" + - "_or_else_safe_script_wrapped_value\030\006 \001(\t" + - "B\002\010\001\"_\n\023SafeStyleSheetProto\022H\n A SafeHtml is a string-like object that carries the security type contract that its value as a - * string will not cause untrusted script execution when evaluated as HTML in a browser. - * - * Values of this type are guaranteed to be safe to use in HTML contexts, such as, assignment to - * the innerHTML DOM property, or interpolation into a HTML template in HTML PC_DATA context, in - * the sense that the use will not result in a Cross-Site-Scripting vulnerability. - */ -@CheckReturnValue -@Immutable -@JsType -public final class SafeHtml { - - /** The SafeHtml wrapping an empty string. */ - public static final SafeHtml EMPTY = new SafeHtml(""); - - private final String privateDoNotAccessOrElseSafeHtmlWrappedValue; - - SafeHtml(String html) { - if (html == null) { - throw new NullPointerException(); - } - this.privateDoNotAccessOrElseSafeHtmlWrappedValue = html; - } - - @Override - public int hashCode() { - return privateDoNotAccessOrElseSafeHtmlWrappedValue.hashCode() ^ 0x33b02fa9; - } - - @Override - public boolean equals(Object other) { - if (!(other instanceof SafeHtml)) { - return false; - } - SafeHtml that = (SafeHtml) other; - return this.privateDoNotAccessOrElseSafeHtmlWrappedValue.equals( - that.privateDoNotAccessOrElseSafeHtmlWrappedValue); - } - - /** - * Returns a debug representation of this value's underlying string, NOT the string representation - * of the SafeHtml. - * - *
Having {@code toString()} return a debug representation is intentional. This type has - * a GWT-compiled JavaScript version; JavaScript has no static typing and a distinct method - * method name provides a modicum of type-safety. - * - * @see #getSafeHtmlString - */ - @Override - public String toString() { - return "SafeHtml{" + privateDoNotAccessOrElseSafeHtmlWrappedValue + "}"; - } - - /** - * Returns this value's underlying string. See class documentation for what guarantees exist on - * the returned string. - */ - // NOTE(mlourenco): jslayout depends on this exact method name when generating code, be careful if - // changing it. - public String getSafeHtmlString() { - return privateDoNotAccessOrElseSafeHtmlWrappedValue; - } -} diff --git a/third_party/safe_html_types/com/google/common/html/types/SafeHtmlBuilder.java b/third_party/safe_html_types/com/google/common/html/types/SafeHtmlBuilder.java deleted file mode 100644 index ea70d08ee90..00000000000 --- a/third_party/safe_html_types/com/google/common/html/types/SafeHtmlBuilder.java +++ /dev/null @@ -1,1079 +0,0 @@ -// **** GENERATED CODE, DO NOT MODIFY **** -// This file was generated via preprocessing from input: -// java/com/google/common/html/types/SafeHtmlBuilder.java.tpl -// Please make changes to that file and run -// java/com/google/common/html/types/gen_srcs.sh -// to regenerate the .java files. -// *************************************** -/* - * Copyright 2016 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.common.html.types; - -import static com.google.common.html.types.BuilderUtils.coerceToInterchangeValid; -import static com.google.common.html.types.BuilderUtils.escapeHtmlInternal; - -import com.google.common.annotations.GwtCompatible; -import com.google.errorprone.annotations.CompileTimeConstant; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashSet; -import java.util.Iterator; -import java.util.LinkedHashMap; -import java.util.List; -import java.util.Locale; -import java.util.Map; -import java.util.Set; -import javax.annotation.CheckReturnValue; -import javax.annotation.Generated; -import javax.annotation.Nullable; -import javax.annotation.concurrent.NotThreadSafe; - -/** - * Builder for HTML elements which conform to the {@link SafeHtml} contract. Supports setting - * element name, individual attributes and content. - * - *
While this builder disallows some invalid HTML constructs (for example, void elements with - * content) it does not guarantee well-formed HTML (for example, attribute values are not strictly - * enforced if they pose no security risk). A large number of runtime failures are possible and it - * is therefore recommended to thoroughly unit test code using this builder. - */ -@Generated(value = "//java/com/google/common/html/types:gen_srcs.sh") -@GwtCompatible -@NotThreadSafe -public final class SafeHtmlBuilder { - // Keep these regular expressions compatible across Java and JavaScript native implementations. - // They are uncompiled because we couldn't depend on java.util.regex.Pattern or - // com.google.gwt.regexp.shared.RegExp - private static final String VALID_ELEMENT_NAMES_REGEXP = "[a-z0-9-]+"; - private static final String VALID_DATA_ATTRIBUTES_REGEXP = "data-[a-zA-Z-]+"; - - private static final Set
UNSUPPORTED_ELEMENTS = - createUnmodifiableSet( - "applet", - "base", - "embed", - "math", - "meta", - "object", - "script", - "style", - "svg", - "template"); - - private static final Set VOID_ELEMENTS = - createUnmodifiableSet( - "area", "br", "col", "hr", "img", "input", "keygen", "link", "param", "source", "track", - "wbr"); - - private final String elementName; - /** We use LinkedHashMap to maintain attribute insertion order. */ - private final Map attributes = new LinkedHashMap<>(); - - private final List contents = new ArrayList<>(); - - private boolean useSlashOnVoid = false; - - private enum AttributeContract { - SAFE_URL, - TRUSTED_RESOURCE_URL - } - - /** Contract of the value currently assigned to the {@code href} attribute. */ - private AttributeContract hrefValueContract = AttributeContract.TRUSTED_RESOURCE_URL; - - /** - * Creates a builder for the given {@code elementName}, which must consist only of lowercase - * letters, digits and {@code -}. - * - * If {@code elementName} is not a void element then the string representation of the builder - * is {@code
[optional content] }. If {@code - * elementName} is a void element then the string representation is {@code}. Contents between the element's start and end tag can be set via, for example, - * {@code appendContent()}. - * - * {@code embed}, {@code object}, {@code script}, {@code style}, {@code template} are not - * supported because their content has special semantics, and they can result the execution of - * code not under application control. Some of these have dedicated creation methods. - * - * @throws IllegalArgumentException if {@code elementName} contains invalid characters or is not - * supported - * @see http://whatwg.org/html/syntax.html#void-elements - */ - public SafeHtmlBuilder(@CompileTimeConstant final String elementName) { - if (elementName == null) { - throw new NullPointerException(); - } - if (!elementName.matches(VALID_ELEMENT_NAMES_REGEXP)) { - throw new IllegalArgumentException( - "Invalid element name \"" - + elementName - + "\". " - + "Only lowercase letters, numbers and '-' allowed."); - } - if (UNSUPPORTED_ELEMENTS.contains(elementName)) { - throw new IllegalArgumentException("Element \"" + elementName + "\" is not supported."); - } - this.elementName = elementName; - } - - /** - * Causes the builder to use a slash on the tag of a void element, emitting e.g. {@code
} - * instead of the default {@code
}. Slashes are required if rendering XHTML and optional in - * HTML 5. - * - *This setting has no effect for non-void elements. - * - * @see http://www.w3.org/TR/html5/syntax.html#start-tags - */ - public SafeHtmlBuilder useSlashOnVoid() { - useSlashOnVoid = true; - return this; - } - /** These elements are whitelisted to use action with a SafeUrl value. */ - private static final Set
ACTION_SAFE_URL_ELEMENT_WHITELIST = - createUnmodifiableSet("form"); - - /** - * Sets the {@code action} attribute for this element. - * - * The attribute {@code action} with a {@code SafeUrl} value is allowed on these elements: - * - *
- *
- * - * @throws IllegalArgumentException if the {@code action} attribute with a {@code SafeUrl} value - * is not allowed on this element - */ - public SafeHtmlBuilder setAction(SafeUrl value) { - if (!ACTION_SAFE_URL_ELEMENT_WHITELIST.contains(elementName)) { - throw new IllegalArgumentException( - "Attribute \"action\" with a SafeUrl value can only be used " - + "by one of the following elements: " - + ACTION_SAFE_URL_ELEMENT_WHITELIST); - } - return setAttribute("action", value.getSafeUrlString()); - } - - /** Sets the {@code align} attribute for this element. */ - public SafeHtmlBuilder setAlign(String value) { - return setAttribute("align", value); - } - - /** Sets the {@code alt} attribute for this element. */ - public SafeHtmlBuilder setAlt(String value) { - return setAttribute("alt", value); - } - - /** Sets the {@code autocapitalize} attribute for this element. */ - public SafeHtmlBuilder setAutocapitalize(String value) { - return setAttribute("autocapitalize", value); - } - - /** Sets the {@code autocomplete} attribute for this element. */ - public SafeHtmlBuilder setAutocomplete(String value) { - return setAttribute("autocomplete", value); - } - - /** Sets the {@code autofocus} attribute for this element. */ - public SafeHtmlBuilder setAutofocus(String value) { - return setAttribute("autofocus", value); - } - - /** Sets the {@code bgcolor} attribute for this element. */ - public SafeHtmlBuilder setBgcolor(String value) { - return setAttribute("bgcolor", value); - } - - /** Sets the {@code border} attribute for this element. */ - public SafeHtmlBuilder setBorder(String value) { - return setAttribute("border", value); - } - - /** Sets the {@code checked} attribute for this element. */ - public SafeHtmlBuilder setChecked(String value) { - return setAttribute("checked", value); - } - - /** These elements are whitelisted to use cite with a SafeUrl value. */ - private static final Set- {@code form} - *
CITE_SAFE_URL_ELEMENT_WHITELIST = - createUnmodifiableSet("blockquote", "del", "ins", "q"); - - /** - * Sets the {@code cite} attribute for this element. - * - * The attribute {@code cite} with a {@code SafeUrl} value is allowed on these elements: - * - *
- *
- * - * @throws IllegalArgumentException if the {@code cite} attribute with a {@code SafeUrl} value is - * not allowed on this element - */ - public SafeHtmlBuilder setCite(SafeUrl value) { - if (!CITE_SAFE_URL_ELEMENT_WHITELIST.contains(elementName)) { - throw new IllegalArgumentException( - "Attribute \"cite\" with a SafeUrl value can only be used " - + "by one of the following elements: " - + CITE_SAFE_URL_ELEMENT_WHITELIST); - } - return setAttribute("cite", value.getSafeUrlString()); - } - - /** Sets the {@code class} attribute for this element. */ - public SafeHtmlBuilder setClass(String value) { - return setAttribute("class", value); - } - - /** Sets the {@code color} attribute for this element. */ - public SafeHtmlBuilder setColor(String value) { - return setAttribute("color", value); - } - - /** Sets the {@code cols} attribute for this element. */ - public SafeHtmlBuilder setCols(String value) { - return setAttribute("cols", value); - } - - /** Sets the {@code colspan} attribute for this element. */ - public SafeHtmlBuilder setColspan(String value) { - return setAttribute("colspan", value); - } - - /** Values that can be passed to {@link #setDir(DirValue)}. */ - public enum DirValue { - - /** Value of {@code auto}. */ - AUTO("auto"), - /** Value of {@code ltr}. */ - LTR("ltr"), - /** Value of {@code rtl}. */ - RTL("rtl"); - - private final String value; - - private DirValue(String value) { - this.value = value; - } - - @Override - public String toString() { - return value; - } - } - - /** Sets the {@code dir} attribute for this element. */ - public SafeHtmlBuilder setDir(DirValue value) { - return setAttribute("dir", value.toString()); - } - - /** Sets the {@code disabled} attribute for this element. */ - public SafeHtmlBuilder setDisabled(String value) { - return setAttribute("disabled", value); - } - - /** Sets the {@code draggable} attribute for this element. */ - public SafeHtmlBuilder setDraggable(String value) { - return setAttribute("draggable", value); - } - - /** Sets the {@code face} attribute for this element. */ - public SafeHtmlBuilder setFace(String value) { - return setAttribute("face", value); - } - - /** Sets the {@code for} attribute for this element. */ - public SafeHtmlBuilder setFor(@CompileTimeConstant final String value) { - return setAttribute("for", value); - } - - /** - * Sets the {@code for} attribute for this element to a {@link CompileTimeConstant} {@code prefix} - * and a {@code value} joined by a hyphen. - * - * @throws IllegalArgumentException if {@code prefix} is an empty string - */ - public SafeHtmlBuilder setForWithPrefix(@CompileTimeConstant final String prefix, String value) { - if (prefix.trim().length() == 0) { - throw new IllegalArgumentException("Prefix cannot be empty string"); - } - return setAttribute("for", prefix + "-" + value); - } - - /** These elements are whitelisted to use formaction with a SafeUrl value. */ - private static final Set- {@code blockquote} - *
- {@code del} - *
- {@code ins} - *
- {@code q} - *
FORMACTION_SAFE_URL_ELEMENT_WHITELIST = - createUnmodifiableSet("button", "input"); - - /** - * Sets the {@code formaction} attribute for this element. - * - * The attribute {@code formaction} with a {@code SafeUrl} value is allowed on these elements: - * - *
- *
- * - * @throws IllegalArgumentException if the {@code formaction} attribute with a {@code SafeUrl} - * value is not allowed on this element - */ - public SafeHtmlBuilder setFormaction(SafeUrl value) { - if (!FORMACTION_SAFE_URL_ELEMENT_WHITELIST.contains(elementName)) { - throw new IllegalArgumentException( - "Attribute \"formaction\" with a SafeUrl value can only be used " - + "by one of the following elements: " - + FORMACTION_SAFE_URL_ELEMENT_WHITELIST); - } - return setAttribute("formaction", value.getSafeUrlString()); - } - - /** These elements are whitelisted to use formmethod with a String value. */ - private static final Set- {@code button} - *
- {@code input} - *
FORMMETHOD_STRING_ELEMENT_WHITELIST = - createUnmodifiableSet("button", "input"); - - /** - * Sets the {@code formmethod} attribute for this element. - * - * The attribute {@code formmethod} with a {@code String} value is allowed on these elements: - * - *
- *
- * - * @throws IllegalArgumentException if the {@code formmethod} attribute with a {@code String} - * value is not allowed on this element - */ - public SafeHtmlBuilder setFormmethod(String value) { - if (!FORMMETHOD_STRING_ELEMENT_WHITELIST.contains(elementName)) { - throw new IllegalArgumentException( - "Attribute \"formmethod\" with a String value can only be used " - + "by one of the following elements: " - + FORMMETHOD_STRING_ELEMENT_WHITELIST); - } - return setAttribute("formmethod", value); - } - - /** Sets the {@code frameborder} attribute for this element. */ - public SafeHtmlBuilder setFrameborder(String value) { - return setAttribute("frameborder", value); - } - - /** Sets the {@code height} attribute for this element. */ - public SafeHtmlBuilder setHeight(String value) { - return setAttribute("height", value); - } - - /** Sets the {@code hidden} attribute for this element. */ - public SafeHtmlBuilder setHidden(String value) { - return setAttribute("hidden", value); - } - - /** These elements are whitelisted to use href with a SafeUrl value. */ - private static final Set- {@code button} - *
- {@code input} - *
HREF_SAFE_URL_ELEMENT_WHITELIST = - createUnmodifiableSet("a", "area"); - /** - * On {@code link} elements, the {@code href} attribute may be set to {@code SafeUrl} values only - * for these values of the {@code rel} attribute. - */ - private static final Set LINK_HREF_SAFE_URL_REL_WHITELIST = - createUnmodifiableSet( - "alternate", - "author", - "bookmark", - "canonical", - "cite", - "help", - "icon", - "license", - "next", - "prefetch", - "prerender", - "prev", - "search", - "subresource"); - - /** - * Sets the {@code href} attribute for this element. - * - * The attribute {@code href} with a {@code SafeUrl} value is allowed on these elements: - * - *
- *
- * - *- {@code a} - *
- {@code area} - *
- {@code link} - *
On {@code link} elements, {@code href} may only be set to a SafeUrl value if {@code rel} is - * one of the following values: - * - *
- *
- * - * @throws IllegalArgumentException if the {@code href} attribute with a {@code SafeUrl} value is - * not allowed on this element - * @throws IllegalArgumentException if this a {@code link} element and the value of {@code rel} - * does not allow the SafeUrl contract on {@code href} - */ - public SafeHtmlBuilder setHref(SafeUrl value) { - if (!HREF_SAFE_URL_ELEMENT_WHITELIST.contains(elementName) && !elementName.equals("link")) { - throw new IllegalArgumentException( - "Attribute \"href\" with a SafeUrl value can only be used " - + "by one of the following elements: " - + HREF_SAFE_URL_ELEMENT_WHITELIST); - } - if (elementName.equals("link")) { - checkLinkDependentAttributes(attributes.get("rel"), AttributeContract.SAFE_URL); - } - hrefValueContract = AttributeContract.SAFE_URL; - return setAttribute("href", value.getSafeUrlString()); - } - - /** Sets the {@code href} attribute for this element. */ - public SafeHtmlBuilder setHref(TrustedResourceUrl value) { - hrefValueContract = AttributeContract.TRUSTED_RESOURCE_URL; - return setAttribute("href", value.getTrustedResourceUrlString()); - } - - /** These elements are whitelisted to use icon with a SafeUrl value. */ - private static final Set- {@code alternate} - *
- {@code author} - *
- {@code bookmark} - *
- {@code canonical} - *
- {@code cite} - *
- {@code help} - *
- {@code icon} - *
- {@code license} - *
- {@code next} - *
- {@code prefetch} - *
- {@code prerender} - *
- {@code prev} - *
- {@code search} - *
- {@code subresource} - *
ICON_SAFE_URL_ELEMENT_WHITELIST = - createUnmodifiableSet("menuitem"); - - /** - * Sets the {@code icon} attribute for this element. - * - * The attribute {@code icon} with a {@code SafeUrl} value is allowed on these elements: - * - *
- *
- * - * @throws IllegalArgumentException if the {@code icon} attribute with a {@code SafeUrl} value is - * not allowed on this element - */ - public SafeHtmlBuilder setIcon(SafeUrl value) { - if (!ICON_SAFE_URL_ELEMENT_WHITELIST.contains(elementName)) { - throw new IllegalArgumentException( - "Attribute \"icon\" with a SafeUrl value can only be used " - + "by one of the following elements: " - + ICON_SAFE_URL_ELEMENT_WHITELIST); - } - return setAttribute("icon", value.getSafeUrlString()); - } - - /** Sets the {@code id} attribute for this element. */ - public SafeHtmlBuilder setId(@CompileTimeConstant final String value) { - return setAttribute("id", value); - } - - /** - * Sets the {@code id} attribute for this element to a {@link CompileTimeConstant} {@code prefix} - * and a {@code value} joined by a hyphen. - * - * @throws IllegalArgumentException if {@code prefix} is an empty string - */ - public SafeHtmlBuilder setIdWithPrefix(@CompileTimeConstant final String prefix, String value) { - if (prefix.trim().length() == 0) { - throw new IllegalArgumentException("Prefix cannot be empty string"); - } - return setAttribute("id", prefix + "-" + value); - } - - /** Sets the {@code ismap} attribute for this element. */ - public SafeHtmlBuilder setIsmap(String value) { - return setAttribute("ismap", value); - } - - /** Sets the {@code label} attribute for this element. */ - public SafeHtmlBuilder setLabel(String value) { - return setAttribute("label", value); - } - - /** Sets the {@code lang} attribute for this element. */ - public SafeHtmlBuilder setLang(String value) { - return setAttribute("lang", value); - } - - /** Sets the {@code list} attribute for this element. */ - public SafeHtmlBuilder setList(@CompileTimeConstant final String value) { - return setAttribute("list", value); - } - - /** - * Sets the {@code list} attribute for this element to a {@link CompileTimeConstant} {@code - * prefix} and a {@code value} joined by a hyphen. - * - * @throws IllegalArgumentException if {@code prefix} is an empty string - */ - public SafeHtmlBuilder setListWithPrefix(@CompileTimeConstant final String prefix, String value) { - if (prefix.trim().length() == 0) { - throw new IllegalArgumentException("Prefix cannot be empty string"); - } - return setAttribute("list", prefix + "-" + value); - } - - /** Sets the {@code loop} attribute for this element. */ - public SafeHtmlBuilder setLoop(String value) { - return setAttribute("loop", value); - } - - /** Sets the {@code max} attribute for this element. */ - public SafeHtmlBuilder setMax(String value) { - return setAttribute("max", value); - } - - /** Sets the {@code maxlength} attribute for this element. */ - public SafeHtmlBuilder setMaxlength(String value) { - return setAttribute("maxlength", value); - } - - /** These elements are whitelisted to use media with a String value. */ - private static final Set- {@code menuitem} - *
MEDIA_STRING_ELEMENT_WHITELIST = - createUnmodifiableSet("link", "source"); - - /** - * Sets the {@code media} attribute for this element. - * - * The attribute {@code media} with a {@code String} value is allowed on these elements: - * - *
- *
- * - * @throws IllegalArgumentException if the {@code media} attribute with a {@code String} value is - * not allowed on this element - */ - public SafeHtmlBuilder setMedia(String value) { - if (!MEDIA_STRING_ELEMENT_WHITELIST.contains(elementName)) { - throw new IllegalArgumentException( - "Attribute \"media\" with a String value can only be used " - + "by one of the following elements: " - + MEDIA_STRING_ELEMENT_WHITELIST); - } - return setAttribute("media", value); - } - - /** These elements are whitelisted to use method with a String value. */ - private static final Set- {@code link} - *
- {@code source} - *
METHOD_STRING_ELEMENT_WHITELIST = createUnmodifiableSet("form"); - - /** - * Sets the {@code method} attribute for this element. - * - * The attribute {@code method} with a {@code String} value is allowed on these elements: - * - *
- *
- * - * @throws IllegalArgumentException if the {@code method} attribute with a {@code String} value is - * not allowed on this element - */ - public SafeHtmlBuilder setMethod(String value) { - if (!METHOD_STRING_ELEMENT_WHITELIST.contains(elementName)) { - throw new IllegalArgumentException( - "Attribute \"method\" with a String value can only be used " - + "by one of the following elements: " - + METHOD_STRING_ELEMENT_WHITELIST); - } - return setAttribute("method", value); - } - - /** Sets the {@code min} attribute for this element. */ - public SafeHtmlBuilder setMin(String value) { - return setAttribute("min", value); - } - - /** Sets the {@code multiple} attribute for this element. */ - public SafeHtmlBuilder setMultiple(String value) { - return setAttribute("multiple", value); - } - - /** Sets the {@code muted} attribute for this element. */ - public SafeHtmlBuilder setMuted(String value) { - return setAttribute("muted", value); - } - - /** Sets the {@code name} attribute for this element. */ - public SafeHtmlBuilder setName(@CompileTimeConstant final String value) { - return setAttribute("name", value); - } - - /** - * Sets the {@code name} attribute for this element to a {@link CompileTimeConstant} {@code - * prefix} and a {@code value} joined by a hyphen. - * - * @throws IllegalArgumentException if {@code prefix} is an empty string - */ - public SafeHtmlBuilder setNameWithPrefix(@CompileTimeConstant final String prefix, String value) { - if (prefix.trim().length() == 0) { - throw new IllegalArgumentException("Prefix cannot be empty string"); - } - return setAttribute("name", prefix + "-" + value); - } - - /** These elements are whitelisted to use pattern with a String value. */ - private static final Set- {@code form} - *
PATTERN_STRING_ELEMENT_WHITELIST = - createUnmodifiableSet("input"); - - /** - * Sets the {@code pattern} attribute for this element. - * - * The attribute {@code pattern} with a {@code String} value is allowed on these elements: - * - *
- *
- * - * @throws IllegalArgumentException if the {@code pattern} attribute with a {@code String} value - * is not allowed on this element - */ - public SafeHtmlBuilder setPattern(String value) { - if (!PATTERN_STRING_ELEMENT_WHITELIST.contains(elementName)) { - throw new IllegalArgumentException( - "Attribute \"pattern\" with a String value can only be used " - + "by one of the following elements: " - + PATTERN_STRING_ELEMENT_WHITELIST); - } - return setAttribute("pattern", value); - } - - /** Sets the {@code placeholder} attribute for this element. */ - public SafeHtmlBuilder setPlaceholder(String value) { - return setAttribute("placeholder", value); - } - - /** These elements are whitelisted to use poster with a SafeUrl value. */ - private static final Set- {@code input} - *
POSTER_SAFE_URL_ELEMENT_WHITELIST = - createUnmodifiableSet("video"); - - /** - * Sets the {@code poster} attribute for this element. - * - * The attribute {@code poster} with a {@code SafeUrl} value is allowed on these elements: - * - *
- *
- * - * @throws IllegalArgumentException if the {@code poster} attribute with a {@code SafeUrl} value - * is not allowed on this element - */ - public SafeHtmlBuilder setPoster(SafeUrl value) { - if (!POSTER_SAFE_URL_ELEMENT_WHITELIST.contains(elementName)) { - throw new IllegalArgumentException( - "Attribute \"poster\" with a SafeUrl value can only be used " - + "by one of the following elements: " - + POSTER_SAFE_URL_ELEMENT_WHITELIST); - } - return setAttribute("poster", value.getSafeUrlString()); - } - - /** Sets the {@code preload} attribute for this element. */ - public SafeHtmlBuilder setPreload(String value) { - return setAttribute("preload", value); - } - - /** - * Sets the {@code rel} attribute for this element. - * - *- {@code video} - *
If this is a {@code link}} element, and {@code href} has been set from a {@link SafeUrl}, - * then {@code value} has to be an allowed value. See {@link #setHref(SafeHtml)}. - * - * @throws IllegalArgumentException if this is a {@code link} element and this value of {@code - * rel} is not allowed - */ - public SafeHtmlBuilder setRel(String value) { - checkLinkDependentAttributes(value, hrefValueContract); - return setAttribute("rel", value); - } - - /** Sets the {@code required} attribute for this element. */ - public SafeHtmlBuilder setRequired(String value) { - return setAttribute("required", value); - } - - /** Sets the {@code reversed} attribute for this element. */ - public SafeHtmlBuilder setReversed(String value) { - return setAttribute("reversed", value); - } - - /** Sets the {@code role} attribute for this element. */ - public SafeHtmlBuilder setRole(String value) { - return setAttribute("role", value); - } - - /** Sets the {@code rows} attribute for this element. */ - public SafeHtmlBuilder setRows(String value) { - return setAttribute("rows", value); - } - - /** Sets the {@code rowspan} attribute for this element. */ - public SafeHtmlBuilder setRowspan(String value) { - return setAttribute("rowspan", value); - } - - /** Sets the {@code selected} attribute for this element. */ - public SafeHtmlBuilder setSelected(String value) { - return setAttribute("selected", value); - } - - /** Sets the {@code shape} attribute for this element. */ - public SafeHtmlBuilder setShape(String value) { - return setAttribute("shape", value); - } - - /** Sets the {@code size} attribute for this element. */ - public SafeHtmlBuilder setSize(String value) { - return setAttribute("size", value); - } - - /** Sets the {@code sizes} attribute for this element. */ - public SafeHtmlBuilder setSizes(String value) { - return setAttribute("sizes", value); - } - - /** Sets the {@code span} attribute for this element. */ - public SafeHtmlBuilder setSpan(String value) { - return setAttribute("span", value); - } - - /** Sets the {@code spellcheck} attribute for this element. */ - public SafeHtmlBuilder setSpellcheck(String value) { - return setAttribute("spellcheck", value); - } - - /** These elements are whitelisted to use src with a SafeUrl value. */ - private static final Set
SRC_SAFE_URL_ELEMENT_WHITELIST = - createUnmodifiableSet("audio", "img", "input", "source", "video"); - - /** - * Sets the {@code src} attribute for this element. - * - * The attribute {@code src} with a {@code SafeUrl} value is allowed on these elements: - * - *
- *
- * - * @throws IllegalArgumentException if the {@code src} attribute with a {@code SafeUrl} value is - * not allowed on this element - */ - public SafeHtmlBuilder setSrc(SafeUrl value) { - if (!SRC_SAFE_URL_ELEMENT_WHITELIST.contains(elementName)) { - throw new IllegalArgumentException( - "Attribute \"src\" with a SafeUrl value can only be used " - + "by one of the following elements: " - + SRC_SAFE_URL_ELEMENT_WHITELIST); - } - return setAttribute("src", value.getSafeUrlString()); - } - - /** Sets the {@code src} attribute for this element. */ - public SafeHtmlBuilder setSrc(TrustedResourceUrl value) { - return setAttribute("src", value.getTrustedResourceUrlString()); - } - - /** These elements are whitelisted to use srcdoc with a SafeHtml value. */ - private static final Set- {@code audio} - *
- {@code img} - *
- {@code input} - *
- {@code source} - *
- {@code video} - *
SRCDOC_SAFE_HTML_ELEMENT_WHITELIST = - createUnmodifiableSet("iframe"); - - /** - * Sets the {@code srcdoc} attribute for this element. - * - * The attribute {@code srcdoc} with a {@code SafeHtml} value is allowed on these elements: - * - *
- *
- * - * @throws IllegalArgumentException if the {@code srcdoc} attribute with a {@code SafeHtml} value - * is not allowed on this element - */ - public SafeHtmlBuilder setSrcdoc(SafeHtml value) { - if (!SRCDOC_SAFE_HTML_ELEMENT_WHITELIST.contains(elementName)) { - throw new IllegalArgumentException( - "Attribute \"srcdoc\" with a SafeHtml value can only be used " - + "by one of the following elements: " - + SRCDOC_SAFE_HTML_ELEMENT_WHITELIST); - } - return setAttribute("srcdoc", value.getSafeHtmlString()); - } - - /** Sets the {@code start} attribute for this element. */ - public SafeHtmlBuilder setStart(String value) { - return setAttribute("start", value); - } - - /** Sets the {@code step} attribute for this element. */ - public SafeHtmlBuilder setStep(String value) { - return setAttribute("step", value); - } - - /** Sets the {@code style} attribute for this element. */ - public SafeHtmlBuilder setStyle(SafeStyle value) { - return setAttribute("style", value.getSafeStyleString()); - } - - /** Sets the {@code summary} attribute for this element. */ - public SafeHtmlBuilder setSummary(String value) { - return setAttribute("summary", value); - } - - /** Sets the {@code tabindex} attribute for this element. */ - public SafeHtmlBuilder setTabindex(String value) { - return setAttribute("tabindex", value); - } - - /** Values that can be passed to {@link #setTarget(TargetValue)}. */ - public enum TargetValue { - - /** Value of {@code _blank}. */ - BLANK("_blank"), - /** Value of {@code _self}. */ - SELF("_self"); - - private final String value; - - private TargetValue(String value) { - this.value = value; - } - - @Override - public String toString() { - return value; - } - } - - /** Sets the {@code target} attribute for this element. */ - public SafeHtmlBuilder setTarget(TargetValue value) { - return setAttribute("target", value.toString()); - } - - /** Sets the {@code title} attribute for this element. */ - public SafeHtmlBuilder setTitle(String value) { - return setAttribute("title", value); - } - - /** Sets the {@code translate} attribute for this element. */ - public SafeHtmlBuilder setTranslate(String value) { - return setAttribute("translate", value); - } - - /** These elements are whitelisted to use type with a String value. */ - private static final Set- {@code iframe} - *
TYPE_STRING_ELEMENT_WHITELIST = - createUnmodifiableSet("button", "command", "input", "li", "link", "ol"); - - /** - * Sets the {@code type} attribute for this element. - * - * The attribute {@code type} with a {@code String} value is allowed on these elements: - * - *
- *
- * - * @throws IllegalArgumentException if the {@code type} attribute with a {@code String} value is - * not allowed on this element - */ - public SafeHtmlBuilder setType(String value) { - if (!TYPE_STRING_ELEMENT_WHITELIST.contains(elementName)) { - throw new IllegalArgumentException( - "Attribute \"type\" with a String value can only be used " - + "by one of the following elements: " - + TYPE_STRING_ELEMENT_WHITELIST); - } - return setAttribute("type", value); - } - - /** Sets the {@code valign} attribute for this element. */ - public SafeHtmlBuilder setValign(String value) { - return setAttribute("valign", value); - } - - /** Sets the {@code value} attribute for this element. */ - public SafeHtmlBuilder setValue(String value) { - return setAttribute("value", value); - } - - /** Sets the {@code width} attribute for this element. */ - public SafeHtmlBuilder setWidth(String value) { - return setAttribute("width", value); - } - - /** Sets the {@code wrap} attribute for this element. */ - public SafeHtmlBuilder setWrap(String value) { - return setAttribute("wrap", value); - } - - /** - * Sets a custom data attribute, {@code name}, to {@code value} for this element. {@code value} - * must consist only of letters and {@code -}. - * - * @param name including the "data-" prefix, e.g. "data-tooltip" - * @throws IllegalArgumentException if the attribute name isn't valid - * @see - * http://www.w3.org/TR/html5/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes - */ - public SafeHtmlBuilder setDataAttribute(@CompileTimeConstant final String name, String value) { - if (!name.matches(VALID_DATA_ATTRIBUTES_REGEXP)) { - throw new IllegalArgumentException( - "Invalid data attribute name \"" - + name - + "\"." - + "Name must start with \"data-\" and be followed by letters and '-'."); - } - return setAttribute(name, value); - } - - /** - * Appends the given {@code htmls} as this element's content, in sequence. - * - * @throws IllegalStateException if this builder represents a void element - */ - public SafeHtmlBuilder appendContent(SafeHtml... htmls) { - checkNotVoidElement(); - Collections.addAll(contents, htmls); - return this; - } - - /** - * Appends the given {@code htmls} as this element's content, in the sequence the Iterable returns - * them. - * - * @throws IllegalStateException if this builder represents a void element - */ - public SafeHtmlBuilder appendContent(Iterable- {@code button} - *
- {@code command} - *
- {@code input} - *
- {@code li} - *
- {@code link} - *
- {@code ol} - *
htmls) { - checkNotVoidElement(); - for (SafeHtml html : htmls) { - contents.add(html); - } - return this; - } - - /** - * Appends the given {@code htmls} as this element's content, in the sequence the Iterator returns - * them. - * - * @throws IllegalStateException if this builder represents a void element - */ - public SafeHtmlBuilder appendContent(Iterator htmls) { - checkNotVoidElement(); - while (htmls.hasNext()) { - contents.add(htmls.next()); - } - return this; - } - - /** - * Checks that this combination of rel value and href contract is safe. - * - * @param relValue is the value of rel or null if rel isn't present. - * @throws IllegalArgumentException if this value and contract combination is not allowed. - */ - private static void checkLinkDependentAttributes( - @Nullable String relValue, AttributeContract hrefValueContract) { - - if (hrefValueContract.equals(AttributeContract.SAFE_URL) - && relValue != null - && !LINK_HREF_SAFE_URL_REL_WHITELIST.contains(relValue.toLowerCase(Locale.ENGLISH))) { - throw new IllegalArgumentException( - "SafeUrl values for the href attribute are not allowed on . Did you intend to use a TrustedResourceUrl?"); - } - } - - private void checkNotVoidElement() { - if (VOID_ELEMENTS.contains(elementName)) { - throw new IllegalStateException( - "Element \"" + elementName + "\" is a void element and so cannot have content."); - } - } - - /** - * HTML-escapes and appends {@code text} to this element's content. - * - * @throws IllegalStateException if this builder represents a void element - */ - public SafeHtmlBuilder escapeAndAppendContent(String text) { - // htmlEscape() unicode coerces in non-portable version. - return appendContent(SafeHtmls.htmlEscape(text)); - } - - @CheckReturnValue - public SafeHtml build() { - StringBuilder sb = new StringBuilder("<" + elementName); - for (Map.Entry entry : attributes.entrySet()) { - sb.append(" " + entry.getKey() + "=\"" + escapeHtmlInternal(entry.getValue()) + "\""); - } - - boolean isVoid = VOID_ELEMENTS.contains(elementName); - if (isVoid && useSlashOnVoid) { - sb.append("/"); - } - sb.append(">"); - if (!isVoid) { - for (SafeHtml content : contents) { - sb.append(content.getSafeHtmlString()); - } - sb.append("" + elementName + ">"); - } - return SafeHtmls.create(sb.toString()); - } - - private static final Set createUnmodifiableSet(String... strings) { - HashSet set = new HashSet<>(); - Collections.addAll(set, strings); - return Collections.unmodifiableSet(set); - } - - private SafeHtmlBuilder setAttribute(@CompileTimeConstant final String name, String value) { - if (value == null) { - throw new NullPointerException("setAttribute requires a non-null value."); - } - attributes.put(name, coerceToInterchangeValid(value)); - return this; - } -} diff --git a/third_party/safe_html_types/com/google/common/html/types/SafeHtmlProto.java b/third_party/safe_html_types/com/google/common/html/types/SafeHtmlProto.java deleted file mode 100644 index 019c0040280..00000000000 --- a/third_party/safe_html_types/com/google/common/html/types/SafeHtmlProto.java +++ /dev/null @@ -1,614 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: webutil/html/types/html.proto - -package com.google.common.html.types; - -/** - * - * IMPORTANT: It is unsafe to accept this message from an untrusted source, - * since it's trivial for an attacker to forge serialized messages that - * don't fulfill the type's safety contract -- for example, it could contain - * attacker controlled script. A system which receives a SafeHtmlProto - * implicitly trusts the producer of the SafeHtmlProto. So, it's generally safe - * to return this message in RPC responses, but generally unsafe to accept it - * in RPC requests. - *- * - * Protobuf type {@code webutil.html.types.SafeHtmlProto} - */ -public final class SafeHtmlProto extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:webutil.html.types.SafeHtmlProto) - SafeHtmlProtoOrBuilder { - // Use SafeHtmlProto.newBuilder() to construct. - private SafeHtmlProto(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private SafeHtmlProto() { - privateDoNotAccessOrElseSafeHtmlWrappedValue_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SafeHtmlProto( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - privateDoNotAccessOrElseSafeHtmlWrappedValue_ = bs; - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.common.html.types.Html.internal_static_webutil_html_types_SafeHtmlProto_descriptor; - } - - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.common.html.types.Html.internal_static_webutil_html_types_SafeHtmlProto_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.common.html.types.SafeHtmlProto.class, com.google.common.html.types.SafeHtmlProto.Builder.class); - } - - private int bitField0_; - public static final int PRIVATE_DO_NOT_ACCESS_OR_ELSE_SAFE_HTML_WRAPPED_VALUE_FIELD_NUMBER = 2; - private volatile java.lang.Object privateDoNotAccessOrElseSafeHtmlWrappedValue_; - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_html_wrapped_value = 2 [ctype = CORD];- */ - public boolean hasPrivateDoNotAccessOrElseSafeHtmlWrappedValue() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_html_wrapped_value = 2 [ctype = CORD];- */ - public java.lang.String getPrivateDoNotAccessOrElseSafeHtmlWrappedValue() { - java.lang.Object ref = privateDoNotAccessOrElseSafeHtmlWrappedValue_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - privateDoNotAccessOrElseSafeHtmlWrappedValue_ = s; - } - return s; - } - } - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_html_wrapped_value = 2 [ctype = CORD];- */ - public com.google.protobuf.ByteString - getPrivateDoNotAccessOrElseSafeHtmlWrappedValueBytes() { - java.lang.Object ref = privateDoNotAccessOrElseSafeHtmlWrappedValue_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - privateDoNotAccessOrElseSafeHtmlWrappedValue_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, privateDoNotAccessOrElseSafeHtmlWrappedValue_); - } - unknownFields.writeTo(output); - } - - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, privateDoNotAccessOrElseSafeHtmlWrappedValue_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.common.html.types.SafeHtmlProto)) { - return super.equals(obj); - } - com.google.common.html.types.SafeHtmlProto other = (com.google.common.html.types.SafeHtmlProto) obj; - - boolean result = true; - result = result && (hasPrivateDoNotAccessOrElseSafeHtmlWrappedValue() == other.hasPrivateDoNotAccessOrElseSafeHtmlWrappedValue()); - if (hasPrivateDoNotAccessOrElseSafeHtmlWrappedValue()) { - result = result && getPrivateDoNotAccessOrElseSafeHtmlWrappedValue() - .equals(other.getPrivateDoNotAccessOrElseSafeHtmlWrappedValue()); - } - result = result && unknownFields.equals(other.unknownFields); - return result; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasPrivateDoNotAccessOrElseSafeHtmlWrappedValue()) { - hash = (37 * hash) + PRIVATE_DO_NOT_ACCESS_OR_ELSE_SAFE_HTML_WRAPPED_VALUE_FIELD_NUMBER; - hash = (53 * hash) + getPrivateDoNotAccessOrElseSafeHtmlWrappedValue().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.common.html.types.SafeHtmlProto parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.common.html.types.SafeHtmlProto parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static com.google.common.html.types.SafeHtmlProto parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.common.html.types.SafeHtmlProto parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static com.google.common.html.types.SafeHtmlProto parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.common.html.types.SafeHtmlProto parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static com.google.common.html.types.SafeHtmlProto parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.common.html.types.SafeHtmlProto parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static com.google.common.html.types.SafeHtmlProto parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.google.common.html.types.SafeHtmlProto parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static com.google.common.html.types.SafeHtmlProto parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.common.html.types.SafeHtmlProto parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(com.google.common.html.types.SafeHtmlProto prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *- * IMPORTANT: It is unsafe to accept this message from an untrusted source, - * since it's trivial for an attacker to forge serialized messages that - * don't fulfill the type's safety contract -- for example, it could contain - * attacker controlled script. A system which receives a SafeHtmlProto - * implicitly trusts the producer of the SafeHtmlProto. So, it's generally safe - * to return this message in RPC responses, but generally unsafe to accept it - * in RPC requests. - *- * - * Protobuf type {@code webutil.html.types.SafeHtmlProto} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builderimplements - // @@protoc_insertion_point(builder_implements:webutil.html.types.SafeHtmlProto) - com.google.common.html.types.SafeHtmlProtoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.common.html.types.Html.internal_static_webutil_html_types_SafeHtmlProto_descriptor; - } - - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.common.html.types.Html.internal_static_webutil_html_types_SafeHtmlProto_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.common.html.types.SafeHtmlProto.class, com.google.common.html.types.SafeHtmlProto.Builder.class); - } - - // Construct using com.google.common.html.types.SafeHtmlProto.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - public Builder clear() { - super.clear(); - privateDoNotAccessOrElseSafeHtmlWrappedValue_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.common.html.types.Html.internal_static_webutil_html_types_SafeHtmlProto_descriptor; - } - - public com.google.common.html.types.SafeHtmlProto getDefaultInstanceForType() { - return com.google.common.html.types.SafeHtmlProto.getDefaultInstance(); - } - - public com.google.common.html.types.SafeHtmlProto build() { - com.google.common.html.types.SafeHtmlProto result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - public com.google.common.html.types.SafeHtmlProto buildPartial() { - com.google.common.html.types.SafeHtmlProto result = new com.google.common.html.types.SafeHtmlProto(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.privateDoNotAccessOrElseSafeHtmlWrappedValue_ = privateDoNotAccessOrElseSafeHtmlWrappedValue_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - public Builder clone() { - return (Builder) super.clone(); - } - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); - } - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); - } - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); - } - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); - } - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); - } - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.common.html.types.SafeHtmlProto) { - return mergeFrom((com.google.common.html.types.SafeHtmlProto)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.common.html.types.SafeHtmlProto other) { - if (other == com.google.common.html.types.SafeHtmlProto.getDefaultInstance()) return this; - if (other.hasPrivateDoNotAccessOrElseSafeHtmlWrappedValue()) { - bitField0_ |= 0x00000001; - privateDoNotAccessOrElseSafeHtmlWrappedValue_ = other.privateDoNotAccessOrElseSafeHtmlWrappedValue_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - public final boolean isInitialized() { - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.common.html.types.SafeHtmlProto parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.common.html.types.SafeHtmlProto) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object privateDoNotAccessOrElseSafeHtmlWrappedValue_ = ""; - /** - * - * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_html_wrapped_value = 2 [ctype = CORD];- */ - public boolean hasPrivateDoNotAccessOrElseSafeHtmlWrappedValue() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_html_wrapped_value = 2 [ctype = CORD];- */ - public java.lang.String getPrivateDoNotAccessOrElseSafeHtmlWrappedValue() { - java.lang.Object ref = privateDoNotAccessOrElseSafeHtmlWrappedValue_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - privateDoNotAccessOrElseSafeHtmlWrappedValue_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_html_wrapped_value = 2 [ctype = CORD];- */ - public com.google.protobuf.ByteString - getPrivateDoNotAccessOrElseSafeHtmlWrappedValueBytes() { - java.lang.Object ref = privateDoNotAccessOrElseSafeHtmlWrappedValue_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - privateDoNotAccessOrElseSafeHtmlWrappedValue_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_html_wrapped_value = 2 [ctype = CORD];- */ - public Builder setPrivateDoNotAccessOrElseSafeHtmlWrappedValue( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - privateDoNotAccessOrElseSafeHtmlWrappedValue_ = value; - onChanged(); - return this; - } - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_html_wrapped_value = 2 [ctype = CORD];- */ - public Builder clearPrivateDoNotAccessOrElseSafeHtmlWrappedValue() { - bitField0_ = (bitField0_ & ~0x00000001); - privateDoNotAccessOrElseSafeHtmlWrappedValue_ = getDefaultInstance().getPrivateDoNotAccessOrElseSafeHtmlWrappedValue(); - onChanged(); - return this; - } - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_html_wrapped_value = 2 [ctype = CORD];- */ - public Builder setPrivateDoNotAccessOrElseSafeHtmlWrappedValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - privateDoNotAccessOrElseSafeHtmlWrappedValue_ = value; - onChanged(); - return this; - } - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:webutil.html.types.SafeHtmlProto) - } - - // @@protoc_insertion_point(class_scope:webutil.html.types.SafeHtmlProto) - private static final com.google.common.html.types.SafeHtmlProto DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.google.common.html.types.SafeHtmlProto(); - } - - public static com.google.common.html.types.SafeHtmlProto getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated public static final com.google.protobuf.Parser- PARSER = new com.google.protobuf.AbstractParser () { - public SafeHtmlProto parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SafeHtmlProto(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - public com.google.common.html.types.SafeHtmlProto getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} diff --git a/third_party/safe_html_types/com/google/common/html/types/SafeHtmlProtoOrBuilder.java b/third_party/safe_html_types/com/google/common/html/types/SafeHtmlProtoOrBuilder.java deleted file mode 100644 index a8907533107..00000000000 --- a/third_party/safe_html_types/com/google/common/html/types/SafeHtmlProtoOrBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: webutil/html/types/html.proto - -package com.google.common.html.types; - -public interface SafeHtmlProtoOrBuilder extends - // @@protoc_insertion_point(interface_extends:webutil.html.types.SafeHtmlProto) - com.google.protobuf.MessageOrBuilder { - - /** - * - * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_html_wrapped_value = 2 [ctype = CORD];- */ - boolean hasPrivateDoNotAccessOrElseSafeHtmlWrappedValue(); - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_html_wrapped_value = 2 [ctype = CORD];- */ - java.lang.String getPrivateDoNotAccessOrElseSafeHtmlWrappedValue(); - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_html_wrapped_value = 2 [ctype = CORD];- */ - com.google.protobuf.ByteString - getPrivateDoNotAccessOrElseSafeHtmlWrappedValueBytes(); -} diff --git a/third_party/safe_html_types/com/google/common/html/types/SafeHtmls.java b/third_party/safe_html_types/com/google/common/html/types/SafeHtmls.java deleted file mode 100644 index a746a4e72f4..00000000000 --- a/third_party/safe_html_types/com/google/common/html/types/SafeHtmls.java +++ /dev/null @@ -1,198 +0,0 @@ -// **** GENERATED CODE, DO NOT MODIFY **** -// This file was generated via preprocessing from input: -// java/com/google/common/html/types/SafeHtmls.java.tpl -// *************************************** -/* - * Copyright 2016 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.common.html.types; - -import static com.google.common.html.types.BuilderUtils.coerceToInterchangeValid; -import static com.google.common.html.types.BuilderUtils.escapeHtmlInternal; - -import com.google.common.annotations.GwtCompatible; -import com.google.common.base.Preconditions; -import java.util.Arrays; -import javax.annotation.CheckReturnValue; - -/** - * Protocol conversions, builders and factory methods for {@link SafeHtml}. - */ -@CheckReturnValue -@GwtCompatible -public final class SafeHtmls { - - /** - * Deserializes a SafeHtmlProto into a SafeHtml instance. - * - *Protocol-message forms are intended to be opaque. The fields of the protocol message should - * be considered encapsulated and are not intended for direct inspection or manipulation. Protocol - * message forms of this type should be produced by {@link #toProto(SafeHtml)} or its - * equivalent in other implementation languages. - * - *
Important: It is unsafe to invoke this method on a protocol message that has been - * received from an entity outside the application's trust domain. Data coming from the browser - * is outside the application's trust domain. - */ - public static SafeHtml fromProto(SafeHtmlProto proto) { - return create(proto.getPrivateDoNotAccessOrElseSafeHtmlWrappedValue()); - } - - /** - * Wraps a SafeScript inside a <script type="text/javascript"> tag. - */ - public static SafeHtml fromScript(SafeScript script) { - return create(""); - } - - /** - * Wraps a SafeScript inside a <script type="text/javascript"> tag. - * The tag has a nonce attribute populated from the provided CSP nonce value. - */ - public static SafeHtml fromScriptWithCspNonce(SafeScript script, String cspNonce) { - return create(""); - } - - /** - * Creates a <script type="text/javascript" src="url"><script> where the - * {@code src} attribute points to the given {@code trustedResourceUrl}. - */ - public static SafeHtml fromScriptUrl(TrustedResourceUrl trustedResourceUrl) { - String escapedUrl = htmlEscapeInternal(trustedResourceUrl.getTrustedResourceUrlString()); - return create(""); - } - - /** - * Creates a <script defer type="text/javascript" src="url"><script> where the - * {@code src} attribute points to the given {@code trustedResourceUrl}. - */ - public static SafeHtml fromScriptUrlDeferred(TrustedResourceUrl trustedResourceUrl) { - String escapedUrl = htmlEscapeInternal(trustedResourceUrl.getTrustedResourceUrlString()); - return create(""); - } - - /** - * Creates a <script type="text/javascript" src="url"><script> where the - * {@code src} attribute points to the given {@code trustedResourceUrl}. - * The tag has a nonce attribute populated from the provided CSP nonce value. - */ - public static SafeHtml fromScriptUrlWithCspNonce(TrustedResourceUrl trustedResourceUrl, - String cspNonce) { - String escapedUrl = htmlEscapeInternal(trustedResourceUrl.getTrustedResourceUrlString()); - return create(""); - } - - /** - * Creates a <script defer type="text/javascript" src="url"><script> where the - * {@code src} attribute points to the given {@code trustedResourceUrl}. - * The tag has a nonce attribute populated from the provided CSP nonce value. - */ - public static SafeHtml fromScriptUrlWithCspNonceDeferred(TrustedResourceUrl trustedResourceUrl, - String cspNonce) { - String escapedUrl = htmlEscapeInternal(trustedResourceUrl.getTrustedResourceUrlString()); - return create(""); - } - - /** - * Wraps a SafeStyleSheet inside a <style type="text/css"> tag. - */ - public static SafeHtml fromStyleSheet(SafeStyleSheet safeStyleSheet) { - Preconditions.checkArgument(!safeStyleSheet.getSafeStyleSheetString().contains("<")); - return create(""); - } - - /** - * Creates a <style type="text/css" src="url"><style> where the - * {@code src} attribute points to the given {@code trustedResourceUrl}. - */ - public static SafeHtml fromStyleUrl(TrustedResourceUrl trustedResourceUrl) { - String escapedUrl = htmlEscapeInternal(trustedResourceUrl.getTrustedResourceUrlString()); - return create(""); - } - - /** - * Serializes a SafeHtml into its opaque protocol message representation. - * - *
Protocol message forms of this type are intended to be opaque. The fields of the returned - * protocol message should be considered encapsulated and are not intended for direct inspection - * or manipulation. Protocol messages can be converted back into a SafeHtml using - * {@link #fromProto(SafeHtmlProto)}. - */ - public static SafeHtmlProto toProto(SafeHtml safeHtml) { - return SafeHtmlProto.newBuilder().setPrivateDoNotAccessOrElseSafeHtmlWrappedValue( - safeHtml.getSafeHtmlString()).build(); - } - - /** - * Converts, by HTML-escaping, an arbitrary string into a contract-compliant {@link SafeHtml}. - */ - public static SafeHtml htmlEscape(String text) { - return create(htmlEscapeInternal(text)); - } - - /** - * Converts an arbitrary string into an HTML comment by HTML-escaping the contents and embedding - * the result between HTML comment markers. - * - *
Escaping is needed because Internet Explorer supports conditional comments and so may render - * HTML markup within comments. - */ - public static SafeHtml comment(String text) { - return create(""); - } - - - /** - * Creates a new SafeHtml which contains, in order, the string representations of the given - * {@code htmls}. - */ - public static SafeHtml concat(SafeHtml... htmls) { - return concat(Arrays.asList(htmls)); - } - - /** - * Creates a new SafeHtml which contains, in order, the string representations of the given - * {@code htmls}. - */ - public static SafeHtml concat(Iterable
htmls) { - int concatLength = 0; - for (SafeHtml html : htmls) { - concatLength += html.getSafeHtmlString().length(); - } - - StringBuilder result = new StringBuilder(concatLength); - for (SafeHtml html : htmls) { - result.append(html.getSafeHtmlString()); - } - return create(result.toString()); - } - - // Default visibility for use by SafeHtmlBuilder. - static SafeHtml create(String html) { - return new SafeHtml(html); - } - - private static String htmlEscapeInternal(String text) { - return escapeHtmlInternal(coerceToInterchangeValid(text)); - } - - private SafeHtmls() { } -} - diff --git a/third_party/safe_html_types/com/google/common/html/types/SafeScript.java b/third_party/safe_html_types/com/google/common/html/types/SafeScript.java deleted file mode 100644 index 1abf042c432..00000000000 --- a/third_party/safe_html_types/com/google/common/html/types/SafeScript.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright 2016 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.common.html.types; - -import javax.annotation.CheckReturnValue; -import javax.annotation.concurrent.Immutable; -import jsinterop.annotations.JsType; - -/** - * A string-like object which represents JavaScript code and that carries the security type - * contract that its value, as a string, will not cause execution of unconstrained attacker - * controlled code (XSS) when evaluated as JavaScript in a browser. - * - * A SafeScript's string representation ({@link #getSafeScriptString()}) can safely be interpolated - * as the content of a script element within HTML. The SafeScript string should not be escaped - * before interpolation. - * - * Note that the SafeScript might contain text that is attacker-controlled but that text should - * have been interpolated with appropriate escaping, sanitization and/or validation into the right - * location in the script, such that it is highly constrained in its effect (for example, it had to - * match a set of whitelisted words). - * - * A SafeScript can be constructed via security-reviewed unchecked conversions. In this case - * producers of SafeScript must ensure themselves that the SafeScript does not contain unsafe - * script. Note in particular that {@code <} is dangerous, even when inside JavaScript strings, - * and so should always be forbidden or JavaScript escaped in user controlled input. For example, - * if {@code </script><script>evil</script>"} were interpolated inside a - * JavaScript string, it would break out of the context of the original script element and - * {@code evil} would execute. Also note that within an HTML script (raw text) element, HTML - * character references, such as {@code <}, are not allowed. See - * http://www.w3.org/TR/html5/scripting-1.html#restrictions-for-contents-of-script-elements. - */ -@CheckReturnValue -@Immutable -@JsType -public final class SafeScript { - - /** The SafeScript wrapping an empty string. */ - public static final SafeScript EMPTY = new SafeScript(""); - - private final String privateDoNotAccessOrElseSafeScriptWrappedValue; - - SafeScript(String script) { - if (script == null) { - throw new NullPointerException(); - } - this.privateDoNotAccessOrElseSafeScriptWrappedValue = script; - } - - @Override - public int hashCode() { - return privateDoNotAccessOrElseSafeScriptWrappedValue.hashCode() ^ 0x6914dfaa; - } - - @Override - public boolean equals(Object other) { - if (!(other instanceof SafeScript)) { - return false; - } - SafeScript that = (SafeScript) other; - return this.privateDoNotAccessOrElseSafeScriptWrappedValue.equals( - that.privateDoNotAccessOrElseSafeScriptWrappedValue); - } - - /** - * Returns a debug representation of this value's underlying string, NOT the string representation - * of the SafeScript. - * - * Having {@code toString()} return a debug representation is intentional. This type has - * a GWT-compiled JavaScript version; JavaScript has no static typing and a distinct method - * method name provides a modicum of type-safety. - * - * @see #getSafeScriptString - */ - @Override - public String toString() { - return "SafeScript{" + privateDoNotAccessOrElseSafeScriptWrappedValue + "}"; - } - - /** - * Returns this value's underlying string. See class documentation for what guarantees exist on - * the returned string. - */ - public String getSafeScriptString() { - return privateDoNotAccessOrElseSafeScriptWrappedValue; - } -} diff --git a/third_party/safe_html_types/com/google/common/html/types/SafeScriptProto.java b/third_party/safe_html_types/com/google/common/html/types/SafeScriptProto.java deleted file mode 100644 index 57399693fd2..00000000000 --- a/third_party/safe_html_types/com/google/common/html/types/SafeScriptProto.java +++ /dev/null @@ -1,604 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: webutil/html/types/html.proto - -package com.google.common.html.types; - -/** - *
- * Message containing JavaScript code that is safe to use as the content of an - * HTML script element. - *- * - * Protobuf type {@code webutil.html.types.SafeScriptProto} - */ -public final class SafeScriptProto extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:webutil.html.types.SafeScriptProto) - SafeScriptProtoOrBuilder { - // Use SafeScriptProto.newBuilder() to construct. - private SafeScriptProto(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private SafeScriptProto() { - privateDoNotAccessOrElseSafeScriptWrappedValue_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SafeScriptProto( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } - case 50: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - privateDoNotAccessOrElseSafeScriptWrappedValue_ = bs; - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.common.html.types.Html.internal_static_webutil_html_types_SafeScriptProto_descriptor; - } - - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.common.html.types.Html.internal_static_webutil_html_types_SafeScriptProto_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.common.html.types.SafeScriptProto.class, com.google.common.html.types.SafeScriptProto.Builder.class); - } - - private int bitField0_; - public static final int PRIVATE_DO_NOT_ACCESS_OR_ELSE_SAFE_SCRIPT_WRAPPED_VALUE_FIELD_NUMBER = 6; - private volatile java.lang.Object privateDoNotAccessOrElseSafeScriptWrappedValue_; - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_script_wrapped_value = 6 [ctype = CORD];- */ - public boolean hasPrivateDoNotAccessOrElseSafeScriptWrappedValue() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_script_wrapped_value = 6 [ctype = CORD];- */ - public java.lang.String getPrivateDoNotAccessOrElseSafeScriptWrappedValue() { - java.lang.Object ref = privateDoNotAccessOrElseSafeScriptWrappedValue_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - privateDoNotAccessOrElseSafeScriptWrappedValue_ = s; - } - return s; - } - } - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_script_wrapped_value = 6 [ctype = CORD];- */ - public com.google.protobuf.ByteString - getPrivateDoNotAccessOrElseSafeScriptWrappedValueBytes() { - java.lang.Object ref = privateDoNotAccessOrElseSafeScriptWrappedValue_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - privateDoNotAccessOrElseSafeScriptWrappedValue_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, privateDoNotAccessOrElseSafeScriptWrappedValue_); - } - unknownFields.writeTo(output); - } - - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, privateDoNotAccessOrElseSafeScriptWrappedValue_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.common.html.types.SafeScriptProto)) { - return super.equals(obj); - } - com.google.common.html.types.SafeScriptProto other = (com.google.common.html.types.SafeScriptProto) obj; - - boolean result = true; - result = result && (hasPrivateDoNotAccessOrElseSafeScriptWrappedValue() == other.hasPrivateDoNotAccessOrElseSafeScriptWrappedValue()); - if (hasPrivateDoNotAccessOrElseSafeScriptWrappedValue()) { - result = result && getPrivateDoNotAccessOrElseSafeScriptWrappedValue() - .equals(other.getPrivateDoNotAccessOrElseSafeScriptWrappedValue()); - } - result = result && unknownFields.equals(other.unknownFields); - return result; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasPrivateDoNotAccessOrElseSafeScriptWrappedValue()) { - hash = (37 * hash) + PRIVATE_DO_NOT_ACCESS_OR_ELSE_SAFE_SCRIPT_WRAPPED_VALUE_FIELD_NUMBER; - hash = (53 * hash) + getPrivateDoNotAccessOrElseSafeScriptWrappedValue().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.common.html.types.SafeScriptProto parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.common.html.types.SafeScriptProto parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static com.google.common.html.types.SafeScriptProto parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.common.html.types.SafeScriptProto parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static com.google.common.html.types.SafeScriptProto parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.common.html.types.SafeScriptProto parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static com.google.common.html.types.SafeScriptProto parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.common.html.types.SafeScriptProto parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static com.google.common.html.types.SafeScriptProto parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.google.common.html.types.SafeScriptProto parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static com.google.common.html.types.SafeScriptProto parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.common.html.types.SafeScriptProto parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(com.google.common.html.types.SafeScriptProto prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *- * Message containing JavaScript code that is safe to use as the content of an - * HTML script element. - *- * - * Protobuf type {@code webutil.html.types.SafeScriptProto} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builderimplements - // @@protoc_insertion_point(builder_implements:webutil.html.types.SafeScriptProto) - com.google.common.html.types.SafeScriptProtoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.common.html.types.Html.internal_static_webutil_html_types_SafeScriptProto_descriptor; - } - - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.common.html.types.Html.internal_static_webutil_html_types_SafeScriptProto_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.common.html.types.SafeScriptProto.class, com.google.common.html.types.SafeScriptProto.Builder.class); - } - - // Construct using com.google.common.html.types.SafeScriptProto.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - public Builder clear() { - super.clear(); - privateDoNotAccessOrElseSafeScriptWrappedValue_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.common.html.types.Html.internal_static_webutil_html_types_SafeScriptProto_descriptor; - } - - public com.google.common.html.types.SafeScriptProto getDefaultInstanceForType() { - return com.google.common.html.types.SafeScriptProto.getDefaultInstance(); - } - - public com.google.common.html.types.SafeScriptProto build() { - com.google.common.html.types.SafeScriptProto result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - public com.google.common.html.types.SafeScriptProto buildPartial() { - com.google.common.html.types.SafeScriptProto result = new com.google.common.html.types.SafeScriptProto(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.privateDoNotAccessOrElseSafeScriptWrappedValue_ = privateDoNotAccessOrElseSafeScriptWrappedValue_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - public Builder clone() { - return (Builder) super.clone(); - } - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); - } - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); - } - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); - } - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); - } - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); - } - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.common.html.types.SafeScriptProto) { - return mergeFrom((com.google.common.html.types.SafeScriptProto)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.common.html.types.SafeScriptProto other) { - if (other == com.google.common.html.types.SafeScriptProto.getDefaultInstance()) return this; - if (other.hasPrivateDoNotAccessOrElseSafeScriptWrappedValue()) { - bitField0_ |= 0x00000001; - privateDoNotAccessOrElseSafeScriptWrappedValue_ = other.privateDoNotAccessOrElseSafeScriptWrappedValue_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - public final boolean isInitialized() { - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.common.html.types.SafeScriptProto parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.common.html.types.SafeScriptProto) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object privateDoNotAccessOrElseSafeScriptWrappedValue_ = ""; - /** - * - * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_script_wrapped_value = 6 [ctype = CORD];- */ - public boolean hasPrivateDoNotAccessOrElseSafeScriptWrappedValue() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_script_wrapped_value = 6 [ctype = CORD];- */ - public java.lang.String getPrivateDoNotAccessOrElseSafeScriptWrappedValue() { - java.lang.Object ref = privateDoNotAccessOrElseSafeScriptWrappedValue_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - privateDoNotAccessOrElseSafeScriptWrappedValue_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_script_wrapped_value = 6 [ctype = CORD];- */ - public com.google.protobuf.ByteString - getPrivateDoNotAccessOrElseSafeScriptWrappedValueBytes() { - java.lang.Object ref = privateDoNotAccessOrElseSafeScriptWrappedValue_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - privateDoNotAccessOrElseSafeScriptWrappedValue_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_script_wrapped_value = 6 [ctype = CORD];- */ - public Builder setPrivateDoNotAccessOrElseSafeScriptWrappedValue( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - privateDoNotAccessOrElseSafeScriptWrappedValue_ = value; - onChanged(); - return this; - } - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_script_wrapped_value = 6 [ctype = CORD];- */ - public Builder clearPrivateDoNotAccessOrElseSafeScriptWrappedValue() { - bitField0_ = (bitField0_ & ~0x00000001); - privateDoNotAccessOrElseSafeScriptWrappedValue_ = getDefaultInstance().getPrivateDoNotAccessOrElseSafeScriptWrappedValue(); - onChanged(); - return this; - } - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_script_wrapped_value = 6 [ctype = CORD];- */ - public Builder setPrivateDoNotAccessOrElseSafeScriptWrappedValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - privateDoNotAccessOrElseSafeScriptWrappedValue_ = value; - onChanged(); - return this; - } - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:webutil.html.types.SafeScriptProto) - } - - // @@protoc_insertion_point(class_scope:webutil.html.types.SafeScriptProto) - private static final com.google.common.html.types.SafeScriptProto DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.google.common.html.types.SafeScriptProto(); - } - - public static com.google.common.html.types.SafeScriptProto getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated public static final com.google.protobuf.Parser- PARSER = new com.google.protobuf.AbstractParser () { - public SafeScriptProto parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SafeScriptProto(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - public com.google.common.html.types.SafeScriptProto getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} diff --git a/third_party/safe_html_types/com/google/common/html/types/SafeScriptProtoOrBuilder.java b/third_party/safe_html_types/com/google/common/html/types/SafeScriptProtoOrBuilder.java deleted file mode 100644 index 0434edce5aa..00000000000 --- a/third_party/safe_html_types/com/google/common/html/types/SafeScriptProtoOrBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: webutil/html/types/html.proto - -package com.google.common.html.types; - -public interface SafeScriptProtoOrBuilder extends - // @@protoc_insertion_point(interface_extends:webutil.html.types.SafeScriptProto) - com.google.protobuf.MessageOrBuilder { - - /** - * - * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_script_wrapped_value = 6 [ctype = CORD];- */ - boolean hasPrivateDoNotAccessOrElseSafeScriptWrappedValue(); - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_script_wrapped_value = 6 [ctype = CORD];- */ - java.lang.String getPrivateDoNotAccessOrElseSafeScriptWrappedValue(); - /** - *- * IMPORTANT: Never set or read this field, even from tests, it is private. - * See documentation at the top of .proto file for programming language - * packages with which to create or read this message. - *- * - *optional string private_do_not_access_or_else_safe_script_wrapped_value = 6 [ctype = CORD];- */ - com.google.protobuf.ByteString - getPrivateDoNotAccessOrElseSafeScriptWrappedValueBytes(); -} diff --git a/third_party/safe_html_types/com/google/common/html/types/SafeScripts.java b/third_party/safe_html_types/com/google/common/html/types/SafeScripts.java deleted file mode 100644 index a1a22d6dac2..00000000000 --- a/third_party/safe_html_types/com/google/common/html/types/SafeScripts.java +++ /dev/null @@ -1,99 +0,0 @@ -// **** GENERATED CODE, DO NOT MODIFY **** -// This file was generated via preprocessing from input: -// java/com/google/common/html/types/SafeScripts.java.tpl -// *************************************** -/* - * Copyright 2016 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.common.html.types; - -import com.google.common.annotations.GwtCompatible; -import com.google.common.annotations.GwtIncompatible; -import com.google.common.io.Resources; -import com.google.errorprone.annotations.CompileTimeConstant; -import java.io.IOException; -import java.nio.charset.Charset; -import javax.annotation.CheckReturnValue; - - -/** - * Protocol conversions and factory methods for {@link SafeScript}. - */ -@CheckReturnValue -@GwtCompatible(emulated = true) -public final class SafeScripts { - - private SafeScripts() {} - - /** - * Creates a SafeScript from the given compile-time constant string {@code script}. - */ - public static SafeScript fromConstant(@CompileTimeConstant final String script) { - if (script.length() == 0) { - return SafeScript.EMPTY; - } - return create(script); - } - - /** - * Creates a SafeScript from the given compile-time constant {@code resourceName} using the given - * {@code charset}. - * - *This performs ZERO VALIDATION of the data. We assume that resources should be safe because - * they are part of the binary, and therefore not attacker controlled. - * - * @param contextClass Class relative to which to load the resource. - */ - @GwtIncompatible("Resources") - public static SafeScript fromResource( - Class> contextClass, @CompileTimeConstant final String resourceName, Charset charset) - throws IOException { - return create(Resources.toString(Resources.getResource(contextClass, resourceName), charset)); - } - - /** - * Deserializes a SafeScriptProto into a SafeScript instance. - * - *
Protocol-message forms are intended to be opaque. The fields of the protocol message should - * be considered encapsulated and are not intended for direct inspection or manipulation. Protocol - * message forms of this type should be produced by {@link #toProto(SafeScript)} or its equivalent - * in other implementation languages. - * - *
Important: It is unsafe to invoke this method on a protocol message that has been - * received from an entity outside the application's trust domain. Data coming from the browser - * is outside the application's trust domain. - */ - public static SafeScript fromProto(SafeScriptProto proto) { - return create(proto.getPrivateDoNotAccessOrElseSafeScriptWrappedValue()); - } - - /** - * Serializes a SafeScript into its opaque protocol message representation. - * - *
Protocol message forms of this type are intended to be opaque. The fields of the returned - * protocol message should be considered encapsulated and are not intended for direct inspection - * or manipulation. Protocol messages can be converted back into a SafeScript using - * {@link #fromProto(SafeScriptProto)}. - */ - public static SafeScriptProto toProto(SafeScript script) { - return SafeScriptProto.newBuilder() - .setPrivateDoNotAccessOrElseSafeScriptWrappedValue(script.getSafeScriptString()).build(); - } - - static SafeScript create(String script) { - return new SafeScript(script); - } -} diff --git a/third_party/safe_html_types/com/google/common/html/types/SafeStyle.java b/third_party/safe_html_types/com/google/common/html/types/SafeStyle.java deleted file mode 100644 index 3a3571677e2..00000000000 --- a/third_party/safe_html_types/com/google/common/html/types/SafeStyle.java +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Copyright 2016 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.common.html.types; - -import javax.annotation.CheckReturnValue; -import javax.annotation.concurrent.Immutable; -import jsinterop.annotations.JsType; - -/** - * A string-like object which represents a sequence of CSS declarations - * ({@code propertyName1: propertyvalue1; propertyName2: propertyValue2; ...}) and that carries the - * security type contract that its value, as a string, will not cause untrusted script execution - * (XSS) when evaluated as CSS in a browser. - * - *
A SafeStyle's string representation ({@link #getSafeStyleString()}) can safely be: - *
- *
- Interpolated as the content of a quoted HTML style attribute. However, the SafeStyle - * string must be HTML-attribute-escaped before interpolation. - *
- Interpolated as the content of a {}-wrapped block within a stylesheet. '<' characters in the - * SafeStyle string must be CSS-escaped before interpolation. The SafeStyle string is also - * guaranteed not to be able to introduce new properties or elide existing ones. - *
- Interpolated as the content of a {}-wrapped block within an HTML