diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml
index 06d1868147..ac6b4194f2 100644
--- a/.bazelci/presubmit.yml
+++ b/.bazelci/presubmit.yml
@@ -14,7 +14,7 @@ default_windows_targets: &default_windows_targets
- "//..."
- "-//bindgen/..."
- "-//test/proto/..."
- - "-//tools/rust_analyzer/..."
+ - "-//test/unit/pipelined_compilation/..."
crate_universe_vendor_example_targets: &crate_universe_vendor_example_targets
- "//vendor_external:crates_vendor"
- "//vendor_local_manifests:crates_vendor"
@@ -333,6 +333,18 @@ tasks:
- "//..."
test_targets:
- "//..."
+ cc_common_link_ubuntu2004:
+ name: Build via cc_common.link
+ platform: ubuntu2004
+ working_directory: test/cc_common_link
+ build_targets:
+ - "//..."
+ test_targets:
+ - "//..."
+ build_flags:
+ - "--@rules_rust//rust/settings:experimental_use_cc_common_link=True"
+
+
buildifier:
version: latest
warnings: "all"
diff --git a/.bazelignore b/.bazelignore
index 2a58041707..8c75c35778 100644
--- a/.bazelignore
+++ b/.bazelignore
@@ -1,3 +1,4 @@
docs
examples
crate_universe/private/bootstrap
+test/cc_common_link
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 715df0c8d8..bd4dbab9c6 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -116,8 +116,9 @@ jobs:
run: |
# Update urls and sha256 values
bazel ${BAZEL_STARTUP_FLAGS[@]} run //crate_universe/tools/urls_generator -- --artifacts-dir="${ARTIFACTS_DIR}" --url-prefix="${URL_PREFIX}"
- # Publish to a known location
- bazel ${BAZEL_STARTUP_FLAGS[@]} run //distro:publish -- ${{ github.workspace }}/.github
+ bazel clean
+ # Build an archive of the repo contents
+ tar -czf ${{ github.workspace }}/.github/rules_rust.tar.gz --exclude=".git" --exclude=".github" --exclude="examples" -C ${{ github.workspace }} .
# Save the sha256 checksum of the distro archive to the environment
sha256="$(shasum --algorithm 256 ${{ github.workspace }}/.github/rules_rust.tar.gz | awk '{ print $1 }')"
echo "ARCHIVE_SHA256=${sha256}" >> $GITHUB_ENV
diff --git a/.gitignore b/.gitignore
index 3a92b40183..cccba25244 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,6 +9,7 @@
/examples/cargo_manifest_dir/external_crate/bazel-*
/examples/crate_universe/bazel-*
/examples/crate_universe/*/bazel-*
+/test/cc_common_link/bazel-*
/docs/bazel-*
user.bazelrc
diff --git a/BUILD.bazel b/BUILD.bazel
index d4cbb9ad3a..a460e94bf7 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -1,5 +1,5 @@
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
-load("//rust:defs.bzl", "capture_clippy_output", "clippy_flags", "error_format", "extra_exec_rustc_flag", "extra_exec_rustc_flags", "extra_rustc_flag", "extra_rustc_flags", "is_proc_macro_dep", "is_proc_macro_dep_enabled")
+load("//rust:defs.bzl", "capture_clippy_output", "clippy_flags", "error_format", "extra_exec_rustc_flag", "extra_exec_rustc_flags", "extra_rustc_flag", "extra_rustc_flags", "is_proc_macro_dep", "is_proc_macro_dep_enabled", "source_path_prefix")
exports_files(["LICENSE"])
@@ -11,25 +11,6 @@ bzl_library(
visibility = ["//visibility:public"],
)
-filegroup(
- name = "distro",
- srcs = glob(["*.bzl"]) + [
- "//bindgen:distro",
- "//cargo:distro",
- "//crate_universe:distro",
- "//proto:distro",
- "//rust:distro",
- "//tools:distro",
- "//util:distro",
- "//wasm_bindgen:distro",
- "BUILD.bazel",
- "README.md",
- "LICENSE.txt",
- "WORKSPACE.bazel",
- ],
- visibility = ["//:__subpackages__"],
-)
-
# This setting may be changed from the command line to generate machine readable errors.
error_format(
name = "error_format",
@@ -95,6 +76,15 @@ extra_exec_rustc_flag(
visibility = ["//visibility:public"],
)
+# This setting may be used to override the prefix for source paths rustc embeds into build artifacts.
+# Setting this setting to a fixed value (e.g., "/source/") can help achieve reproducible builds and
+# improve cache utilization.
+source_path_prefix(
+ name = "source_path_prefix",
+ build_setting_default = ".",
+ visibility = ["//visibility:public"],
+)
+
# This setting is used by the clippy rules. See https://bazelbuild.github.io/rules_rust/rust_clippy.html
label_flag(
name = "clippy.toml",
diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel
index 2bc17bab17..6c3f8511c9 100644
--- a/WORKSPACE.bazel
+++ b/WORKSPACE.bazel
@@ -59,16 +59,3 @@ http_archive(
#
# load("@bazelci_rules//:rbe_repo.bzl", "rbe_preconfig")
# rbe_preconfig(name = "buildkite_config", toolchain = "ubuntu1604-bazel-java8")
-
-http_archive(
- name = "rules_pkg",
- sha256 = "62eeb544ff1ef41d786e329e1536c1d541bb9bcad27ae984d57f18f314018e66",
- urls = [
- "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.6.0/rules_pkg-0.6.0.tar.gz",
- "https://github.com/bazelbuild/rules_pkg/releases/download/0.6.0/rules_pkg-0.6.0.tar.gz",
- ],
-)
-
-load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
-
-rules_pkg_dependencies()
diff --git a/bindgen/3rdparty/BUILD.bazel b/bindgen/3rdparty/BUILD.bazel
index 7e169ee4bc..2317ac943c 100644
--- a/bindgen/3rdparty/BUILD.bazel
+++ b/bindgen/3rdparty/BUILD.bazel
@@ -50,15 +50,3 @@ bzl_library(
],
visibility = ["//bindgen:__pkg__"],
)
-
-filegroup(
- name = "distro",
- srcs = glob([
- "*.bzl",
- "*.bazel",
- ]) + [
- "//bindgen/3rdparty/crates:srcs",
- "Cargo.Bazel.lock",
- ],
- visibility = ["//bindgen:__pkg__"],
-)
diff --git a/bindgen/BUILD.bazel b/bindgen/BUILD.bazel
index 8096c89943..bb93162cb6 100644
--- a/bindgen/BUILD.bazel
+++ b/bindgen/BUILD.bazel
@@ -3,7 +3,16 @@ load("//bindgen:bindgen.bzl", "rust_bindgen_toolchain")
package(default_visibility = ["//visibility:public"])
-toolchain_type(name = "bindgen_toolchain")
+toolchain_type(
+ name = "toolchain_type",
+)
+
+alias(
+ name = "bindgen_toolchain",
+ actual = "toolchain_type",
+ deprecation = "instead use `@rules_rust//bindgen:toolchain_type`",
+ tags = ["manual"],
+)
bzl_library(
name = "bzl_lib",
@@ -14,15 +23,6 @@ bzl_library(
],
)
-filegroup(
- name = "distro",
- srcs = glob(["*.bzl"]) + [
- "//bindgen/3rdparty:distro",
- "BUILD.bazel",
- ],
- visibility = ["//:__subpackages__"],
-)
-
rust_bindgen_toolchain(
name = "default_bindgen_toolchain_impl",
bindgen = "//bindgen/3rdparty:bindgen",
@@ -43,5 +43,5 @@ rust_bindgen_toolchain(
toolchain(
name = "default_bindgen_toolchain",
toolchain = "default_bindgen_toolchain_impl",
- toolchain_type = "//bindgen:bindgen_toolchain",
+ toolchain_type = "//bindgen:toolchain_type",
)
diff --git a/bindgen/bindgen.bzl b/bindgen/bindgen.bzl
index b793cd00d5..58288d89e7 100644
--- a/bindgen/bindgen.bzl
+++ b/bindgen/bindgen.bzl
@@ -92,7 +92,7 @@ def _rust_bindgen_impl(ctx):
if header not in cc_header_list:
fail("Header {} is not in {}'s transitive headers.".format(ctx.attr.header, cc_lib), "header")
- toolchain = ctx.toolchains[Label("//bindgen:bindgen_toolchain")]
+ toolchain = ctx.toolchains[Label("//bindgen:toolchain_type")]
bindgen_bin = toolchain.bindgen
rustfmt_bin = toolchain.rustfmt or rust_toolchain.rustfmt
clang_bin = toolchain.clang
@@ -214,8 +214,8 @@ rust_bindgen = rule(
outputs = {"out": "%{name}.rs"},
fragments = ["cpp"],
toolchains = [
- str(Label("//bindgen:bindgen_toolchain")),
- str(Label("//rust:toolchain")),
+ str(Label("//bindgen:toolchain_type")),
+ str(Label("//rust:toolchain_type")),
"@bazel_tools//tools/cpp:toolchain_type",
],
incompatible_use_toolchain_transition = True,
@@ -253,7 +253,7 @@ rust_bindgen_toolchain(
toolchain(
name = "bindgen_toolchain",
toolchain = "bindgen_toolchain_impl",
- toolchain_type = "@rules_rust//bindgen:bindgen_toolchain",
+ toolchain_type = "@rules_rust//bindgen:toolchain_type",
)
```
diff --git a/cargo/BUILD.bazel b/cargo/BUILD.bazel
index 181219b33c..6c21ee13f9 100644
--- a/cargo/BUILD.bazel
+++ b/cargo/BUILD.bazel
@@ -7,14 +7,3 @@ bzl_library(
srcs = glob(["**/*.bzl"]),
deps = ["//cargo/private:bzl_lib"],
)
-
-filegroup(
- name = "distro",
- srcs = glob(["*.bzl"]) + [
- "//cargo/bootstrap:distro",
- "//cargo/cargo_build_script_runner:distro",
- "//cargo/private:distro",
- "BUILD.bazel",
- ],
- visibility = ["//:__subpackages__"],
-)
diff --git a/cargo/bootstrap/BUILD.bazel b/cargo/bootstrap/BUILD.bazel
index 3a7d242726..4d804ccc98 100644
--- a/cargo/bootstrap/BUILD.bazel
+++ b/cargo/bootstrap/BUILD.bazel
@@ -19,12 +19,3 @@ rust_binary(
"RULES_RUST_CARGO_BOOTSTRAP_BINARY": "$(rootpath bootstrap_installer.rs)",
},
)
-
-filegroup(
- name = "distro",
- srcs = [
- "BUILD.bazel",
- "bootstrap_installer.rs",
- ],
- visibility = ["//:__subpackages__"],
-)
diff --git a/cargo/cargo_build_script.bzl b/cargo/cargo_build_script.bzl
index dfd4fd036c..87ee88e513 100644
--- a/cargo/cargo_build_script.bzl
+++ b/cargo/cargo_build_script.bzl
@@ -302,7 +302,7 @@ _build_script_run = rule(
},
fragments = ["cpp"],
toolchains = [
- str(Label("//rust:toolchain")),
+ str(Label("//rust:toolchain_type")),
"@bazel_tools//tools/cpp:toolchain_type",
],
incompatible_use_toolchain_transition = True,
diff --git a/cargo/cargo_build_script_runner/BUILD.bazel b/cargo/cargo_build_script_runner/BUILD.bazel
index bf72b2a97b..81e32562c1 100644
--- a/cargo/cargo_build_script_runner/BUILD.bazel
+++ b/cargo/cargo_build_script_runner/BUILD.bazel
@@ -26,11 +26,3 @@ rust_test(
edition = "2018",
deps = [":cargo_build_script_runner"],
)
-
-filegroup(
- name = "distro",
- srcs = glob(["*.rs"]) + [
- "BUILD.bazel",
- ],
- visibility = ["//:__subpackages__"],
-)
diff --git a/cargo/private/BUILD.bazel b/cargo/private/BUILD.bazel
index b81e3a1ab3..6a1aab653c 100644
--- a/cargo/private/BUILD.bazel
+++ b/cargo/private/BUILD.bazel
@@ -5,11 +5,3 @@ bzl_library(
srcs = glob(["**/*.bzl"]),
visibility = ["//:__subpackages__"],
)
-
-filegroup(
- name = "distro",
- srcs = glob(["*.bzl"]) + [
- "BUILD.bazel",
- ],
- visibility = ["//:__subpackages__"],
-)
diff --git a/crate_universe/3rdparty/BUILD.bazel b/crate_universe/3rdparty/BUILD.bazel
index fc021f38b1..bec71cd310 100644
--- a/crate_universe/3rdparty/BUILD.bazel
+++ b/crate_universe/3rdparty/BUILD.bazel
@@ -35,18 +35,6 @@ crates_vendor(
vendor_path = "crates",
)
-filegroup(
- name = "distro",
- srcs = glob([
- "*.bzl",
- "*.bazel",
- ]) + [
- "Cargo.Bazel.lock",
- "cargo-bazel-lock.json",
- "//crate_universe/3rdparty/crates:srcs",
- ],
-)
-
filegroup(
name = "bzl_srcs",
srcs = glob(["*.bzl"]) + [
diff --git a/crate_universe/BUILD.bazel b/crate_universe/BUILD.bazel
index 203a4d2fd8..a99a90cd70 100644
--- a/crate_universe/BUILD.bazel
+++ b/crate_universe/BUILD.bazel
@@ -13,21 +13,6 @@ exports_files(
visibility = ["//visibility:public"],
)
-filegroup(
- name = "distro",
- srcs = glob(["*.bzl"]) + [
- ":rust_srcs",
- "//crate_universe/3rdparty:distro",
- "//crate_universe/private:distro",
- "//crate_universe/tools:distro",
- "BUILD.bazel",
- "Cargo.lock",
- "Cargo.toml",
- "README.md",
- ],
- visibility = ["//:__subpackages__"],
-)
-
filegroup(
name = "bzl_srcs",
srcs = glob(["*.bzl"]) + [
@@ -124,11 +109,4 @@ rust_doc(
rust_doc_test(
name = "rustdoc_test",
crate = ":cargo_bazel",
- # TODO: This target fails on some platforms with the error tracked in:
- # https://github.com/bazelbuild/rules_rust/issues/1233
- target_compatible_with = select({
- "@platforms//os:macos": ["@platforms//:incompatible"],
- "@platforms//os:windows": ["@platforms//:incompatible"],
- "//conditions:default": [],
- }),
)
diff --git a/crate_universe/docs.bzl b/crate_universe/docs.bzl
index 11ab9211be..fe5ef83905 100644
--- a/crate_universe/docs.bzl
+++ b/crate_universe/docs.bzl
@@ -2,10 +2,6 @@
Crate Universe is a set of Bazel rule for generating Rust targets using Cargo.
-## Experimental
-
-`crate_universe` is experimental, and may have breaking API changes at any time. These instructions may also change without notice.
-
## Setup
After loading `rules_rust` in your workspace, set the following to begin using `crate_universe`:
diff --git a/crate_universe/private/BUILD.bazel b/crate_universe/private/BUILD.bazel
index 39f0969bcb..0b41b53976 100644
--- a/crate_universe/private/BUILD.bazel
+++ b/crate_universe/private/BUILD.bazel
@@ -14,11 +14,3 @@ filegroup(
name = "bzl_srcs",
srcs = glob(["*.bzl"]),
)
-
-filegroup(
- name = "distro",
- srcs = glob(["*.bzl"]) + [
- "BUILD.bazel",
- "//crate_universe/private/vendor:distro",
- ],
-)
diff --git a/crate_universe/private/crates_repository.bzl b/crate_universe/private/crates_repository.bzl
index f429108861..e5e3647f1b 100644
--- a/crate_universe/private/crates_repository.bzl
+++ b/crate_universe/private/crates_repository.bzl
@@ -138,7 +138,7 @@ load("@rules_rust//crate_universe:defs.bzl", "crates_repository", "crate")
crates_repository(
name = "crate_index",
- annotations = annotations = {
+ annotations = {
"rand": [crate.annotation(
default_features = False,
features = ["small_rng"],
diff --git a/crate_universe/private/crates_vendor.bzl b/crate_universe/private/crates_vendor.bzl
index fa6a66f86d..021ffc3b93 100644
--- a/crate_universe/private/crates_vendor.bzl
+++ b/crate_universe/private/crates_vendor.bzl
@@ -36,7 +36,7 @@ def _runfiles_path(path, is_windows):
return "{}/{}".format(runtime_pwd_var, path)
def _is_windows(ctx):
- toolchain = ctx.toolchains[Label("@rules_rust//rust:toolchain")]
+ toolchain = ctx.toolchains[Label("@rules_rust//rust:toolchain_type")]
return "windows" in toolchain.target_triple
def _get_output_package(ctx):
@@ -175,7 +175,7 @@ def _write_config_file(ctx):
return args, runfiles
def _crates_vendor_impl(ctx):
- toolchain = ctx.toolchains[Label("@rules_rust//rust:toolchain")]
+ toolchain = ctx.toolchains[Label("@rules_rust//rust:toolchain_type")]
is_windows = _is_windows(ctx)
environ = {
@@ -400,7 +400,7 @@ call against the generated workspace. The following table describes how to contr
),
},
executable = True,
- toolchains = ["@rules_rust//rust:toolchain"],
+ toolchains = ["@rules_rust//rust:toolchain_type"],
)
def _crates_vendor_remote_repository_impl(repository_ctx):
diff --git a/crate_universe/private/vendor/BUILD.bazel b/crate_universe/private/vendor/BUILD.bazel
index 3c023872d2..04726cd4b6 100644
--- a/crate_universe/private/vendor/BUILD.bazel
+++ b/crate_universe/private/vendor/BUILD.bazel
@@ -1,11 +1,3 @@
load("//crate_universe/private:vendor_utils.bzl", "crates_vendor_deps_targets")
crates_vendor_deps_targets()
-
-filegroup(
- name = "distro",
- srcs = glob(["*.bzl"]) + [
- "BUILD.bazel",
- ],
- visibility = ["//crate_universe/private:__subpackages__"],
-)
diff --git a/crate_universe/src/cli.rs b/crate_universe/src/cli.rs
index 2ed27accd9..fdff844178 100644
--- a/crate_universe/src/cli.rs
+++ b/crate_universe/src/cli.rs
@@ -19,7 +19,11 @@ pub use splice::splice;
pub use vendor::vendor;
#[derive(Parser, Debug)]
-#[clap(name = "cargo-bazel", about, version)]
+#[clap(
+ name = "cargo-bazel",
+ about = "crate_universe` is a collection of tools which use Cargo to generate build targets for Bazel.",
+ version
+)]
pub enum Options {
/// Generate Bazel Build files from a Cargo manifest.
Generate(GenerateOptions),
diff --git a/crate_universe/src/cli/generate.rs b/crate_universe/src/cli/generate.rs
index cf5e77068b..3fdc97e33e 100644
--- a/crate_universe/src/cli/generate.rs
+++ b/crate_universe/src/cli/generate.rs
@@ -16,7 +16,7 @@ use crate::splicing::SplicingManifest;
/// Command line options for the `generate` subcommand
#[derive(Parser, Debug)]
-#[clap(about, version)]
+#[clap(about = "Command line options for the `generate` subcommand", version)]
pub struct GenerateOptions {
/// The path to a Cargo binary to use for gathering metadata
#[clap(long, env = "CARGO")]
diff --git a/crate_universe/src/cli/query.rs b/crate_universe/src/cli/query.rs
index 668f64fc80..19087abee6 100644
--- a/crate_universe/src/cli/query.rs
+++ b/crate_universe/src/cli/query.rs
@@ -13,7 +13,7 @@ use crate::splicing::SplicingManifest;
/// Command line options for the `query` subcommand
#[derive(Parser, Debug)]
-#[clap(about, version)]
+#[clap(about = "Command line options for the `query` subcommand", version)]
pub struct QueryOptions {
/// The lockfile path for reproducible Cargo->Bazel renderings
#[clap(long)]
diff --git a/crate_universe/src/cli/splice.rs b/crate_universe/src/cli/splice.rs
index f5077bfe3c..213ee34124 100644
--- a/crate_universe/src/cli/splice.rs
+++ b/crate_universe/src/cli/splice.rs
@@ -11,7 +11,7 @@ use crate::splicing::{generate_lockfile, Splicer, SplicingManifest, WorkspaceMet
/// Command line options for the `splice` subcommand
#[derive(Parser, Debug)]
-#[clap(about, version)]
+#[clap(about = "Command line options for the `splice` subcommand", version)]
pub struct SpliceOptions {
/// A generated manifest of splicing inputs
#[clap(long)]
diff --git a/crate_universe/src/cli/vendor.rs b/crate_universe/src/cli/vendor.rs
index 366bb686b2..0b9054171b 100644
--- a/crate_universe/src/cli/vendor.rs
+++ b/crate_universe/src/cli/vendor.rs
@@ -19,7 +19,7 @@ use crate::splicing::{generate_lockfile, Splicer, SplicingManifest, WorkspaceMet
/// Command line options for the `vendor` subcommand
#[derive(Parser, Debug)]
-#[clap(about, version)]
+#[clap(about = "Command line options for the `vendor` subcommand", version)]
pub struct VendorOptions {
/// The path to a Cargo binary to use for gathering metadata
#[clap(long, env = "CARGO")]
diff --git a/crate_universe/src/metadata.rs b/crate_universe/src/metadata.rs
index 57d90e7da0..a6c8217802 100644
--- a/crate_universe/src/metadata.rs
+++ b/crate_universe/src/metadata.rs
@@ -76,7 +76,7 @@ impl MetadataGenerator for Generator {
}
/// A configuration desrcibing how to invoke [cargo update](https://doc.rust-lang.org/cargo/commands/cargo-update.html).
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Eq)]
pub enum CargoUpdateRequest {
/// Translates to an unrestricted `cargo update` command
Eager,
diff --git a/crate_universe/src/splicing/splicer.rs b/crate_universe/src/splicing/splicer.rs
index 8374df4e43..7419a2f9a5 100644
--- a/crate_universe/src/splicing/splicer.rs
+++ b/crate_universe/src/splicing/splicer.rs
@@ -510,7 +510,7 @@ const DEFAULT_SPLICING_PACKAGE_VERSION: &str = "0.0.1";
pub fn default_cargo_package_manifest() -> cargo_toml::Manifest {
// A manifest is generated with a fake workspace member so the [cargo_toml::Manifest::Workspace]
// member is deseralized and is not `None`.
- let manifest = cargo_toml::Manifest::from_str(
+ cargo_toml::Manifest::from_str(
&toml::toml! {
[package]
name = DEFAULT_SPLICING_PACKAGE_NAME
@@ -524,9 +524,7 @@ pub fn default_cargo_package_manifest() -> cargo_toml::Manifest {
}
.to_string(),
)
- .unwrap();
-
- manifest
+ .unwrap()
}
pub fn default_splicing_package_crate_id() -> CrateId {
diff --git a/crate_universe/tools/BUILD.bazel b/crate_universe/tools/BUILD.bazel
index 05367947d1..1677d9e7ea 100644
--- a/crate_universe/tools/BUILD.bazel
+++ b/crate_universe/tools/BUILD.bazel
@@ -1,13 +1,3 @@
-filegroup(
- name = "distro",
- srcs = [
- "BUILD.bazel",
- "//crate_universe/tools/cross_installer:distro",
- "//crate_universe/tools/urls_generator:distro",
- ],
- visibility = ["//crate_universe:__subpackages__"],
-)
-
filegroup(
name = "bzl_srcs",
srcs = [
diff --git a/crate_universe/tools/cross_installer/BUILD.bazel b/crate_universe/tools/cross_installer/BUILD.bazel
index eb96aee145..d436f8a83e 100644
--- a/crate_universe/tools/cross_installer/BUILD.bazel
+++ b/crate_universe/tools/cross_installer/BUILD.bazel
@@ -28,18 +28,6 @@ rust_binary(
cross_binary(name = "cross")
-filegroup(
- name = "distro",
- srcs = glob([
- "**/*.rs",
- "**/*.toml",
- ]) + [
- "BUILD.bazel",
- "cross_installer_deps.bzl",
- ],
- visibility = ["//crate_universe/tools:__pkg__"],
-)
-
filegroup(
name = "bzl_srcs",
srcs = glob(["**/*.bzl"]),
diff --git a/crate_universe/tools/urls_generator/BUILD.bazel b/crate_universe/tools/urls_generator/BUILD.bazel
index 442301138e..2d536d9376 100644
--- a/crate_universe/tools/urls_generator/BUILD.bazel
+++ b/crate_universe/tools/urls_generator/BUILD.bazel
@@ -6,17 +6,6 @@ exports_files(
visibility = ["//visibility:public"],
)
-filegroup(
- name = "distro",
- srcs = glob([
- "**/*.rs",
- ]) + [
- "BUILD.bazel",
- "Cargo.toml",
- ],
- visibility = ["//crate_universe/tools:__pkg__"],
-)
-
rust_binary(
name = "urls_generator",
srcs = glob(["src/**/*.rs"]),
diff --git a/distro/BUILD.bazel b/distro/BUILD.bazel
deleted file mode 100644
index 777446cb9e..0000000000
--- a/distro/BUILD.bazel
+++ /dev/null
@@ -1,33 +0,0 @@
-load("@rules_pkg//:pkg.bzl", "pkg_tar")
-
-pkg_tar(
- name = "rules_rust",
- srcs = ["//:distro"],
- extension = "tar.gz",
- mode = "0444",
- # Make it owned by root so it does not have the uid of the CI robot.
- owner = "0.0",
- package_dir = ".",
- strip_prefix = ".",
- visibility = ["//:__subpackages__"],
-)
-
-# This filegroup allows the tar file to appear in runfiles
-# https://github.com/bazelbuild/bazel/issues/12348
-filegroup(
- name = "distro",
- srcs = [":rules_rust"],
- visibility = ["//:__subpackages__"],
-)
-
-sh_binary(
- name = "publish",
- srcs = ["publisher.sh"],
- data = [":distro"],
- env = {"ARCHIVE": "$(rootpath :distro)"},
- target_compatible_with = select({
- "@platforms//os:linux": [],
- "@platforms//os:macos": [],
- "//conditions:default": ["@platforms//:incompatible"],
- }),
-)
diff --git a/distro/publisher.sh b/distro/publisher.sh
deleted file mode 100755
index 5f6a01e09a..0000000000
--- a/distro/publisher.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-set -euo pipefail
-
-ABS_ARCHIVE="$(pwd)/${ARCHIVE}"
-cd "${BUILD_WORKING_DIRECTORY}"
-mkdir -p "$@"
-
-set -x
-cp -fp "${ABS_ARCHIVE}" "$@"/"$(basename "${ARCHIVE}")"
diff --git a/docs/cargo.md b/docs/cargo.md
index 21aad2a30c..c693d16e47 100644
--- a/docs/cargo.md
+++ b/docs/cargo.md
@@ -37,7 +37,7 @@ A rule for bootstrapping a Rust binary using [Cargo](https://doc.rust-lang.org/c
| rust_toolchain_rustc_template | The template to use for finding the host rustc
binary. {version}
(eg. '1.53.0'), {triple}
(eg. 'x86_64-unknown-linux-gnu'), {arch}
(eg. 'aarch64'), {vendor}
(eg. 'unknown'), {system}
(eg. 'darwin'), and {tool}
(eg. 'rustc.exe') will be replaced in the string if present. | String | optional | "@rust_{system}_{arch}__{triple}_tools//:bin/{tool}" |
| srcs | Souce files of the crate to build. Passing source files here can be used to trigger rebuilds when changes are made | List of labels | optional | [] |
| timeout | Maximum duration of the Cargo build command in seconds | Integer | optional | 600 |
-| version | The version of cargo the resolver should use | String | optional | "1.62.1" |
+| version | The version of cargo the resolver should use | String | optional | "1.63.0" |
diff --git a/docs/crate_universe.md b/docs/crate_universe.md
index bfb431612a..c1c71480f8 100644
--- a/docs/crate_universe.md
+++ b/docs/crate_universe.md
@@ -4,10 +4,6 @@
Crate Universe is a set of Bazel rule for generating Rust targets using Cargo.
-## Experimental
-
-`crate_universe` is experimental, and may have breaking API changes at any time. These instructions may also change without notice.
-
## Setup
After loading `rules_rust` in your workspace, set the following to begin using `crate_universe`:
@@ -223,7 +219,7 @@ load("@rules_rust//crate_universe:defs.bzl", "crates_repository", "crate")
crates_repository(
name = "crate_index",
- annotations = annotations = {
+ annotations = {
"rand": [crate.annotation(
default_features = False,
features = ["small_rng"],
@@ -294,7 +290,7 @@ that is called behind the scenes to update dependencies.
| repo_mapping | A dictionary from local repository name to global repository name. This allows controls over workspace dependency resolution for dependencies of this repository.<p>For example, an entry "@foo": "@bar"
declares that, for any time this repository depends on @foo
(such as a dependency on @foo//some:target
, it should actually resolve that dependency within globally-declared @bar
(@bar//some:target
). | Dictionary: String -> String | required | |
| rust_toolchain_cargo_template | The template to use for finding the host cargo
binary. {version}
(eg. '1.53.0'), {triple}
(eg. 'x86_64-unknown-linux-gnu'), {arch}
(eg. 'aarch64'), {vendor}
(eg. 'unknown'), {system}
(eg. 'darwin'), {cfg}
(eg. 'exec'), and {tool}
(eg. 'rustc.exe') will be replaced in the string if present. | String | optional | "@rust_{system}_{arch}__{triple}_tools//:bin/{tool}" |
| rust_toolchain_rustc_template | The template to use for finding the host rustc
binary. {version}
(eg. '1.53.0'), {triple}
(eg. 'x86_64-unknown-linux-gnu'), {arch}
(eg. 'aarch64'), {vendor}
(eg. 'unknown'), {system}
(eg. 'darwin'), {cfg}
(eg. 'exec'), and {tool}
(eg. 'cargo.exe') will be replaced in the string if present. | String | optional | "@rust_{system}_{arch}__{triple}_tools//:bin/{tool}" |
-| rust_version | The version of Rust the currently registered toolchain is using. Eg. 1.56.0
, or nightly-2021-09-08
| String | optional | "1.62.1" |
+| rust_version | The version of Rust the currently registered toolchain is using. Eg. 1.56.0
, or nightly-2021-09-08
| String | optional | "1.63.0" |
| splicing_config | The configuration flags to use for splicing Cargo maniests. Use //crate_universe:defs.bzl\%rsplicing_config
to generate the value for this field. If unset, the defaults defined there will be used. | String | optional | "" |
| supported_platform_triples | A set of all platform triples to consider when generating dependencies. | List of strings | optional | ["i686-apple-darwin", "i686-pc-windows-msvc", "i686-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "x86_64-unknown-linux-gnu", "aarch64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-ios-sim", "aarch64-linux-android", "aarch64-unknown-linux-gnu", "arm-unknown-linux-gnueabi", "armv7-unknown-linux-gnueabi", "armv7-linux-androideabi", "i686-linux-android", "i686-unknown-freebsd", "powerpc-unknown-linux-gnu", "s390x-unknown-linux-gnu", "wasm32-unknown-unknown", "wasm32-wasi", "x86_64-apple-ios", "x86_64-linux-android", "x86_64-unknown-freebsd", "riscv32imc-unknown-none-elf"] |
@@ -624,7 +620,7 @@ Define dependencies of the `cargo-bazel` Rust target
| Name | Description | Default Value |
| :------------- | :------------- | :------------- |
-| rust_version | The version of rust to use when generating dependencies. | "1.62.1"
|
+| rust_version | The version of rust to use when generating dependencies. | "1.63.0"
|
| bootstrap | If true, a cargo_bootstrap_repository
target will be generated. | False
|
diff --git a/docs/defs.md b/docs/defs.md
index 7228d32f66..577c7f6ea8 100644
--- a/docs/defs.md
+++ b/docs/defs.md
@@ -91,8 +91,8 @@ Add additional rustc_flags from the command line with `--@rules_rust//:extra_rus
rust_binary(name, aliases, compile_data, crate_features, crate_name, crate_root, crate_type, data, - deps, edition, linker_script, out_binary, proc_macro_deps, rustc_env, rustc_env_files, - rustc_flags, srcs, stamp, version) + deps, edition, experimental_use_cc_common_link, linker_script, out_binary, + proc_macro_deps, rustc_env, rustc_env_files, rustc_flags, srcs, stamp, version)Builds a Rust binary crate. @@ -197,6 +197,7 @@ is available under the key `dsym_folder` in `OutputGroupInfo`. | data | List of files used by this rule at compile time and runtime.
compile_data
over data
, to prevent the data also being included in the runfiles. | List of labels | optional | [] |
| deps | List of other libraries to be linked to this library target.rust_library
targets or cc_library
targets if linking a native library. | List of labels | optional | [] |
| edition | The rust edition to use for this crate. Defaults to the edition specified in the rust_toolchain. | String | optional | "" |
+| experimental_use_cc_common_link | Whether to use cc_common.link to link rust binaries. Possible values: [-1, 0, 1]. -1 means use the value of the toolchain.experimental_use_cc_common_link boolean build setting to determine. 0 means do not use cc_common.link (use rustc instead). 1 means use cc_common.link. | Integer | optional | -1 |
| linker_script | Link script to forward into linker via rustc options. | Label | optional | None |
| out_binary | Force a target, regardless of it's crate_type
, to always mark the file as executable. This attribute is only used to support wasm targets but is expected to be removed following a resolution to https://github.com/bazelbuild/rules_rust/issues/771. | Boolean | optional | False |
| proc_macro_deps | List of rust_library
targets with kind proc-macro
used to help build this library target. | List of labels | optional | [] |
@@ -214,7 +215,8 @@ is available under the key `dsym_folder` in `OutputGroupInfo`.
rust_library(name, aliases, compile_data, crate_features, crate_name, crate_root, data, deps, - edition, proc_macro_deps, rustc_env, rustc_env_files, rustc_flags, srcs, stamp, version) + disable_pipelining, edition, proc_macro_deps, rustc_env, rustc_env_files, rustc_flags, + srcs, stamp, version)Builds a Rust library crate. @@ -294,6 +296,7 @@ INFO: Elapsed time: 1.245s, Critical Path: 1.01s | crate_root | The file that will be passed to
rustc
to be used for building this crate.crate_root
is not set, then this rule will look for a lib.rs
file (or main.rs
for rust_binary) or the single file in srcs
if srcs
contains only one file. | Label | optional | None |
| data | List of files used by this rule at compile time and runtime.compile_data
over data
, to prevent the data also being included in the runfiles. | List of labels | optional | [] |
| deps | List of other libraries to be linked to this library target.rust_library
targets or cc_library
targets if linking a native library. | List of labels | optional | [] |
+| disable_pipelining | Disables pipelining for this rule if it is globally enabled. This will cause this rule to not produce a .rmeta
file and all the dependent crates will instead use the .rlib
file. | Boolean | optional | False |
| edition | The rust edition to use for this crate. Defaults to the edition specified in the rust_toolchain. | String | optional | "" |
| proc_macro_deps | List of rust_library
targets with kind proc-macro
used to help build this library target. | List of labels | optional | [] |
| rustc_env | Dictionary of additional "key": "value"
environment variables to set for rustc.rust_test(name, aliases, compile_data, crate, crate_features, crate_name, crate_root, data, deps, - edition, env, proc_macro_deps, rustc_env, rustc_env_files, rustc_flags, srcs, stamp, - use_libtest_harness, version) + edition, env, experimental_use_cc_common_link, proc_macro_deps, rustc_env, rustc_env_files, + rustc_flags, srcs, stamp, use_libtest_harness, version)Builds a Rust test crate. @@ -572,6 +575,7 @@ Run the test with `bazel test //hello_lib:greeting_test`. | deps | List of other libraries to be linked to this library target.
rust_library
targets or cc_library
targets if linking a native library. | List of labels | optional | [] |
| edition | The rust edition to use for this crate. Defaults to the edition specified in the rust_toolchain. | String | optional | "" |
| env | Specifies additional environment variables to set when the test is executed by bazel test. Values are subject to $(rootpath)
, $(execpath)
, location, and ["Make variable"](https://docs.bazel.build/versions/master/be/make-variables.html) substitution.rust_library
targets with kind proc-macro
used to help build this library target. | List of labels | optional | [] |
| rustc_env | Dictionary of additional "key": "value"
environment variables to set for rustc.NAME=value
, and newlines may be included in a value by ending a line with a trailing back-slash (\\
).stamp
attribute be enabled. Stamp variables should be wrapped in brackets in order to be resolved. E.g. NAME={WORKSPACE_STATUS_VARIABLE}
. | List of labels | optional | [] |
diff --git a/docs/flatten.md b/docs/flatten.md
index e4eef5414b..dba68680d1 100644
--- a/docs/flatten.md
+++ b/docs/flatten.md
@@ -102,7 +102,7 @@ A rule for bootstrapping a Rust binary using [Cargo](https://doc.rust-lang.org/c
| rust_toolchain_rustc_template | The template to use for finding the host rustc
binary. {version}
(eg. '1.53.0'), {triple}
(eg. 'x86_64-unknown-linux-gnu'), {arch}
(eg. 'aarch64'), {vendor}
(eg. 'unknown'), {system}
(eg. 'darwin'), and {tool}
(eg. 'rustc.exe') will be replaced in the string if present. | String | optional | "@rust_{system}_{arch}__{triple}_tools//:bin/{tool}" |
| srcs | Souce files of the crate to build. Passing source files here can be used to trigger rebuilds when changes are made | List of labels | optional | [] |
| timeout | Maximum duration of the Cargo build command in seconds | Integer | optional | 600 |
-| version | The version of cargo the resolver should use | String | optional | "1.62.1" |
+| version | The version of cargo the resolver should use | String | optional | "1.63.0" |
@@ -203,8 +203,8 @@ A toolchain for [rust-analyzer](https://rust-analyzer.github.io/).
rust_binary(name, aliases, compile_data, crate_features, crate_name, crate_root, crate_type, data, - deps, edition, linker_script, out_binary, proc_macro_deps, rustc_env, rustc_env_files, - rustc_flags, srcs, stamp, version) + deps, edition, experimental_use_cc_common_link, linker_script, out_binary, + proc_macro_deps, rustc_env, rustc_env_files, rustc_flags, srcs, stamp, version)Builds a Rust binary crate. @@ -309,6 +309,7 @@ is available under the key `dsym_folder` in `OutputGroupInfo`. | data | List of files used by this rule at compile time and runtime.
compile_data
over data
, to prevent the data also being included in the runfiles. | List of labels | optional | [] |
| deps | List of other libraries to be linked to this library target.rust_library
targets or cc_library
targets if linking a native library. | List of labels | optional | [] |
| edition | The rust edition to use for this crate. Defaults to the edition specified in the rust_toolchain. | String | optional | "" |
+| experimental_use_cc_common_link | Whether to use cc_common.link to link rust binaries. Possible values: [-1, 0, 1]. -1 means use the value of the toolchain.experimental_use_cc_common_link boolean build setting to determine. 0 means do not use cc_common.link (use rustc instead). 1 means use cc_common.link. | Integer | optional | -1 |
| linker_script | Link script to forward into linker via rustc options. | Label | optional | None |
| out_binary | Force a target, regardless of it's crate_type
, to always mark the file as executable. This attribute is only used to support wasm targets but is expected to be removed following a resolution to https://github.com/bazelbuild/rules_rust/issues/771. | Boolean | optional | False |
| proc_macro_deps | List of rust_library
targets with kind proc-macro
used to help build this library target. | List of labels | optional | [] |
@@ -371,7 +372,7 @@ rust_bindgen_toolchain(
toolchain(
name = "bindgen_toolchain",
toolchain = "bindgen_toolchain_impl",
- toolchain_type = "@rules_rust//bindgen:bindgen_toolchain",
+ toolchain_type = "@rules_rust//bindgen:toolchain_type",
)
```
@@ -611,7 +612,8 @@ rust_binary(
rust_library(name, aliases, compile_data, crate_features, crate_name, crate_root, data, deps, - edition, proc_macro_deps, rustc_env, rustc_env_files, rustc_flags, srcs, stamp, version) + disable_pipelining, edition, proc_macro_deps, rustc_env, rustc_env_files, rustc_flags, + srcs, stamp, version)Builds a Rust library crate. @@ -691,6 +693,7 @@ INFO: Elapsed time: 1.245s, Critical Path: 1.01s | crate_root | The file that will be passed to
rustc
to be used for building this crate.crate_root
is not set, then this rule will look for a lib.rs
file (or main.rs
for rust_binary) or the single file in srcs
if srcs
contains only one file. | Label | optional | None |
| data | List of files used by this rule at compile time and runtime.compile_data
over data
, to prevent the data also being included in the runfiles. | List of labels | optional | [] |
| deps | List of other libraries to be linked to this library target.rust_library
targets or cc_library
targets if linking a native library. | List of labels | optional | [] |
+| disable_pipelining | Disables pipelining for this rule if it is globally enabled. This will cause this rule to not produce a .rmeta
file and all the dependent crates will instead use the .rlib
file. | Boolean | optional | False |
| edition | The rust edition to use for this crate. Defaults to the edition specified in the rust_toolchain. | String | optional | "" |
| proc_macro_deps | List of rust_library
targets with kind proc-macro
used to help build this library target. | List of labels | optional | [] |
| rustc_env | Dictionary of additional "key": "value"
environment variables to set for rustc.protoc
binary. It should be an executable target. | Label | optional | @com_google_protobuf//:protoc |
@@ -950,8 +953,8 @@ A dedicated filegroup-like rule for Rust stdlib artifacts.
rust_test(name, aliases, compile_data, crate, crate_features, crate_name, crate_root, data, deps, - edition, env, proc_macro_deps, rustc_env, rustc_env_files, rustc_flags, srcs, stamp, - use_libtest_harness, version) + edition, env, experimental_use_cc_common_link, proc_macro_deps, rustc_env, rustc_env_files, + rustc_flags, srcs, stamp, use_libtest_harness, version)Builds a Rust test crate. @@ -1088,6 +1091,7 @@ Run the test with `bazel test //hello_lib:greeting_test`. | deps | List of other libraries to be linked to this library target.
rust_library
targets or cc_library
targets if linking a native library. | List of labels | optional | [] |
| edition | The rust edition to use for this crate. Defaults to the edition specified in the rust_toolchain. | String | optional | "" |
| env | Specifies additional environment variables to set when the test is executed by bazel test. Values are subject to $(rootpath)
, $(execpath)
, location, and ["Make variable"](https://docs.bazel.build/versions/master/be/make-variables.html) substitution.rust_library
targets with kind proc-macro
used to help build this library target. | List of labels | optional | [] |
| rustc_env | Dictionary of additional "key": "value"
environment variables to set for rustc.NAME=value
, and newlines may be included in a value by ending a line with a trailing back-slash (\\
).stamp
attribute be enabled. Stamp variables should be wrapped in brackets in order to be resolved. E.g. NAME={WORKSPACE_STATUS_VARIABLE}
. | List of labels | optional | [] |
@@ -1104,9 +1108,10 @@ Run the test with `bazel test //hello_lib:greeting_test`.
rust_toolchain(name, allocator_library, binary_ext, cargo, clippy_driver, debug_info, - default_edition, dylib_ext, env, exec_triple, llvm_cov, llvm_profdata, llvm_tools, - opt_level, os, rust_doc, rust_lib, rust_std, rustc, rustc_lib, rustc_srcs, rustfmt, - staticlib_ext, stdlib_linkflags, target_json, target_triple) + default_edition, dylib_ext, env, exec_triple, experimental_use_cc_common_link, + llvm_cov, llvm_profdata, llvm_tools, opt_level, os, rust_doc, rust_lib, rust_std, + rustc, rustc_lib, rustc_srcs, rustfmt, staticlib_ext, stdlib_linkflags, target_json, + target_triple)Declares a Rust toolchain for use. @@ -1165,6 +1170,7 @@ See @rules_rust//rust:repositories.bzl for examples of defining the @rust_cpuX r | dylib_ext | The extension for dynamic libraries created from rustc. | String | required | | | env | Environment variables to set in actions. | Dictionary: String -> String | optional | {} | | exec_triple | The platform triple for the toolchains execution environment. For more details see: https://docs.bazel.build/versions/master/skylark/rules.html#configurations | String | required | | +| experimental_use_cc_common_link | Label to a boolean build setting that controls whether cc_common.link is used to link rust binaries. | Label | optional | //rust/settings:experimental_use_cc_common_link | | llvm_cov | The location of the
llvm-cov
binary. Can be a direct source or a filegroup containing one item. If None, rust code is not instrumented for coverage. | Label | optional | None |
| llvm_profdata | The location of the llvm-profdata
binary. Can be a direct source or a filegroup containing one item. If llvm_cov
is None, this can be None as well and rust code is not instrumented for coverage. | Label | optional | None |
| llvm_tools | LLVM tools that are shipped with the Rust toolchain. | Label | optional | None |
@@ -1212,7 +1218,7 @@ Generates a toolchain-bearing repository that declares the toolchains from some
## rust_toolchain_tools_repository
-rust_toolchain_tools_repository(name, auth, dev_components, edition, exec_triple, +rust_toolchain_tools_repository(name, allocator_library, auth, dev_components, edition, exec_triple, include_rustc_srcs, iso_date, repo_mapping, rustfmt_version, sha256s, target_triple, urls, version)@@ -1227,6 +1233,7 @@ A given instance of this rule should be accompanied by a toolchain_repository_pr | Name | Description | Type | Mandatory | Default | | :------------- | :------------- | :------------- | :------------- | :------------- | | name | A unique name for this repository. | Name | required | | +| allocator_library | Target that provides allocator functions when rust_library targets are embedded in a cc_binary. | String | optional | "" | | auth | Auth object compatible with repository_ctx.download to use when downloading files. See [repository_ctx.download](https://docs.bazel.build/versions/main/skylark/lib/repository_ctx.html#download) for more details. | Dictionary: String -> String | optional | {} | | dev_components | Whether to download the rustc-dev components (defaults to False). Requires version to be "nightly". | Boolean | optional | False | | edition | The rust edition to be used by default (2015, 2018, or 2021). If absent, every rule is required to specify its
edition
attribute. | String | optional | "" |
@@ -1301,7 +1308,7 @@ rust_bindgen_toolchain(
toolchain(
name = "wasm_bindgen_toolchain",
toolchain = "wasm_bindgen_toolchain_impl",
- toolchain_type = "@rules_rust//wasm_bindgen:wasm_bindgen_toolchain",
+ toolchain_type = "@rules_rust//wasm_bindgen:toolchain_type",
)
```
@@ -1350,8 +1357,8 @@ A test rule for performing `rustfmt --check` on a set of targets
## CrateInfo
-CrateInfo(aliases, compile_data, deps, edition, is_test, name, output, owner, proc_macro_deps, root, - rustc_env, srcs, type, wrapped_crate_type) +CrateInfo(aliases, compile_data, deps, edition, is_test, metadata, name, output, owner, + proc_macro_deps, root, rustc_env, rustc_env_files, srcs, type, wrapped_crate_type)A provider containing general Crate information. @@ -1366,12 +1373,14 @@ A provider containing general Crate information. | deps | depset[DepVariantInfo]: This crate's (rust or cc) dependencies' providers. | | edition | str: The edition of this crate. | | is_test | bool: If the crate is being compiled in a test context | +| metadata | File: The rmeta file produced for this crate. It is optional. | | name | str: The name of this crate. | | output | File: The output File that will be produced, depends on crate type. | | owner | Label: The label of the target that produced this CrateInfo | | proc_macro_deps | depset[DepVariantInfo]: This crate's rust proc_macro dependencies' providers. | | root | File: The source File entrypoint to this crate, eg. lib.rs | | rustc_env | Dict[String, String]: Additional
"key": "value"
environment variables to set for rustc. |
+| rustc_env_files | [File]: Files containing additional environment variables to set for rustc. |
| srcs | depset[File]: All source Files that are part of the crate. |
| type | str: The type of this crate (see [rustc --crate-type](https://doc.rust-lang.org/rustc/command-line-arguments.html#--crate-type-a-list-of-types-of-crates-for-the-compiler-to-emit)). |
| wrapped_crate_type | str, optional: The original crate type for targets generated using a previously defined crate (typically tests using the rust_test::crate
attribute) |
@@ -1383,7 +1392,8 @@ A provider containing general Crate information.
DepInfo(dep_env, direct_crates, link_search_path_files, transitive_build_infos, - transitive_crate_outputs, transitive_crates, transitive_noncrates) + transitive_crate_outputs, transitive_crates, transitive_metadata_outputs, + transitive_noncrates)A provider containing information about a Crate's dependencies. @@ -1399,6 +1409,7 @@ A provider containing information about a Crate's dependencies. | transitive_build_infos | depset[BuildInfo] | | transitive_crate_outputs | depset[File]: All transitive crate outputs. | | transitive_crates | depset[CrateInfo] | +| transitive_metadata_outputs | depset[File]: All transitive metadata dependencies (.rmeta, for crates that provide them) and all transitive object dependencies (.rlib) for crates that don't provide metadata. | | transitive_noncrates | depset[LinkerInput]: All transitive dependencies that aren't crates. | @@ -1408,7 +1419,7 @@ A provider containing information about a Crate's dependencies.
StdLibInfo(alloc_files, between_alloc_and_core_files, between_core_and_std_files, core_files, - dot_a_files, memchr_files, self_contained_files, srcs, std_files, std_rlibs) + dot_a_files, memchr_files, self_contained_files, srcs, std_files, std_rlibs, test_files)A collection of files either found within the `rust-stdlib` artifact or generated based on existing files. @@ -1428,6 +1439,7 @@ A collection of files either found within the `rust-stdlib` artifact or generate | srcs | List[Target]: All targets from the original
srcs
attribute. |
| std_files | Depset[File]: .a
files associated with the std
module. |
| std_rlibs | List[File]: All .rlib
files |
+| test_files | Depset[File]: .a
files associated with the test
module. |
@@ -1673,8 +1685,9 @@ This macro should be called immediately after the `rust_proto_repositories` macr
## rust_register_toolchains
-rust_register_toolchains(dev_components, edition, include_rustc_srcs, iso_date, register_toolchains, - rustfmt_version, sha256s, extra_target_triples, urls, version) +rust_register_toolchains(dev_components, edition, include_rustc_srcs, allocator_library, iso_date, + register_toolchains, rustfmt_version, sha256s, extra_target_triples, urls, + version)Emits a default set of toolchains for Linux, MacOS, and Freebsd @@ -1702,13 +1715,14 @@ See `load_arbitrary_tool` in `@rules_rust//rust:repositories.bzl` for more detai | dev_components | Whether to download the rustc-dev components (defaults to False). Requires version to be "nightly". |
False
|
| edition | The rust edition to be used by default (2015, 2018, or 2021). If absent, every target is required to specify its edition
attribute. | None
|
| include_rustc_srcs | Whether to download rustc's src code. This is required in order to use rust-analyzer support. See [rust_toolchain_repository.include_rustc_srcs](#rust_toolchain_repository-include_rustc_srcs). for more details | False
|
+| allocator_library | Target that provides allocator functions when rust_library targets are embedded in a cc_binary. | None
|
| iso_date | The date of the nightly or beta release (ignored if the version is a specific version). | None
|
| register_toolchains | If true, repositories will be generated to produce and register rust_toolchain
targets. | True
|
| rustfmt_version | The version of rustfmt. Either "nightly", "beta", or an exact version. Defaults to version
if not specified. | None
|
| sha256s | A dict associating tool subdirectories to sha256 hashes. | None
|
| extra_target_triples | Additional rust-style targets that rust toolchains should support. | ["wasm32-unknown-unknown", "wasm32-wasi"]
|
| urls | A list of mirror urls containing the tools from the Rust-lang static file server. These must contain the '{}' used to substitute the tool being fetched (using .format). | ["https://static.rust-lang.org/dist/{}.tar.gz"]
|
-| version | The version of Rust. Either "nightly", "beta", or an exact version. Defaults to a modern version. | "1.62.1"
|
+| version | The version of Rust. Either "nightly", "beta", or an exact version. Defaults to a modern version. | "1.63.0"
|
@@ -1734,8 +1748,9 @@ rust_repositories(kwargs)
## rust_repository_set
-rust_repository_set(name, version, exec_triple, include_rustc_srcs, extra_target_triples, iso_date, - rustfmt_version, edition, dev_components, sha256s, urls, auth, register_toolchain) +rust_repository_set(name, version, exec_triple, include_rustc_srcs, allocator_library, + extra_target_triples, iso_date, rustfmt_version, edition, dev_components, sha256s, + urls, auth, register_toolchain)Assembles a remote repository for the given toolchain params, produces a proxy repository to contain the toolchain declaration, and registers the toolchains. @@ -1752,6 +1767,7 @@ N.B. A "proxy repository" is needed to allow for registering the toolchain (with | version | The version of the tool among "nightly", "beta', or an exact version. | none | | exec_triple | The Rust-style target that this compiler runs on | none | | include_rustc_srcs | Whether to download rustc's src code. This is required in order to use rust-analyzer support. Defaults to False. |
False
|
+| allocator_library | Target that provides allocator functions when rust_library targets are embedded in a cc_binary. | None
|
| extra_target_triples | Additional rust-style targets that this set of toolchains should support. Defaults to []. | []
|
| iso_date | The date of the tool. Defaults to None. | None
|
| rustfmt_version | The version of rustfmt to be associated with the toolchain. Defaults to None. | None
|
@@ -1833,8 +1849,8 @@ rust_test_suite(
rust_toolchain_repository(name, version, exec_triple, target_triple, exec_compatible_with, - target_compatible_with, include_rustc_srcs, iso_date, rustfmt_version, - edition, dev_components, sha256s, urls, auth) + target_compatible_with, include_rustc_srcs, allocator_library, iso_date, + rustfmt_version, edition, dev_components, sha256s, urls, auth)Assembles a remote repository for the given toolchain params, produces a proxy repository to contain the toolchain declaration, and registers the toolchains. @@ -1854,6 +1870,7 @@ N.B. A "proxy repository" is needed to allow for registering the toolchain (with | exec_compatible_with | A list of constraints for the execution platform for this toolchain. |
None
|
| target_compatible_with | A list of constraints for the target platform for this toolchain. | None
|
| include_rustc_srcs | Whether to download rustc's src code. This is required in order to use rust-analyzer support. | False
|
+| allocator_library | Target that provides allocator functions when rust_library targets are embedded in a cc_binary. | None
|
| iso_date | The date of the tool. | None
|
| rustfmt_version | The version of rustfmt to be associated with the toolchain. | None
|
| edition | The rust edition to be used by default (2015, 2018, or 2021). If absent, every rule is required to specify its edition
attribute. | None
|
diff --git a/docs/index.md b/docs/index.md
index b84d758f15..6bce30e584 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -22,10 +22,10 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# https://github.com/bazelbuild/rules_rust/releases
http_archive(
name = "rules_rust",
- sha256 = "7fb9b4fe1a6fb4341bdf7c623e619460ecc0f52d5061cc56abc750111fba8a87",
+ sha256 = "6bfe75125e74155955d8a9854a8811365e6c0f3d33ed700bc17f39e32522c822",
urls = [
- "https://mirror.bazel.build/github.com/bazelbuild/rules_rust/releases/download/0.7.0/rules_rust-v0.7.0.tar.gz",
- "https://github.com/bazelbuild/rules_rust/releases/download/0.7.0/rules_rust-v0.7.0.tar.gz",
+ "https://mirror.bazel.build/github.com/bazelbuild/rules_rust/releases/download/0.9.0/rules_rust-v0.9.0.tar.gz",
+ "https://github.com/bazelbuild/rules_rust/releases/download/0.9.0/rules_rust-v0.9.0.tar.gz",
],
)
@@ -37,7 +37,7 @@ rust_register_toolchains()
```
The rules are under active development, as such the lastest commit on the
-`main` branch should be used. `main` is only tested against `4.0.0` as the
+`main` branch should be used. `main` is only tested against `5.0.0` as the
minimum supported version of Bazel. Though previous versions may still be
functional in certain environments.
@@ -47,17 +47,16 @@ functional in certain environments.
- [rust_doc](rust_doc.md): rules for generating and testing rust documentation.
- [rust_clippy](rust_clippy.md): rules for running [clippy](https://github.com/rust-lang/rust-clippy#readme).
- [rust_fmt](rust_fmt.md): rules for running [rustfmt](https://github.com/rust-lang/rustfmt#readme).
-- [rust_proto](rust_proto.md): rules for generating [protobuf](https://developers.google.com/protocol-buffers).
- and [gRPC](https://grpc.io) stubs.
+- [rust_proto](rust_proto.md): rules for generating [protobuf](https://developers.google.com/protocol-buffers) and [gRPC](https://grpc.io) stubs.
- [rust_bindgen](rust_bindgen.md): rules for generating C++ bindings.
- [rust_wasm_bindgen](rust_wasm_bindgen.md): rules for generating [WebAssembly](https://www.rust-lang.org/what/wasm) bindings.
- [cargo](cargo.md): Rules dedicated to Cargo compatibility. ie: [`build.rs` scripts](https://doc.rust-lang.org/cargo/reference/build-scripts.html).
+- [crate_universe](crate_universe.md): Rules for generating Bazel targets for external crate depednencies.
You can also browse the [full API in one page](flatten.md).
### Experimental rules
-- [crate_universe](crate_universe.md): Rules for generating Bazel targets for external crate depednencies.
- [rust_analyzer](rust_analyzer.md): rules for generating `rust-project.json` files for [rust-analyzer](https://rust-analyzer.github.io/)
## Specifying Rust version
@@ -65,22 +64,21 @@ You can also browse the [full API in one page](flatten.md).
To build with a particular version of the Rust compiler, pass that version to [`rust_register_toolchains`](flatten.md#rust_register_toolchains):
```python
-rust_register_toolchains(version = "1.59.0", edition="2018")
+rust_register_toolchains(version = "1.62.1", edition="2018")
```
As well as an exact version, `version` can be set to `"nightly"` or `"beta"`. If set to these values, `iso_date` must also be set:
```python
-rust_register_toolchains(version = "nightly", iso_date = "2022-02-23", edition="2018")
+rust_register_toolchains(version = "nightly", iso_date = "2022-07-18", edition="2018")
```
Similarly, `rustfmt_version` may also be configured:
```python
-rust_register_toolchains(rustfmt_version = "1.59.0")
+rust_register_toolchains(rustfmt_version = "1.62.1")
```
## External Dependencies
-If [crate_universe](crate_universe.md) does not suit your needs, another common approach to managing external dependencies is using
-[cargo-raze](https://github.com/google/cargo-raze) to generate `BUILD` files for Cargo crates.
+[crate_universe](crate_universe.md) is a tool built into `rules_rust` that can be used to fetch dependencies. Additionally, [cargo-raze](https://github.com/google/cargo-raze) is an older third-party which can also fetch dependencies.
diff --git a/docs/providers.md b/docs/providers.md
index 2df30cb43a..11f77b7d1b 100644
--- a/docs/providers.md
+++ b/docs/providers.md
@@ -10,8 +10,8 @@
## CrateInfo
-CrateInfo(aliases, compile_data, deps, edition, is_test, name, output, owner, proc_macro_deps, root, - rustc_env, srcs, type, wrapped_crate_type) +CrateInfo(aliases, compile_data, deps, edition, is_test, metadata, name, output, owner, + proc_macro_deps, root, rustc_env, rustc_env_files, srcs, type, wrapped_crate_type)A provider containing general Crate information. @@ -26,12 +26,14 @@ A provider containing general Crate information. | deps | depset[DepVariantInfo]: This crate's (rust or cc) dependencies' providers. | | edition | str: The edition of this crate. | | is_test | bool: If the crate is being compiled in a test context | +| metadata | File: The rmeta file produced for this crate. It is optional. | | name | str: The name of this crate. | | output | File: The output File that will be produced, depends on crate type. | | owner | Label: The label of the target that produced this CrateInfo | | proc_macro_deps | depset[DepVariantInfo]: This crate's rust proc_macro dependencies' providers. | | root | File: The source File entrypoint to this crate, eg. lib.rs | | rustc_env | Dict[String, String]: Additional
"key": "value"
environment variables to set for rustc. |
+| rustc_env_files | [File]: Files containing additional environment variables to set for rustc. |
| srcs | depset[File]: All source Files that are part of the crate. |
| type | str: The type of this crate (see [rustc --crate-type](https://doc.rust-lang.org/rustc/command-line-arguments.html#--crate-type-a-list-of-types-of-crates-for-the-compiler-to-emit)). |
| wrapped_crate_type | str, optional: The original crate type for targets generated using a previously defined crate (typically tests using the rust_test::crate
attribute) |
@@ -43,7 +45,8 @@ A provider containing general Crate information.
DepInfo(dep_env, direct_crates, link_search_path_files, transitive_build_infos, - transitive_crate_outputs, transitive_crates, transitive_noncrates) + transitive_crate_outputs, transitive_crates, transitive_metadata_outputs, + transitive_noncrates)A provider containing information about a Crate's dependencies. @@ -59,6 +62,7 @@ A provider containing information about a Crate's dependencies. | transitive_build_infos | depset[BuildInfo] | | transitive_crate_outputs | depset[File]: All transitive crate outputs. | | transitive_crates | depset[CrateInfo] | +| transitive_metadata_outputs | depset[File]: All transitive metadata dependencies (.rmeta, for crates that provide them) and all transitive object dependencies (.rlib) for crates that don't provide metadata. | | transitive_noncrates | depset[LinkerInput]: All transitive dependencies that aren't crates. | @@ -68,7 +72,7 @@ A provider containing information about a Crate's dependencies.
StdLibInfo(alloc_files, between_alloc_and_core_files, between_core_and_std_files, core_files, - dot_a_files, memchr_files, self_contained_files, srcs, std_files, std_rlibs) + dot_a_files, memchr_files, self_contained_files, srcs, std_files, std_rlibs, test_files)A collection of files either found within the `rust-stdlib` artifact or generated based on existing files. @@ -88,5 +92,6 @@ A collection of files either found within the `rust-stdlib` artifact or generate | srcs | List[Target]: All targets from the original
srcs
attribute. |
| std_files | Depset[File]: .a
files associated with the std
module. |
| std_rlibs | List[File]: All .rlib
files |
+| test_files | Depset[File]: .a
files associated with the test
module. |
diff --git a/docs/rust_bindgen.md b/docs/rust_bindgen.md
index 19eaafb4eb..3e282483ae 100644
--- a/docs/rust_bindgen.md
+++ b/docs/rust_bindgen.md
@@ -87,7 +87,7 @@ rust_bindgen_toolchain(
toolchain(
name = "bindgen_toolchain",
toolchain = "bindgen_toolchain_impl",
- toolchain_type = "@rules_rust//bindgen:bindgen_toolchain",
+ toolchain_type = "@rules_rust//bindgen:toolchain_type",
)
```
diff --git a/docs/rust_proto.md b/docs/rust_proto.md
index 8ef0a3aecb..479cdb533c 100644
--- a/docs/rust_proto.md
+++ b/docs/rust_proto.md
@@ -77,7 +77,7 @@ rust_proto_toolchain(
toolchain(
name = "proto-toolchain",
toolchain = ":proto-toolchain-impl",
- toolchain_type = "@rules_rust//proto:toolchain",
+ toolchain_type = "@rules_rust//proto:toolchain_type",
)
```
@@ -253,9 +253,9 @@ See @rules_rust//proto:BUILD for examples of defining the toolchain.
| :------------- | :------------- | :------------- | :------------- | :------------- |
| name | A unique name for this target. | Name | required | |
| edition | The edition used by the generated rust source. | String | optional | "" |
-| grpc_compile_deps | The crates the generated grpc libraries depends on. | List of labels | optional | [Label("//proto/raze:protobuf"), Label("//proto/raze:grpc"), Label("//proto/raze:tls_api"), Label("//proto/raze:tls_api_stub")] |
+| grpc_compile_deps | The crates the generated grpc libraries depends on. | List of labels | optional | [Label("//proto/3rdparty/crates:protobuf"), Label("//proto/3rdparty/crates:grpc"), Label("//proto/3rdparty/crates:tls-api"), Label("//proto/3rdparty/crates:tls-api-stub")] |
| grpc_plugin | The location of the Rust protobuf compiler plugin to generate rust gRPC stubs. | Label | optional | //proto:protoc_gen_rust_grpc |
-| proto_compile_deps | The crates the generated protobuf libraries depends on. | List of labels | optional | [Label("//proto/raze:protobuf")] |
+| proto_compile_deps | The crates the generated protobuf libraries depends on. | List of labels | optional | [Label("//proto/3rdparty/crates:protobuf")] |
| proto_plugin | The location of the Rust protobuf compiler plugin used to generate rust sources. | Label | optional | //proto:protoc_gen_rust |
| protoc | The location of the protoc
binary. It should be an executable target. | Label | optional | @com_google_protobuf//:protoc |
diff --git a/docs/rust_proto.vm b/docs/rust_proto.vm
index 9067510d01..b7f08f4e96 100644
--- a/docs/rust_proto.vm
+++ b/docs/rust_proto.vm
@@ -68,7 +68,7 @@ rust_proto_toolchain(
toolchain(
name = "proto-toolchain",
toolchain = ":proto-toolchain-impl",
- toolchain_type = "@rules_rust//proto:toolchain",
+ toolchain_type = "@rules_rust//proto:toolchain_type",
)
```
diff --git a/docs/rust_repositories.md b/docs/rust_repositories.md
index 49990ffbb5..70ffca032b 100644
--- a/docs/rust_repositories.md
+++ b/docs/rust_repositories.md
@@ -36,9 +36,10 @@ A dedicated filegroup-like rule for Rust stdlib artifacts.
rust_toolchain(name, allocator_library, binary_ext, cargo, clippy_driver, debug_info, - default_edition, dylib_ext, env, exec_triple, llvm_cov, llvm_profdata, llvm_tools, - opt_level, os, rust_doc, rust_lib, rust_std, rustc, rustc_lib, rustc_srcs, rustfmt, - staticlib_ext, stdlib_linkflags, target_json, target_triple) + default_edition, dylib_ext, env, exec_triple, experimental_use_cc_common_link, + llvm_cov, llvm_profdata, llvm_tools, opt_level, os, rust_doc, rust_lib, rust_std, + rustc, rustc_lib, rustc_srcs, rustfmt, staticlib_ext, stdlib_linkflags, target_json, + target_triple)Declares a Rust toolchain for use. @@ -97,6 +98,7 @@ See @rules_rust//rust:repositories.bzl for examples of defining the @rust_cpuX r | dylib_ext | The extension for dynamic libraries created from rustc. | String | required | | | env | Environment variables to set in actions. | Dictionary: String -> String | optional | {} | | exec_triple | The platform triple for the toolchains execution environment. For more details see: https://docs.bazel.build/versions/master/skylark/rules.html#configurations | String | required | | +| experimental_use_cc_common_link | Label to a boolean build setting that controls whether cc_common.link is used to link rust binaries. | Label | optional | //rust/settings:experimental_use_cc_common_link | | llvm_cov | The location of the
llvm-cov
binary. Can be a direct source or a filegroup containing one item. If None, rust code is not instrumented for coverage. | Label | optional | None |
| llvm_profdata | The location of the llvm-profdata
binary. Can be a direct source or a filegroup containing one item. If llvm_cov
is None, this can be None as well and rust code is not instrumented for coverage. | Label | optional | None |
| llvm_tools | LLVM tools that are shipped with the Rust toolchain. | Label | optional | None |
@@ -144,7 +146,7 @@ Generates a toolchain-bearing repository that declares the toolchains from some
## rust_toolchain_tools_repository
-rust_toolchain_tools_repository(name, auth, dev_components, edition, exec_triple, +rust_toolchain_tools_repository(name, allocator_library, auth, dev_components, edition, exec_triple, include_rustc_srcs, iso_date, repo_mapping, rustfmt_version, sha256s, target_triple, urls, version)@@ -159,6 +161,7 @@ A given instance of this rule should be accompanied by a toolchain_repository_pr | Name | Description | Type | Mandatory | Default | | :------------- | :------------- | :------------- | :------------- | :------------- | | name | A unique name for this repository. | Name | required | | +| allocator_library | Target that provides allocator functions when rust_library targets are embedded in a cc_binary. | String | optional | "" | | auth | Auth object compatible with repository_ctx.download to use when downloading files. See [repository_ctx.download](https://docs.bazel.build/versions/main/skylark/lib/repository_ctx.html#download) for more details. | Dictionary: String -> String | optional | {} | | dev_components | Whether to download the rustc-dev components (defaults to False). Requires version to be "nightly". | Boolean | optional | False | | edition | The rust edition to be used by default (2015, 2018, or 2021). If absent, every rule is required to specify its
edition
attribute. | String | optional | "" |
@@ -190,8 +193,9 @@ Dependencies used in the implementation of `rules_rust`.
## rust_register_toolchains
-rust_register_toolchains(dev_components, edition, include_rustc_srcs, iso_date, register_toolchains, - rustfmt_version, sha256s, extra_target_triples, urls, version) +rust_register_toolchains(dev_components, edition, include_rustc_srcs, allocator_library, iso_date, + register_toolchains, rustfmt_version, sha256s, extra_target_triples, urls, + version)Emits a default set of toolchains for Linux, MacOS, and Freebsd @@ -219,13 +223,14 @@ See `load_arbitrary_tool` in `@rules_rust//rust:repositories.bzl` for more detai | dev_components | Whether to download the rustc-dev components (defaults to False). Requires version to be "nightly". |
False
|
| edition | The rust edition to be used by default (2015, 2018, or 2021). If absent, every target is required to specify its edition
attribute. | None
|
| include_rustc_srcs | Whether to download rustc's src code. This is required in order to use rust-analyzer support. See [rust_toolchain_repository.include_rustc_srcs](#rust_toolchain_repository-include_rustc_srcs). for more details | False
|
+| allocator_library | Target that provides allocator functions when rust_library targets are embedded in a cc_binary. | None
|
| iso_date | The date of the nightly or beta release (ignored if the version is a specific version). | None
|
| register_toolchains | If true, repositories will be generated to produce and register rust_toolchain
targets. | True
|
| rustfmt_version | The version of rustfmt. Either "nightly", "beta", or an exact version. Defaults to version
if not specified. | None
|
| sha256s | A dict associating tool subdirectories to sha256 hashes. | None
|
| extra_target_triples | Additional rust-style targets that rust toolchains should support. | ["wasm32-unknown-unknown", "wasm32-wasi"]
|
| urls | A list of mirror urls containing the tools from the Rust-lang static file server. These must contain the '{}' used to substitute the tool being fetched (using .format). | ["https://static.rust-lang.org/dist/{}.tar.gz"]
|
-| version | The version of Rust. Either "nightly", "beta", or an exact version. Defaults to a modern version. | "1.62.1"
|
+| version | The version of Rust. Either "nightly", "beta", or an exact version. Defaults to a modern version. | "1.63.0"
|
@@ -251,8 +256,9 @@ rust_repositories(kwargs)
## rust_repository_set
-rust_repository_set(name, version, exec_triple, include_rustc_srcs, extra_target_triples, iso_date, - rustfmt_version, edition, dev_components, sha256s, urls, auth, register_toolchain) +rust_repository_set(name, version, exec_triple, include_rustc_srcs, allocator_library, + extra_target_triples, iso_date, rustfmt_version, edition, dev_components, sha256s, + urls, auth, register_toolchain)Assembles a remote repository for the given toolchain params, produces a proxy repository to contain the toolchain declaration, and registers the toolchains. @@ -269,6 +275,7 @@ N.B. A "proxy repository" is needed to allow for registering the toolchain (with | version | The version of the tool among "nightly", "beta', or an exact version. | none | | exec_triple | The Rust-style target that this compiler runs on | none | | include_rustc_srcs | Whether to download rustc's src code. This is required in order to use rust-analyzer support. Defaults to False. |
False
|
+| allocator_library | Target that provides allocator functions when rust_library targets are embedded in a cc_binary. | None
|
| extra_target_triples | Additional rust-style targets that this set of toolchains should support. Defaults to []. | []
|
| iso_date | The date of the tool. Defaults to None. | None
|
| rustfmt_version | The version of rustfmt to be associated with the toolchain. Defaults to None. | None
|
@@ -286,8 +293,8 @@ N.B. A "proxy repository" is needed to allow for registering the toolchain (with
rust_toolchain_repository(name, version, exec_triple, target_triple, exec_compatible_with, - target_compatible_with, include_rustc_srcs, iso_date, rustfmt_version, - edition, dev_components, sha256s, urls, auth) + target_compatible_with, include_rustc_srcs, allocator_library, iso_date, + rustfmt_version, edition, dev_components, sha256s, urls, auth)Assembles a remote repository for the given toolchain params, produces a proxy repository to contain the toolchain declaration, and registers the toolchains. @@ -307,6 +314,7 @@ N.B. A "proxy repository" is needed to allow for registering the toolchain (with | exec_compatible_with | A list of constraints for the execution platform for this toolchain. |
None
|
| target_compatible_with | A list of constraints for the target platform for this toolchain. | None
|
| include_rustc_srcs | Whether to download rustc's src code. This is required in order to use rust-analyzer support. | False
|
+| allocator_library | Target that provides allocator functions when rust_library targets are embedded in a cc_binary. | None
|
| iso_date | The date of the tool. | None
|
| rustfmt_version | The version of rustfmt to be associated with the toolchain. | None
|
| edition | The rust edition to be used by default (2015, 2018, or 2021). If absent, every rule is required to specify its edition
attribute. | None
|
diff --git a/docs/rust_wasm_bindgen.md b/docs/rust_wasm_bindgen.md
index ae84d1da65..9af8ad3fc6 100644
--- a/docs/rust_wasm_bindgen.md
+++ b/docs/rust_wasm_bindgen.md
@@ -85,7 +85,7 @@ rust_bindgen_toolchain(
toolchain(
name = "wasm_bindgen_toolchain",
toolchain = "wasm_bindgen_toolchain_impl",
- toolchain_type = "@rules_rust//wasm_bindgen:wasm_bindgen_toolchain",
+ toolchain_type = "@rules_rust//wasm_bindgen:toolchain_type",
)
```
diff --git a/examples/WORKSPACE.bazel b/examples/WORKSPACE.bazel
index ad29a83a2f..afa56db7e0 100644
--- a/examples/WORKSPACE.bazel
+++ b/examples/WORKSPACE.bazel
@@ -16,6 +16,10 @@ rust_register_toolchains(
edition = "2018",
)
+load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies")
+
+crate_universe_dependencies(bootstrap = True)
+
load("@rules_rust//tools/rust_analyzer:deps.bzl", "rust_analyzer_dependencies")
rust_analyzer_dependencies()
@@ -132,18 +136,18 @@ http_archive(
###############################################################################
http_archive(
- name = "bazel_toolchains",
- sha256 = "179ec02f809e86abf56356d8898c8bd74069f1bd7c56044050c2cd3d79d0e024",
- strip_prefix = "bazel-toolchains-4.1.0",
- urls = [
- "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/releases/download/4.1.0/bazel-toolchains-4.1.0.tar.gz",
- "https://github.com/bazelbuild/bazel-toolchains/releases/download/4.1.0/bazel-toolchains-4.1.0.tar.gz",
- ],
+ name = "bazelci_rules",
+ sha256 = "eca21884e6f66a88c358e580fd67a6b148d30ab57b1680f62a96c00f9bc6a07e",
+ strip_prefix = "bazelci_rules-1.0.0",
+ url = "https://github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz",
)
-load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig")
+load("@bazelci_rules//:rbe_repo.bzl", "rbe_preconfig")
# Creates a default toolchain config for RBE.
# Use this as is if you are using the rbe_ubuntu16_04 container,
# otherwise refer to RBE docs.
-rbe_autoconfig(name = "buildkite_config")
+rbe_preconfig(
+ name = "buildkite_config",
+ toolchain = "ubuntu1804-bazel-java11",
+)
diff --git a/examples/crate_universe/WORKSPACE.bazel b/examples/crate_universe/WORKSPACE.bazel
index c0c6371151..c743345358 100644
--- a/examples/crate_universe/WORKSPACE.bazel
+++ b/examples/crate_universe/WORKSPACE.bazel
@@ -321,18 +321,18 @@ crates_vendor_packages_repositories()
# Used for Bazel CI
http_archive(
- name = "bazel_toolchains",
- sha256 = "179ec02f809e86abf56356d8898c8bd74069f1bd7c56044050c2cd3d79d0e024",
- strip_prefix = "bazel-toolchains-4.1.0",
- urls = [
- "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/releases/download/4.1.0/bazel-toolchains-4.1.0.tar.gz",
- "https://github.com/bazelbuild/bazel-toolchains/releases/download/4.1.0/bazel-toolchains-4.1.0.tar.gz",
- ],
+ name = "bazelci_rules",
+ sha256 = "eca21884e6f66a88c358e580fd67a6b148d30ab57b1680f62a96c00f9bc6a07e",
+ strip_prefix = "bazelci_rules-1.0.0",
+ url = "https://github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz",
)
-load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig")
+load("@bazelci_rules//:rbe_repo.bzl", "rbe_preconfig")
# Creates a default toolchain config for RBE.
# Use this as is if you are using the rbe_ubuntu16_04 container,
# otherwise refer to RBE docs.
-rbe_autoconfig(name = "buildkite_config")
+rbe_preconfig(
+ name = "buildkite_config",
+ toolchain = "ubuntu1804-bazel-java11",
+)
diff --git a/examples/crate_universe/cargo_aliases/cargo-bazel-lock.json b/examples/crate_universe/cargo_aliases/cargo-bazel-lock.json
index 7c11d082d7..e4113b91b0 100644
--- a/examples/crate_universe/cargo_aliases/cargo-bazel-lock.json
+++ b/examples/crate_universe/cargo_aliases/cargo-bazel-lock.json
@@ -1,5 +1,5 @@
{
- "checksum": "18e65377d421f78219df17791be449590f3d10960d5595f9005cee735032567b",
+ "checksum": "22324143593ee8f6bd791d836d132583b37f45a3d6dd2b2965541a888c421f98",
"crates": {
"aho-corasick 0.7.18": {
"name": "aho-corasick",
diff --git a/examples/crate_universe/cargo_workspace/cargo-bazel-lock.json b/examples/crate_universe/cargo_workspace/cargo-bazel-lock.json
index 4c7e145c37..aec94d06e8 100644
--- a/examples/crate_universe/cargo_workspace/cargo-bazel-lock.json
+++ b/examples/crate_universe/cargo_workspace/cargo-bazel-lock.json
@@ -1,5 +1,5 @@
{
- "checksum": "746574dd60cef41f95be67cc408ac93637dea1f729ae7f1d2450cbfc0dff4a8b",
+ "checksum": "7d58a2569ecff202c9bf834d2bba05d02a1270dac40630c0e408216b07b2eb4f",
"crates": {
"ansi_term 0.12.1": {
"name": "ansi_term",
diff --git a/examples/crate_universe/multi_package/cargo-bazel-lock.json b/examples/crate_universe/multi_package/cargo-bazel-lock.json
index 2f3eb5c129..e19c62957f 100644
--- a/examples/crate_universe/multi_package/cargo-bazel-lock.json
+++ b/examples/crate_universe/multi_package/cargo-bazel-lock.json
@@ -1,5 +1,5 @@
{
- "checksum": "fa8d2ec1c932effeab92d593fcf5e2294469a693cf931fe7166c6bdf4373c713",
+ "checksum": "7fef42b6d782782940cbe4dacc27788a16488864c5b44c03e2f2f0fc9b27ee40",
"crates": {
"aho-corasick 0.7.18": {
"name": "aho-corasick",
diff --git a/examples/crate_universe/no_cargo_manifests/cargo-bazel-lock.json b/examples/crate_universe/no_cargo_manifests/cargo-bazel-lock.json
index 03692c00dc..94c3219b91 100644
--- a/examples/crate_universe/no_cargo_manifests/cargo-bazel-lock.json
+++ b/examples/crate_universe/no_cargo_manifests/cargo-bazel-lock.json
@@ -1,5 +1,5 @@
{
- "checksum": "4b51399cb949606e8decd4492f40694118346c25f81e405088c43eecdc9b54ad",
+ "checksum": "d025bf481260f81bd1f27c439d328b534c3d36a339bc7b2b59a3b58e56ab751f",
"crates": {
"ansi_term 0.12.1": {
"name": "ansi_term",
diff --git a/examples/sys/basic/3rdparty/BUILD.bazel b/examples/sys/basic/3rdparty/BUILD.bazel
new file mode 100644
index 0000000000..851675513b
--- /dev/null
+++ b/examples/sys/basic/3rdparty/BUILD.bazel
@@ -0,0 +1,20 @@
+load("@rules_rust//crate_universe:defs.bzl", "crate", "crates_vendor")
+
+crates_vendor(
+ name = "crates_vendor",
+ annotations = {
+ "bzip2-sys": [crate.annotation(
+ gen_build_script = True,
+ )],
+ },
+ cargo_lockfile = "Cargo.Bazel.lock",
+ generate_build_scripts = False,
+ mode = "remote",
+ packages = {
+ "bzip2": crate.spec(
+ version = "=0.3.3",
+ ),
+ },
+ repository_name = "basic_sys",
+ tags = ["manual"],
+)
diff --git a/examples/sys/basic/Cargo.lock b/examples/sys/basic/3rdparty/Cargo.Bazel.lock
similarity index 64%
rename from examples/sys/basic/Cargo.lock
rename to examples/sys/basic/3rdparty/Cargo.Bazel.lock
index 7a14e37889..39f301a51e 100644
--- a/examples/sys/basic/Cargo.lock
+++ b/examples/sys/basic/3rdparty/Cargo.Bazel.lock
@@ -1,5 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
+version = 3
+
[[package]]
name = "bzip2"
version = "0.3.3"
@@ -12,9 +14,9 @@ dependencies = [
[[package]]
name = "bzip2-sys"
-version = "0.1.9+1.0.8"
+version = "0.1.11+1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad3b39a260062fca31f7b0b12f207e8f2590a67d32ec7d59c20484b07ea7285e"
+checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc"
dependencies = [
"cc",
"libc",
@@ -23,25 +25,25 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.0.60"
+version = "1.0.73"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ef611cc68ff783f18535d77ddd080185275713d852c4f5cbb6122c462a7a825c"
+checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11"
+
+[[package]]
+name = "direct-cargo-bazel-deps"
+version = "0.0.1"
+dependencies = [
+ "bzip2",
+]
[[package]]
name = "libc"
-version = "0.2.77"
+version = "0.2.126"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235"
+checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
[[package]]
name = "pkg-config"
-version = "0.3.18"
+version = "0.3.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d36492546b6af1463394d46f0c834346f31548646f6ba10849802c9c9a27ac33"
-
-[[package]]
-name = "rules_rust_examples_basic_sys"
-version = "0.0.1"
-dependencies = [
- "bzip2",
-]
+checksum = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae"
diff --git a/examples/sys/basic/3rdparty/crates/BUILD.bazel b/examples/sys/basic/3rdparty/crates/BUILD.bazel
new file mode 100644
index 0000000000..f78524b715
--- /dev/null
+++ b/examples/sys/basic/3rdparty/crates/BUILD.bazel
@@ -0,0 +1,41 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/basic/3rdparty:crates_vendor
+###############################################################################
+
+package(default_visibility = ["//visibility:public"])
+
+exports_files(
+ [
+ "cargo-bazel.json",
+ "defs.bzl",
+ "crates.bzl",
+ ] + glob([
+ "*.bazel",
+ ]),
+)
+
+filegroup(
+ name = "srcs",
+ srcs = glob([
+ "*.bazel",
+ "*.bzl",
+ ]),
+)
+
+# Workspace Member Dependencies
+alias(
+ name = "bzip2",
+ actual = "@basic_sys__bzip2-0.3.3//:bzip2",
+ tags = ["manual"],
+)
+
+# Binaries
+alias(
+ name = "cc__gcc-shim",
+ actual = "@basic_sys__cc-1.0.73//:gcc-shim__bin",
+ tags = ["manual"],
+)
diff --git a/examples/sys/basic/3rdparty/crates/BUILD.bzip2-0.3.3.bazel b/examples/sys/basic/3rdparty/crates/BUILD.bzip2-0.3.3.bazel
new file mode 100644
index 0000000000..e790651051
--- /dev/null
+++ b/examples/sys/basic/3rdparty/crates/BUILD.bzip2-0.3.3.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/basic/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "bzip2",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.3.3",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@basic_sys__bzip2-sys-0.1.11-1.0.8//:bzip2_sys",
+ "@basic_sys__libc-0.2.126//:libc",
+ ],
+ }),
+)
diff --git a/examples/sys/basic/3rdparty/crates/BUILD.bzip2-sys-0.1.11+1.0.8.bazel b/examples/sys/basic/3rdparty/crates/BUILD.bzip2-sys-0.1.11+1.0.8.bazel
new file mode 100644
index 0000000000..34b0c06d1e
--- /dev/null
+++ b/examples/sys/basic/3rdparty/crates/BUILD.bzip2-sys-0.1.11+1.0.8.bazel
@@ -0,0 +1,178 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/basic/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "bzip2_sys",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.11+1.0.8",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@basic_sys__bzip2-sys-0.1.11-1.0.8//:build_script_build",
+ "@basic_sys__libc-0.2.126//:libc",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "bzip2-sys_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ links = "bzip2",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "0.1.11+1.0.8",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@basic_sys__cc-1.0.73//:cc",
+ "@basic_sys__pkg-config-0.3.25//:pkg_config",
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "bzip2-sys_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/examples/sys/basic/3rdparty/crates/BUILD.cc-1.0.73.bazel b/examples/sys/basic/3rdparty/crates/BUILD.cc-1.0.73.bazel
new file mode 100644
index 0000000000..94dad1f130
--- /dev/null
+++ b/examples/sys/basic/3rdparty/crates/BUILD.cc-1.0.73.bazel
@@ -0,0 +1,157 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/basic/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_binary",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "cc",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.73",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
+
+rust_binary(
+ name = "gcc-shim__bin",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/bin/gcc-shim.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.73",
+ deps = [
+ ":cc",
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/examples/sys/basic/3rdparty/crates/BUILD.libc-0.2.126.bazel b/examples/sys/basic/3rdparty/crates/BUILD.libc-0.2.126.bazel
new file mode 100644
index 0000000000..84344d1068
--- /dev/null
+++ b/examples/sys/basic/3rdparty/crates/BUILD.libc-0.2.126.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/basic/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "libc",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.126",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/examples/sys/basic/3rdparty/crates/BUILD.pkg-config-0.3.25.bazel b/examples/sys/basic/3rdparty/crates/BUILD.pkg-config-0.3.25.bazel
new file mode 100644
index 0000000000..cb28873596
--- /dev/null
+++ b/examples/sys/basic/3rdparty/crates/BUILD.pkg-config-0.3.25.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/basic/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "pkg_config",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.3.25",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/examples/sys/basic/3rdparty/crates/crates.bzl b/examples/sys/basic/3rdparty/crates/crates.bzl
new file mode 100644
index 0000000000..ba569c77d0
--- /dev/null
+++ b/examples/sys/basic/3rdparty/crates/crates.bzl
@@ -0,0 +1,25 @@
+###############################################################################
+# @generated
+# This file is auto-generated by the cargo-bazel tool.
+#
+# DO NOT MODIFY: Local changes may be replaced in future executions.
+###############################################################################
+"""Rules for defining repositories for remote `crates_vendor` repositories"""
+
+load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
+
+# buildifier: disable=bzl-visibility
+load("@examples//sys/basic/3rdparty/crates:defs.bzl", _crate_repositories = "crate_repositories")
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:crates_vendor.bzl", "crates_vendor_remote_repository")
+
+def crate_repositories():
+ maybe(
+ crates_vendor_remote_repository,
+ name = "basic_sys",
+ build_file = Label("@examples//sys/basic/3rdparty/crates:BUILD.bazel"),
+ defs_module = Label("@examples//sys/basic/3rdparty/crates:defs.bzl"),
+ )
+
+ _crate_repositories()
diff --git a/examples/sys/basic/3rdparty/crates/defs.bzl b/examples/sys/basic/3rdparty/crates/defs.bzl
new file mode 100644
index 0000000000..3f110a1e29
--- /dev/null
+++ b/examples/sys/basic/3rdparty/crates/defs.bzl
@@ -0,0 +1,411 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/basic/3rdparty:crates_vendor
+###############################################################################
+"""
+# `crates_repository` API
+
+- [aliases](#aliases)
+- [crate_deps](#crate_deps)
+- [all_crate_deps](#all_crate_deps)
+- [crate_repositories](#crate_repositories)
+
+"""
+
+load("@bazel_skylib//lib:selects.bzl", "selects")
+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
+load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
+
+###############################################################################
+# MACROS API
+###############################################################################
+
+# An identifier that represent common dependencies (unconditional).
+_COMMON_CONDITION = ""
+
+def _flatten_dependency_maps(all_dependency_maps):
+ """Flatten a list of dependency maps into one dictionary.
+
+ Dependency maps have the following structure:
+
+ ```python
+ DEPENDENCIES_MAP = {
+ # The first key in the map is a Bazel package
+ # name of the workspace this file is defined in.
+ "workspace_member_package": {
+
+ # Not all dependnecies are supported for all platforms.
+ # the condition key is the condition required to be true
+ # on the host platform.
+ "condition": {
+
+ # An alias to a crate target. # The label of the crate target the
+ # Aliases are only crate names. # package name refers to.
+ "package_name": "@full//:label",
+ }
+ }
+ }
+ ```
+
+ Args:
+ all_dependency_maps (list): A list of dicts as described above
+
+ Returns:
+ dict: A dictionary as described above
+ """
+ dependencies = {}
+
+ for workspace_deps_map in all_dependency_maps:
+ for pkg_name, conditional_deps_map in workspace_deps_map.items():
+ if pkg_name not in dependencies:
+ non_frozen_map = dict()
+ for key, values in conditional_deps_map.items():
+ non_frozen_map.update({key: dict(values.items())})
+ dependencies.setdefault(pkg_name, non_frozen_map)
+ continue
+
+ for condition, deps_map in conditional_deps_map.items():
+ # If the condition has not been recorded, do so and continue
+ if condition not in dependencies[pkg_name]:
+ dependencies[pkg_name].setdefault(condition, dict(deps_map.items()))
+ continue
+
+ # Alert on any miss-matched dependencies
+ inconsistent_entries = []
+ for crate_name, crate_label in deps_map.items():
+ existing = dependencies[pkg_name][condition].get(crate_name)
+ if existing and existing != crate_label:
+ inconsistent_entries.append((crate_name, existing, crate_label))
+ dependencies[pkg_name][condition].update({crate_name: crate_label})
+
+ return dependencies
+
+def crate_deps(deps, package_name = None):
+ """Finds the fully qualified label of the requested crates for the package where this macro is called.
+
+ Args:
+ deps (list): The desired list of crate targets.
+ package_name (str, optional): The package name of the set of dependencies to look up.
+ Defaults to `native.package_name()`.
+
+ Returns:
+ list: A list of labels to generated rust targets (str)
+ """
+
+ if not deps:
+ return []
+
+ if package_name == None:
+ package_name = native.package_name()
+
+ # Join both sets of dependencies
+ dependencies = _flatten_dependency_maps([
+ _NORMAL_DEPENDENCIES,
+ _NORMAL_DEV_DEPENDENCIES,
+ _PROC_MACRO_DEPENDENCIES,
+ _PROC_MACRO_DEV_DEPENDENCIES,
+ _BUILD_DEPENDENCIES,
+ _BUILD_PROC_MACRO_DEPENDENCIES,
+ ]).pop(package_name, {})
+
+ # Combine all conditional packages so we can easily index over a flat list
+ # TODO: Perhaps this should actually return select statements and maintain
+ # the conditionals of the dependencies
+ flat_deps = {}
+ for deps_set in dependencies.values():
+ for crate_name, crate_label in deps_set.items():
+ flat_deps.update({crate_name: crate_label})
+
+ missing_crates = []
+ crate_targets = []
+ for crate_target in deps:
+ if crate_target not in flat_deps:
+ missing_crates.append(crate_target)
+ else:
+ crate_targets.append(flat_deps[crate_target])
+
+ if missing_crates:
+ fail("Could not find crates `{}` among dependencies of `{}`. Available dependencies were `{}`".format(
+ missing_crates,
+ package_name,
+ dependencies,
+ ))
+
+ return crate_targets
+
+def all_crate_deps(
+ normal = False,
+ normal_dev = False,
+ proc_macro = False,
+ proc_macro_dev = False,
+ build = False,
+ build_proc_macro = False,
+ package_name = None):
+ """Finds the fully qualified label of all requested direct crate dependencies \
+ for the package where this macro is called.
+
+ If no parameters are set, all normal dependencies are returned. Setting any one flag will
+ otherwise impact the contents of the returned list.
+
+ Args:
+ normal (bool, optional): If True, normal dependencies are included in the
+ output list.
+ normal_dev (bool, optional): If True, normla dev dependencies will be
+ included in the output list..
+ proc_macro (bool, optional): If True, proc_macro dependencies are included
+ in the output list.
+ proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are
+ included in the output list.
+ build (bool, optional): If True, build dependencies are included
+ in the output list.
+ build_proc_macro (bool, optional): If True, build proc_macro dependencies are
+ included in the output list.
+ package_name (str, optional): The package name of the set of dependencies to look up.
+ Defaults to `native.package_name()` when unset.
+
+ Returns:
+ list: A list of labels to generated rust targets (str)
+ """
+
+ if package_name == None:
+ package_name = native.package_name()
+
+ # Determine the relevant maps to use
+ all_dependency_maps = []
+ if normal:
+ all_dependency_maps.append(_NORMAL_DEPENDENCIES)
+ if normal_dev:
+ all_dependency_maps.append(_NORMAL_DEV_DEPENDENCIES)
+ if proc_macro:
+ all_dependency_maps.append(_PROC_MACRO_DEPENDENCIES)
+ if proc_macro_dev:
+ all_dependency_maps.append(_PROC_MACRO_DEV_DEPENDENCIES)
+ if build:
+ all_dependency_maps.append(_BUILD_DEPENDENCIES)
+ if build_proc_macro:
+ all_dependency_maps.append(_BUILD_PROC_MACRO_DEPENDENCIES)
+
+ # Default to always using normal dependencies
+ if not all_dependency_maps:
+ all_dependency_maps.append(_NORMAL_DEPENDENCIES)
+
+ dependencies = _flatten_dependency_maps(all_dependency_maps).pop(package_name, None)
+
+ if not dependencies:
+ if dependencies == None:
+ fail("Tried to get all_crate_deps for package " + package_name + " but that package had no Cargo.toml file")
+ else:
+ return []
+
+ crate_deps = list(dependencies.pop(_COMMON_CONDITION, {}).values())
+ for condition, deps in dependencies.items():
+ crate_deps += selects.with_or({_CONDITIONS[condition]: deps.values()})
+
+ return crate_deps
+
+def aliases(
+ normal = False,
+ normal_dev = False,
+ proc_macro = False,
+ proc_macro_dev = False,
+ build = False,
+ build_proc_macro = False,
+ package_name = None):
+ """Produces a map of Crate alias names to their original label
+
+ If no dependency kinds are specified, `normal` and `proc_macro` are used by default.
+ Setting any one flag will otherwise determine the contents of the returned dict.
+
+ Args:
+ normal (bool, optional): If True, normal dependencies are included in the
+ output list.
+ normal_dev (bool, optional): If True, normla dev dependencies will be
+ included in the output list..
+ proc_macro (bool, optional): If True, proc_macro dependencies are included
+ in the output list.
+ proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are
+ included in the output list.
+ build (bool, optional): If True, build dependencies are included
+ in the output list.
+ build_proc_macro (bool, optional): If True, build proc_macro dependencies are
+ included in the output list.
+ package_name (str, optional): The package name of the set of dependencies to look up.
+ Defaults to `native.package_name()` when unset.
+
+ Returns:
+ dict: The aliases of all associated packages
+ """
+ if package_name == None:
+ package_name = native.package_name()
+
+ # Determine the relevant maps to use
+ all_aliases_maps = []
+ if normal:
+ all_aliases_maps.append(_NORMAL_ALIASES)
+ if normal_dev:
+ all_aliases_maps.append(_NORMAL_DEV_ALIASES)
+ if proc_macro:
+ all_aliases_maps.append(_PROC_MACRO_ALIASES)
+ if proc_macro_dev:
+ all_aliases_maps.append(_PROC_MACRO_DEV_ALIASES)
+ if build:
+ all_aliases_maps.append(_BUILD_ALIASES)
+ if build_proc_macro:
+ all_aliases_maps.append(_BUILD_PROC_MACRO_ALIASES)
+
+ # Default to always using normal aliases
+ if not all_aliases_maps:
+ all_aliases_maps.append(_NORMAL_ALIASES)
+ all_aliases_maps.append(_PROC_MACRO_ALIASES)
+
+ aliases = _flatten_dependency_maps(all_aliases_maps).pop(package_name, None)
+
+ if not aliases:
+ return dict()
+
+ common_items = aliases.pop(_COMMON_CONDITION, {}).items()
+
+ # If there are only common items in the dictionary, immediately return them
+ if not len(aliases.keys()) == 1:
+ return dict(common_items)
+
+ # Build a single select statement where each conditional has accounted for the
+ # common set of aliases.
+ crate_aliases = {"//conditions:default": common_items}
+ for condition, deps in aliases.items():
+ condition_triples = _CONDITIONS[condition]
+ if condition_triples in crate_aliases:
+ crate_aliases[condition_triples].update(deps)
+ else:
+ crate_aliases.update({_CONDITIONS[condition]: dict(deps.items() + common_items)})
+
+ return selects.with_or(crate_aliases)
+
+###############################################################################
+# WORKSPACE MEMBER DEPS AND ALIASES
+###############################################################################
+
+_NORMAL_DEPENDENCIES = {
+ "": {
+ _COMMON_CONDITION: {
+ "bzip2": "@basic_sys__bzip2-0.3.3//:bzip2",
+ },
+ },
+}
+
+_NORMAL_ALIASES = {
+ "": {
+ _COMMON_CONDITION: {
+ },
+ },
+}
+
+_NORMAL_DEV_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_NORMAL_DEV_ALIASES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_ALIASES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_DEV_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_DEV_ALIASES = {
+ "": {
+ },
+}
+
+_BUILD_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_BUILD_ALIASES = {
+ "": {
+ },
+}
+
+_BUILD_PROC_MACRO_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_BUILD_PROC_MACRO_ALIASES = {
+ "": {
+ },
+}
+
+_CONDITIONS = {
+}
+
+###############################################################################
+
+def crate_repositories():
+ """A macro for defining repositories for all generated crates"""
+ maybe(
+ http_archive,
+ name = "basic_sys__bzip2-0.3.3",
+ sha256 = "42b7c3cbf0fa9c1b82308d57191728ca0256cb821220f4e2fd410a72ade26e3b",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/bzip2/0.3.3/download"],
+ strip_prefix = "bzip2-0.3.3",
+ build_file = Label("@examples//sys/basic/3rdparty/crates:BUILD.bzip2-0.3.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "basic_sys__bzip2-sys-0.1.11-1.0.8",
+ sha256 = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/bzip2-sys/0.1.11+1.0.8/download"],
+ strip_prefix = "bzip2-sys-0.1.11+1.0.8",
+ build_file = Label("@examples//sys/basic/3rdparty/crates:BUILD.bzip2-sys-0.1.11+1.0.8.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "basic_sys__cc-1.0.73",
+ sha256 = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/cc/1.0.73/download"],
+ strip_prefix = "cc-1.0.73",
+ build_file = Label("@examples//sys/basic/3rdparty/crates:BUILD.cc-1.0.73.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "basic_sys__libc-0.2.126",
+ sha256 = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/libc/0.2.126/download"],
+ strip_prefix = "libc-0.2.126",
+ build_file = Label("@examples//sys/basic/3rdparty/crates:BUILD.libc-0.2.126.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "basic_sys__pkg-config-0.3.25",
+ sha256 = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/pkg-config/0.3.25/download"],
+ strip_prefix = "pkg-config-0.3.25",
+ build_file = Label("@examples//sys/basic/3rdparty/crates:BUILD.pkg-config-0.3.25.bazel"),
+ )
diff --git a/examples/sys/basic/BUILD.bazel b/examples/sys/basic/BUILD.bazel
index 142aa89947..8971c66eae 100644
--- a/examples/sys/basic/BUILD.bazel
+++ b/examples/sys/basic/BUILD.bazel
@@ -22,7 +22,7 @@ rust_binary(
edition = "2018",
# Note the `cargo-raze` dependencies here need to have been loaded
# in the WORKSPACE file. See `//sys:sys_deps.bzl` for rmore details.
- deps = ["//sys/basic/raze:bzip2"],
+ deps = ["//sys/basic/3rdparty/crates:bzip2"],
)
sh_test(
diff --git a/examples/sys/basic/Cargo.toml b/examples/sys/basic/Cargo.toml
deleted file mode 100644
index 61b97fcfa4..0000000000
--- a/examples/sys/basic/Cargo.toml
+++ /dev/null
@@ -1,21 +0,0 @@
-[package]
-name = "rules_rust_examples_basic_sys"
-version = "0.0.1"
-
-[[bin]]
-name = "rules_rust_examples_basic_sys"
-path = "src/main.rs"
-
-[dependencies]
-bzip2 = "=0.3.3"
-
-[package.metadata.raze]
-workspace_path = "//sys/basic/raze"
-genmode = "Remote"
-gen_workspace_prefix = "basic_sys"
-rust_rules_workspace_name = "rules_rust"
-package_aliases_dir = "raze"
-default_gen_buildrs = false
-
-[package.metadata.raze.crates.bzip2-sys.'0.1.9+1.0.8']
-gen_buildrs = true
diff --git a/examples/sys/basic/raze/BUILD.bazel b/examples/sys/basic/raze/BUILD.bazel
deleted file mode 100644
index 5145ab90a3..0000000000
--- a/examples/sys/basic/raze/BUILD.bazel
+++ /dev/null
@@ -1,40 +0,0 @@
-"""
-@generated
-cargo-raze generated Bazel file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-package(default_visibility = ["//visibility:public"])
-
-licenses([
- "notice", # See individual crates for specific licenses
-])
-
-# Aliased targets
-alias(
- name = "bzip2",
- actual = "@basic_sys__bzip2__0_3_3//:bzip2",
- tags = [
- "cargo-raze",
- "manual",
- ],
-)
-
-# 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/examples/sys/basic/raze/crates.bzl b/examples/sys/basic/raze/crates.bzl
deleted file mode 100644
index beacc3e52d..0000000000
--- a/examples/sys/basic/raze/crates.bzl
+++ /dev/null
@@ -1,62 +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 basic_sys_fetch_remote_crates():
- """This function defines a collection of repos and should be called in a WORKSPACE file"""
- maybe(
- http_archive,
- name = "basic_sys__bzip2__0_3_3",
- url = "https://crates.io/api/v1/crates/bzip2/0.3.3/download",
- type = "tar.gz",
- sha256 = "42b7c3cbf0fa9c1b82308d57191728ca0256cb821220f4e2fd410a72ade26e3b",
- strip_prefix = "bzip2-0.3.3",
- build_file = Label("//sys/basic/raze/remote:BUILD.bzip2-0.3.3.bazel"),
- )
-
- maybe(
- http_archive,
- name = "basic_sys__bzip2_sys__0_1_9_1_0_8",
- url = "https://crates.io/api/v1/crates/bzip2-sys/0.1.9+1.0.8/download",
- type = "tar.gz",
- sha256 = "ad3b39a260062fca31f7b0b12f207e8f2590a67d32ec7d59c20484b07ea7285e",
- strip_prefix = "bzip2-sys-0.1.9+1.0.8",
- build_file = Label("//sys/basic/raze/remote:BUILD.bzip2-sys-0.1.9+1.0.8.bazel"),
- )
-
- maybe(
- http_archive,
- name = "basic_sys__cc__1_0_60",
- url = "https://crates.io/api/v1/crates/cc/1.0.60/download",
- type = "tar.gz",
- sha256 = "ef611cc68ff783f18535d77ddd080185275713d852c4f5cbb6122c462a7a825c",
- strip_prefix = "cc-1.0.60",
- build_file = Label("//sys/basic/raze/remote:BUILD.cc-1.0.60.bazel"),
- )
-
- maybe(
- http_archive,
- name = "basic_sys__libc__0_2_77",
- url = "https://crates.io/api/v1/crates/libc/0.2.77/download",
- type = "tar.gz",
- sha256 = "f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235",
- strip_prefix = "libc-0.2.77",
- build_file = Label("//sys/basic/raze/remote:BUILD.libc-0.2.77.bazel"),
- )
-
- maybe(
- http_archive,
- name = "basic_sys__pkg_config__0_3_18",
- url = "https://crates.io/api/v1/crates/pkg-config/0.3.18/download",
- type = "tar.gz",
- sha256 = "d36492546b6af1463394d46f0c834346f31548646f6ba10849802c9c9a27ac33",
- strip_prefix = "pkg-config-0.3.18",
- build_file = Label("//sys/basic/raze/remote:BUILD.pkg-config-0.3.18.bazel"),
- )
diff --git a/examples/sys/basic/raze/remote/BUILD.bazel b/examples/sys/basic/raze/remote/BUILD.bazel
deleted file mode 100644
index b49fb68667..0000000000
--- a/examples/sys/basic/raze/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/examples/sys/basic/raze/remote/BUILD.bzip2-0.3.3.bazel b/examples/sys/basic/raze/remote/BUILD.bzip2-0.3.3.bazel
deleted file mode 100644
index e3f47122e8..0000000000
--- a/examples/sys/basic/raze/remote/BUILD.bzip2-0.3.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 "//sys/basic/raze", 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 = "bzip2",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=bzip2",
- "manual",
- ],
- version = "0.3.3",
- # buildifier: leave-alone
- deps = [
- "@basic_sys__bzip2_sys__0_1_9_1_0_8//:bzip2_sys",
- "@basic_sys__libc__0_2_77//:libc",
- ],
-)
-
-# Unsupported target "tokio" with type "test" omitted
diff --git a/examples/sys/basic/raze/remote/BUILD.bzip2-sys-0.1.9+1.0.8.bazel b/examples/sys/basic/raze/remote/BUILD.bzip2-sys-0.1.9+1.0.8.bazel
deleted file mode 100644
index 60220128dc..0000000000
--- a/examples/sys/basic/raze/remote/BUILD.bzip2-sys-0.1.9+1.0.8.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 "//sys/basic/raze", 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 = "bzip2_sys_build_script",
- srcs = glob(["**/*.rs"]),
- build_script_env = {
- },
- crate_features = [
- ],
- crate_root = "build.rs",
- data = glob(["**"]),
- edition = "2015",
- links = "bzip2",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.1.9+1.0.8",
- visibility = ["//visibility:private"],
- deps = [
- "@basic_sys__cc__1_0_60//:cc",
- "@basic_sys__pkg_config__0_3_18//:pkg_config",
- ],
-)
-
-rust_library(
- name = "bzip2_sys",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=bzip2_sys",
- "manual",
- ],
- version = "0.1.9+1.0.8",
- # buildifier: leave-alone
- deps = [
- ":bzip2_sys_build_script",
- "@basic_sys__libc__0_2_77//:libc",
- ],
-)
diff --git a/examples/sys/basic/raze/remote/BUILD.cc-1.0.60.bazel b/examples/sys/basic/raze/remote/BUILD.cc-1.0.60.bazel
deleted file mode 100644
index a17280e7e2..0000000000
--- a/examples/sys/basic/raze/remote/BUILD.cc-1.0.60.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 "//sys/basic/raze", 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_features = [
- ],
- 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.60",
- # buildifier: leave-alone
- deps = [
- ":cc",
- ],
-)
-
-rust_library(
- name = "cc",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=cc",
- "manual",
- ],
- version = "1.0.60",
- # 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/examples/sys/basic/raze/remote/BUILD.libc-0.2.77.bazel b/examples/sys/basic/raze/remote/BUILD.libc-0.2.77.bazel
deleted file mode 100644
index 5627fe42e0..0000000000
--- a/examples/sys/basic/raze/remote/BUILD.libc-0.2.77.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 "//sys/basic/raze", 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 = "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.77",
- # buildifier: leave-alone
- deps = [
- ],
-)
-
-# Unsupported target "const_fn" with type "test" omitted
diff --git a/examples/sys/basic/raze/remote/BUILD.pkg-config-0.3.18.bazel b/examples/sys/basic/raze/remote/BUILD.pkg-config-0.3.18.bazel
deleted file mode 100644
index cd43f481ad..0000000000
--- a/examples/sys/basic/raze/remote/BUILD.pkg-config-0.3.18.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 "//sys/basic/raze", 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 = "pkg_config",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=pkg-config",
- "manual",
- ],
- version = "0.3.18",
- # buildifier: leave-alone
- deps = [
- ],
-)
-
-# Unsupported target "test" with type "test" omitted
diff --git a/examples/sys/complex/3rdparty/BUILD.bazel b/examples/sys/complex/3rdparty/BUILD.bazel
new file mode 100644
index 0000000000..9046d78f85
--- /dev/null
+++ b/examples/sys/complex/3rdparty/BUILD.bazel
@@ -0,0 +1,28 @@
+load("@rules_rust//crate_universe:defs.bzl", "crate", "crates_vendor")
+
+crates_vendor(
+ name = "crates_vendor",
+ annotations = {
+ "libgit2-sys": [crate.annotation(
+ gen_build_script = False,
+ # libgit2 comes from @rules_rust//crate_universe/3rdparty:third_party_deps.bzl
+ deps = ["@libgit2"],
+ )],
+ "libz-sys": [crate.annotation(
+ gen_build_script = False,
+ # zlib comes from @rules_rust//crate_universe/3rdparty:third_party_deps.bzl
+ deps = ["@zlib"],
+ )],
+ },
+ cargo_lockfile = "Cargo.Bazel.lock",
+ generate_build_scripts = True,
+ mode = "remote",
+ packages = {
+ "git2": crate.spec(
+ default_features = False,
+ version = "=0.14.4",
+ ),
+ },
+ repository_name = "complex_sys",
+ tags = ["manual"],
+)
diff --git a/examples/sys/complex/Cargo.lock b/examples/sys/complex/3rdparty/Cargo.Bazel.lock
similarity index 50%
rename from examples/sys/complex/Cargo.lock
rename to examples/sys/complex/3rdparty/Cargo.Bazel.lock
index a2676c774e..e8bdcd038f 100644
--- a/examples/sys/complex/Cargo.lock
+++ b/examples/sys/complex/3rdparty/Cargo.Bazel.lock
@@ -1,22 +1,18 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
-[[package]]
-name = "autocfg"
-version = "1.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
+version = 3
[[package]]
name = "bitflags"
-version = "1.2.1"
+version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
+checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "cc"
-version = "1.0.69"
+version = "1.0.73"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e70cc2f62c6ce1868963827bd677764c62d07c3d9a3e1fb1177ee1a9ab199eb2"
+checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11"
dependencies = [
"jobserver",
]
@@ -28,20 +24,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
-name = "foreign-types"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
+name = "direct-cargo-bazel-deps"
+version = "0.0.1"
dependencies = [
- "foreign-types-shared",
+ "git2",
]
-[[package]]
-name = "foreign-types-shared"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
-
[[package]]
name = "form_urlencoded"
version = "1.0.1"
@@ -54,16 +42,14 @@ dependencies = [
[[package]]
name = "git2"
-version = "0.13.12"
+version = "0.14.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca6f1a0238d7f8f8fd5ee642f4ebac4dbc03e03d1f78fbe7a3ede35dcf7e2224"
+checksum = "d0155506aab710a86160ddb504a480d2964d7ab5b9e62419be69e0032bc5931c"
dependencies = [
"bitflags",
"libc",
"libgit2-sys",
"log",
- "openssl-probe",
- "openssl-sys",
"url",
]
@@ -80,58 +66,36 @@ dependencies = [
[[package]]
name = "jobserver"
-version = "0.1.23"
+version = "0.1.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f5ca711fd837261e14ec9e674f092cbb931d3fa1482b017ae59328ddc6f3212b"
+checksum = "af25a77299a7f711a01975c35a6a424eb6862092cc2d6c72c4ed6cbc56dfc1fa"
dependencies = [
"libc",
]
-[[package]]
-name = "lazy_static"
-version = "1.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
-
[[package]]
name = "libc"
-version = "0.2.98"
+version = "0.2.126"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790"
+checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
[[package]]
name = "libgit2-sys"
-version = "0.12.21+1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86271bacd72b2b9e854c3dcfb82efd538f15f870e4c11af66900effb462f6825"
-dependencies = [
- "cc",
- "libc",
- "libssh2-sys",
- "libz-sys",
- "openssl-sys",
- "pkg-config",
-]
-
-[[package]]
-name = "libssh2-sys"
-version = "0.2.21"
+version = "0.13.4+1.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e0186af0d8f171ae6b9c4c90ec51898bad5d08a2d5e470903a50d9ad8959cbee"
+checksum = "d0fa6563431ede25f5cc7f6d803c6afbc1c5d3ad3d4925d12c882bf2b526f5d1"
dependencies = [
"cc",
"libc",
"libz-sys",
- "openssl-sys",
"pkg-config",
- "vcpkg",
]
[[package]]
name = "libz-sys"
-version = "1.1.3"
+version = "1.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "de5435b8549c16d423ed0c03dbaafe57cf6c3344744f1242520d59c9d8ecec66"
+checksum = "9702761c3935f8cc2f101793272e202c72b99da8f4224a19ddcf1279a6450bbf"
dependencies = [
"cc",
"libc",
@@ -141,51 +105,18 @@ dependencies = [
[[package]]
name = "log"
-version = "0.4.14"
+version = "0.4.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710"
+checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
dependencies = [
"cfg-if",
]
[[package]]
name = "matches"
-version = "0.1.8"
+version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
-
-[[package]]
-name = "openssl"
-version = "0.10.32"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "038d43985d1ddca7a9900630d8cd031b56e4794eecc2e9ea39dd17aa04399a70"
-dependencies = [
- "bitflags",
- "cfg-if",
- "foreign-types",
- "lazy_static",
- "libc",
- "openssl-sys",
-]
-
-[[package]]
-name = "openssl-probe"
-version = "0.1.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a"
-
-[[package]]
-name = "openssl-sys"
-version = "0.9.60"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "921fc71883267538946025deffb622905ecad223c28efbfdef9bb59a0175f3e6"
-dependencies = [
- "autocfg",
- "cc",
- "libc",
- "pkg-config",
- "vcpkg",
-]
+checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f"
[[package]]
name = "percent-encoding"
@@ -195,24 +126,15 @@ checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e"
[[package]]
name = "pkg-config"
-version = "0.3.19"
+version = "0.3.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c"
-
-[[package]]
-name = "rules_rust_examples_complex_sys"
-version = "0.0.1"
-dependencies = [
- "git2",
- "openssl",
- "openssl-sys",
-]
+checksum = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae"
[[package]]
name = "tinyvec"
-version = "1.3.1"
+version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "848a1e1181b9f6753b5e96a092749e29b11d19ede67dfbbd6c7dc7e0f49b5338"
+checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
dependencies = [
"tinyvec_macros",
]
@@ -225,18 +147,15 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
[[package]]
name = "unicode-bidi"
-version = "0.3.5"
+version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eeb8be209bb1c96b7c177c7420d26e04eccacb0eeae6b980e35fcb74678107e0"
-dependencies = [
- "matches",
-]
+checksum = "099b7128301d285f79ddd55b9a83d5e6b9e97c92e0ea0daebee7263e932de992"
[[package]]
name = "unicode-normalization"
-version = "0.1.19"
+version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9"
+checksum = "854cbdc4f7bc6ae19c820d44abdc3277ac3e1b2b93db20a636825d9322fb60e6"
dependencies = [
"tinyvec",
]
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.bazel b/examples/sys/complex/3rdparty/crates/BUILD.bazel
new file mode 100644
index 0000000000..85dc3b7ea4
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.bazel
@@ -0,0 +1,41 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+package(default_visibility = ["//visibility:public"])
+
+exports_files(
+ [
+ "cargo-bazel.json",
+ "defs.bzl",
+ "crates.bzl",
+ ] + glob([
+ "*.bazel",
+ ]),
+)
+
+filegroup(
+ name = "srcs",
+ srcs = glob([
+ "*.bazel",
+ "*.bzl",
+ ]),
+)
+
+# Workspace Member Dependencies
+alias(
+ name = "git2",
+ actual = "@complex_sys__git2-0.14.4//:git2",
+ tags = ["manual"],
+)
+
+# Binaries
+alias(
+ name = "cc__gcc-shim",
+ actual = "@complex_sys__cc-1.0.73//:gcc-shim__bin",
+ tags = ["manual"],
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.bitflags-1.3.2.bazel b/examples/sys/complex/3rdparty/crates/BUILD.bitflags-1.3.2.bazel
new file mode 100644
index 0000000000..231508423f
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.bitflags-1.3.2.bazel
@@ -0,0 +1,91 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "bitflags",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.3.2",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.cc-1.0.73.bazel b/examples/sys/complex/3rdparty/crates/BUILD.cc-1.0.73.bazel
new file mode 100644
index 0000000000..02c3dd86b8
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.cc-1.0.73.bazel
@@ -0,0 +1,163 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_binary",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "cc",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "jobserver",
+ "parallel",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.73",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@complex_sys__jobserver-0.1.24//:jobserver",
+ ],
+ }),
+)
+
+rust_binary(
+ name = "gcc-shim__bin",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "jobserver",
+ "parallel",
+ ],
+ crate_root = "src/bin/gcc-shim.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.73",
+ deps = [
+ ":cc",
+ ] + select_with_or({
+ "//conditions:default": [
+ "@complex_sys__jobserver-0.1.24//:jobserver",
+ ],
+ }),
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel b/examples/sys/complex/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel
new file mode 100644
index 0000000000..1c475ad97d
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "cfg_if",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.form_urlencoded-1.0.1.bazel b/examples/sys/complex/3rdparty/crates/BUILD.form_urlencoded-1.0.1.bazel
new file mode 100644
index 0000000000..25bbf71bb5
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.form_urlencoded-1.0.1.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "form_urlencoded",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.1",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@complex_sys__matches-0.1.9//:matches",
+ "@complex_sys__percent-encoding-2.1.0//:percent_encoding",
+ ],
+ }),
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.git2-0.14.4.bazel b/examples/sys/complex/3rdparty/crates/BUILD.git2-0.14.4.bazel
new file mode 100644
index 0000000000..8bddd3bcd7
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.git2-0.14.4.bazel
@@ -0,0 +1,95 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "git2",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.14.4",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@complex_sys__bitflags-1.3.2//:bitflags",
+ "@complex_sys__libc-0.2.126//:libc",
+ "@complex_sys__libgit2-sys-0.13.4-1.4.2//:libgit2_sys",
+ "@complex_sys__log-0.4.17//:log",
+ "@complex_sys__url-2.2.2//:url",
+ ],
+ }),
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.idna-0.2.3.bazel b/examples/sys/complex/3rdparty/crates/BUILD.idna-0.2.3.bazel
new file mode 100644
index 0000000000..b11762868d
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.idna-0.2.3.bazel
@@ -0,0 +1,93 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "idna",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.3",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@complex_sys__matches-0.1.9//:matches",
+ "@complex_sys__unicode-bidi-0.3.8//:unicode_bidi",
+ "@complex_sys__unicode-normalization-0.1.21//:unicode_normalization",
+ ],
+ }),
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.jobserver-0.1.24.bazel b/examples/sys/complex/3rdparty/crates/BUILD.jobserver-0.1.24.bazel
new file mode 100644
index 0000000000..425194f93e
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.jobserver-0.1.24.bazel
@@ -0,0 +1,117 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "jobserver",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.24",
+ deps = [
+ ] + select_with_or({
+ # cfg(unix)
+ (
+ "@rules_rust//rust/platform:aarch64-apple-darwin",
+ "@rules_rust//rust/platform:aarch64-apple-ios",
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim",
+ "@rules_rust//rust/platform:aarch64-linux-android",
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:armv7-linux-androideabi",
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:i686-apple-darwin",
+ "@rules_rust//rust/platform:i686-linux-android",
+ "@rules_rust//rust/platform:i686-unknown-freebsd",
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+ "@rules_rust//rust/platform:x86_64-apple-darwin",
+ "@rules_rust//rust/platform:x86_64-apple-ios",
+ "@rules_rust//rust/platform:x86_64-linux-android",
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ # Target Deps
+ "@complex_sys__libc-0.2.126//:libc",
+
+ # Common Deps
+ ],
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.libc-0.2.126.bazel b/examples/sys/complex/3rdparty/crates/BUILD.libc-0.2.126.bazel
new file mode 100644
index 0000000000..8df7c2bb30
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.libc-0.2.126.bazel
@@ -0,0 +1,178 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "libc",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.126",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@complex_sys__libc-0.2.126//:build_script_build",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "libc_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "0.2.126",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "libc_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.libgit2-sys-0.13.4+1.4.2.bazel b/examples/sys/complex/3rdparty/crates/BUILD.libgit2-sys-0.13.4+1.4.2.bazel
new file mode 100644
index 0000000000..0cbe928f75
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.libgit2-sys-0.13.4+1.4.2.bazel
@@ -0,0 +1,93 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "libgit2_sys",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.13.4+1.4.2",
+ deps = [
+ "@libgit2",
+ ] + select_with_or({
+ "//conditions:default": [
+ "@complex_sys__libc-0.2.126//:libc",
+ "@complex_sys__libz-sys-1.1.8//:libz_sys",
+ ],
+ }),
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.libz-sys-1.1.8.bazel b/examples/sys/complex/3rdparty/crates/BUILD.libz-sys-1.1.8.bazel
new file mode 100644
index 0000000000..0a01278442
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.libz-sys-1.1.8.bazel
@@ -0,0 +1,93 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "libz_sys",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "libc",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.1.8",
+ deps = [
+ "@zlib",
+ ] + select_with_or({
+ "//conditions:default": [
+ "@complex_sys__libc-0.2.126//:libc",
+ ],
+ }),
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.log-0.4.17.bazel b/examples/sys/complex/3rdparty/crates/BUILD.log-0.4.17.bazel
new file mode 100644
index 0000000000..2e38426cb5
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.log-0.4.17.bazel
@@ -0,0 +1,175 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "log",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.4.17",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@complex_sys__cfg-if-1.0.0//:cfg_if",
+ "@complex_sys__log-0.4.17//:build_script_build",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "log_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "0.4.17",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "log_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.matches-0.1.9.bazel b/examples/sys/complex/3rdparty/crates/BUILD.matches-0.1.9.bazel
new file mode 100644
index 0000000000..9faefd4139
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.matches-0.1.9.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "matches",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.9",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.percent-encoding-2.1.0.bazel b/examples/sys/complex/3rdparty/crates/BUILD.percent-encoding-2.1.0.bazel
new file mode 100644
index 0000000000..d0e033c17b
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.percent-encoding-2.1.0.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "percent_encoding",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "2.1.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.pkg-config-0.3.25.bazel b/examples/sys/complex/3rdparty/crates/BUILD.pkg-config-0.3.25.bazel
new file mode 100644
index 0000000000..e022ea7f18
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.pkg-config-0.3.25.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "pkg_config",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.3.25",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.tinyvec-1.6.0.bazel b/examples/sys/complex/3rdparty/crates/BUILD.tinyvec-1.6.0.bazel
new file mode 100644
index 0000000000..3c99ffc2b5
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.tinyvec-1.6.0.bazel
@@ -0,0 +1,94 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Zlib OR Apache-2.0 OR MIT
+# ])
+
+rust_library(
+ name = "tinyvec",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "alloc",
+ "default",
+ "tinyvec_macros",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.6.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@complex_sys__tinyvec_macros-0.1.0//:tinyvec_macros",
+ ],
+ }),
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.tinyvec_macros-0.1.0.bazel b/examples/sys/complex/3rdparty/crates/BUILD.tinyvec_macros-0.1.0.bazel
new file mode 100644
index 0000000000..e7cf813b34
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.tinyvec_macros-0.1.0.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0 OR Zlib
+# ])
+
+rust_library(
+ name = "tinyvec_macros",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.unicode-bidi-0.3.8.bazel b/examples/sys/complex/3rdparty/crates/BUILD.unicode-bidi-0.3.8.bazel
new file mode 100644
index 0000000000..94c2631c4f
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.unicode-bidi-0.3.8.bazel
@@ -0,0 +1,93 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "unicode_bidi",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "hardcoded-data",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.3.8",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.unicode-normalization-0.1.21.bazel b/examples/sys/complex/3rdparty/crates/BUILD.unicode-normalization-0.1.21.bazel
new file mode 100644
index 0000000000..b57cb1f4c2
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.unicode-normalization-0.1.21.bazel
@@ -0,0 +1,93 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "unicode_normalization",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.21",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@complex_sys__tinyvec-1.6.0//:tinyvec",
+ ],
+ }),
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.url-2.2.2.bazel b/examples/sys/complex/3rdparty/crates/BUILD.url-2.2.2.bazel
new file mode 100644
index 0000000000..5fb550c59d
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.url-2.2.2.bazel
@@ -0,0 +1,94 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "url",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "2.2.2",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@complex_sys__form_urlencoded-1.0.1//:form_urlencoded",
+ "@complex_sys__idna-0.2.3//:idna",
+ "@complex_sys__matches-0.1.9//:matches",
+ "@complex_sys__percent-encoding-2.1.0//:percent_encoding",
+ ],
+ }),
+)
diff --git a/examples/sys/complex/3rdparty/crates/BUILD.vcpkg-0.2.15.bazel b/examples/sys/complex/3rdparty/crates/BUILD.vcpkg-0.2.15.bazel
new file mode 100644
index 0000000000..795f2021a5
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/BUILD.vcpkg-0.2.15.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "vcpkg",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.15",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/examples/sys/complex/3rdparty/crates/crates.bzl b/examples/sys/complex/3rdparty/crates/crates.bzl
new file mode 100644
index 0000000000..5969c28089
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/crates.bzl
@@ -0,0 +1,25 @@
+###############################################################################
+# @generated
+# This file is auto-generated by the cargo-bazel tool.
+#
+# DO NOT MODIFY: Local changes may be replaced in future executions.
+###############################################################################
+"""Rules for defining repositories for remote `crates_vendor` repositories"""
+
+load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
+
+# buildifier: disable=bzl-visibility
+load("@examples//sys/complex/3rdparty/crates:defs.bzl", _crate_repositories = "crate_repositories")
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:crates_vendor.bzl", "crates_vendor_remote_repository")
+
+def crate_repositories():
+ maybe(
+ crates_vendor_remote_repository,
+ name = "complex_sys",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.bazel"),
+ defs_module = Label("@examples//sys/complex/3rdparty/crates:defs.bzl"),
+ )
+
+ _crate_repositories()
diff --git a/examples/sys/complex/3rdparty/crates/defs.bzl b/examples/sys/complex/3rdparty/crates/defs.bzl
new file mode 100644
index 0000000000..5fc3e5813d
--- /dev/null
+++ b/examples/sys/complex/3rdparty/crates/defs.bzl
@@ -0,0 +1,562 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //sys/complex/3rdparty:crates_vendor
+###############################################################################
+"""
+# `crates_repository` API
+
+- [aliases](#aliases)
+- [crate_deps](#crate_deps)
+- [all_crate_deps](#all_crate_deps)
+- [crate_repositories](#crate_repositories)
+
+"""
+
+load("@bazel_skylib//lib:selects.bzl", "selects")
+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
+load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
+
+###############################################################################
+# MACROS API
+###############################################################################
+
+# An identifier that represent common dependencies (unconditional).
+_COMMON_CONDITION = ""
+
+def _flatten_dependency_maps(all_dependency_maps):
+ """Flatten a list of dependency maps into one dictionary.
+
+ Dependency maps have the following structure:
+
+ ```python
+ DEPENDENCIES_MAP = {
+ # The first key in the map is a Bazel package
+ # name of the workspace this file is defined in.
+ "workspace_member_package": {
+
+ # Not all dependnecies are supported for all platforms.
+ # the condition key is the condition required to be true
+ # on the host platform.
+ "condition": {
+
+ # An alias to a crate target. # The label of the crate target the
+ # Aliases are only crate names. # package name refers to.
+ "package_name": "@full//:label",
+ }
+ }
+ }
+ ```
+
+ Args:
+ all_dependency_maps (list): A list of dicts as described above
+
+ Returns:
+ dict: A dictionary as described above
+ """
+ dependencies = {}
+
+ for workspace_deps_map in all_dependency_maps:
+ for pkg_name, conditional_deps_map in workspace_deps_map.items():
+ if pkg_name not in dependencies:
+ non_frozen_map = dict()
+ for key, values in conditional_deps_map.items():
+ non_frozen_map.update({key: dict(values.items())})
+ dependencies.setdefault(pkg_name, non_frozen_map)
+ continue
+
+ for condition, deps_map in conditional_deps_map.items():
+ # If the condition has not been recorded, do so and continue
+ if condition not in dependencies[pkg_name]:
+ dependencies[pkg_name].setdefault(condition, dict(deps_map.items()))
+ continue
+
+ # Alert on any miss-matched dependencies
+ inconsistent_entries = []
+ for crate_name, crate_label in deps_map.items():
+ existing = dependencies[pkg_name][condition].get(crate_name)
+ if existing and existing != crate_label:
+ inconsistent_entries.append((crate_name, existing, crate_label))
+ dependencies[pkg_name][condition].update({crate_name: crate_label})
+
+ return dependencies
+
+def crate_deps(deps, package_name = None):
+ """Finds the fully qualified label of the requested crates for the package where this macro is called.
+
+ Args:
+ deps (list): The desired list of crate targets.
+ package_name (str, optional): The package name of the set of dependencies to look up.
+ Defaults to `native.package_name()`.
+
+ Returns:
+ list: A list of labels to generated rust targets (str)
+ """
+
+ if not deps:
+ return []
+
+ if package_name == None:
+ package_name = native.package_name()
+
+ # Join both sets of dependencies
+ dependencies = _flatten_dependency_maps([
+ _NORMAL_DEPENDENCIES,
+ _NORMAL_DEV_DEPENDENCIES,
+ _PROC_MACRO_DEPENDENCIES,
+ _PROC_MACRO_DEV_DEPENDENCIES,
+ _BUILD_DEPENDENCIES,
+ _BUILD_PROC_MACRO_DEPENDENCIES,
+ ]).pop(package_name, {})
+
+ # Combine all conditional packages so we can easily index over a flat list
+ # TODO: Perhaps this should actually return select statements and maintain
+ # the conditionals of the dependencies
+ flat_deps = {}
+ for deps_set in dependencies.values():
+ for crate_name, crate_label in deps_set.items():
+ flat_deps.update({crate_name: crate_label})
+
+ missing_crates = []
+ crate_targets = []
+ for crate_target in deps:
+ if crate_target not in flat_deps:
+ missing_crates.append(crate_target)
+ else:
+ crate_targets.append(flat_deps[crate_target])
+
+ if missing_crates:
+ fail("Could not find crates `{}` among dependencies of `{}`. Available dependencies were `{}`".format(
+ missing_crates,
+ package_name,
+ dependencies,
+ ))
+
+ return crate_targets
+
+def all_crate_deps(
+ normal = False,
+ normal_dev = False,
+ proc_macro = False,
+ proc_macro_dev = False,
+ build = False,
+ build_proc_macro = False,
+ package_name = None):
+ """Finds the fully qualified label of all requested direct crate dependencies \
+ for the package where this macro is called.
+
+ If no parameters are set, all normal dependencies are returned. Setting any one flag will
+ otherwise impact the contents of the returned list.
+
+ Args:
+ normal (bool, optional): If True, normal dependencies are included in the
+ output list.
+ normal_dev (bool, optional): If True, normla dev dependencies will be
+ included in the output list..
+ proc_macro (bool, optional): If True, proc_macro dependencies are included
+ in the output list.
+ proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are
+ included in the output list.
+ build (bool, optional): If True, build dependencies are included
+ in the output list.
+ build_proc_macro (bool, optional): If True, build proc_macro dependencies are
+ included in the output list.
+ package_name (str, optional): The package name of the set of dependencies to look up.
+ Defaults to `native.package_name()` when unset.
+
+ Returns:
+ list: A list of labels to generated rust targets (str)
+ """
+
+ if package_name == None:
+ package_name = native.package_name()
+
+ # Determine the relevant maps to use
+ all_dependency_maps = []
+ if normal:
+ all_dependency_maps.append(_NORMAL_DEPENDENCIES)
+ if normal_dev:
+ all_dependency_maps.append(_NORMAL_DEV_DEPENDENCIES)
+ if proc_macro:
+ all_dependency_maps.append(_PROC_MACRO_DEPENDENCIES)
+ if proc_macro_dev:
+ all_dependency_maps.append(_PROC_MACRO_DEV_DEPENDENCIES)
+ if build:
+ all_dependency_maps.append(_BUILD_DEPENDENCIES)
+ if build_proc_macro:
+ all_dependency_maps.append(_BUILD_PROC_MACRO_DEPENDENCIES)
+
+ # Default to always using normal dependencies
+ if not all_dependency_maps:
+ all_dependency_maps.append(_NORMAL_DEPENDENCIES)
+
+ dependencies = _flatten_dependency_maps(all_dependency_maps).pop(package_name, None)
+
+ if not dependencies:
+ if dependencies == None:
+ fail("Tried to get all_crate_deps for package " + package_name + " but that package had no Cargo.toml file")
+ else:
+ return []
+
+ crate_deps = list(dependencies.pop(_COMMON_CONDITION, {}).values())
+ for condition, deps in dependencies.items():
+ crate_deps += selects.with_or({_CONDITIONS[condition]: deps.values()})
+
+ return crate_deps
+
+def aliases(
+ normal = False,
+ normal_dev = False,
+ proc_macro = False,
+ proc_macro_dev = False,
+ build = False,
+ build_proc_macro = False,
+ package_name = None):
+ """Produces a map of Crate alias names to their original label
+
+ If no dependency kinds are specified, `normal` and `proc_macro` are used by default.
+ Setting any one flag will otherwise determine the contents of the returned dict.
+
+ Args:
+ normal (bool, optional): If True, normal dependencies are included in the
+ output list.
+ normal_dev (bool, optional): If True, normla dev dependencies will be
+ included in the output list..
+ proc_macro (bool, optional): If True, proc_macro dependencies are included
+ in the output list.
+ proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are
+ included in the output list.
+ build (bool, optional): If True, build dependencies are included
+ in the output list.
+ build_proc_macro (bool, optional): If True, build proc_macro dependencies are
+ included in the output list.
+ package_name (str, optional): The package name of the set of dependencies to look up.
+ Defaults to `native.package_name()` when unset.
+
+ Returns:
+ dict: The aliases of all associated packages
+ """
+ if package_name == None:
+ package_name = native.package_name()
+
+ # Determine the relevant maps to use
+ all_aliases_maps = []
+ if normal:
+ all_aliases_maps.append(_NORMAL_ALIASES)
+ if normal_dev:
+ all_aliases_maps.append(_NORMAL_DEV_ALIASES)
+ if proc_macro:
+ all_aliases_maps.append(_PROC_MACRO_ALIASES)
+ if proc_macro_dev:
+ all_aliases_maps.append(_PROC_MACRO_DEV_ALIASES)
+ if build:
+ all_aliases_maps.append(_BUILD_ALIASES)
+ if build_proc_macro:
+ all_aliases_maps.append(_BUILD_PROC_MACRO_ALIASES)
+
+ # Default to always using normal aliases
+ if not all_aliases_maps:
+ all_aliases_maps.append(_NORMAL_ALIASES)
+ all_aliases_maps.append(_PROC_MACRO_ALIASES)
+
+ aliases = _flatten_dependency_maps(all_aliases_maps).pop(package_name, None)
+
+ if not aliases:
+ return dict()
+
+ common_items = aliases.pop(_COMMON_CONDITION, {}).items()
+
+ # If there are only common items in the dictionary, immediately return them
+ if not len(aliases.keys()) == 1:
+ return dict(common_items)
+
+ # Build a single select statement where each conditional has accounted for the
+ # common set of aliases.
+ crate_aliases = {"//conditions:default": common_items}
+ for condition, deps in aliases.items():
+ condition_triples = _CONDITIONS[condition]
+ if condition_triples in crate_aliases:
+ crate_aliases[condition_triples].update(deps)
+ else:
+ crate_aliases.update({_CONDITIONS[condition]: dict(deps.items() + common_items)})
+
+ return selects.with_or(crate_aliases)
+
+###############################################################################
+# WORKSPACE MEMBER DEPS AND ALIASES
+###############################################################################
+
+_NORMAL_DEPENDENCIES = {
+ "": {
+ _COMMON_CONDITION: {
+ "git2": "@complex_sys__git2-0.14.4//:git2",
+ },
+ },
+}
+
+_NORMAL_ALIASES = {
+ "": {
+ _COMMON_CONDITION: {
+ },
+ },
+}
+
+_NORMAL_DEV_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_NORMAL_DEV_ALIASES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_ALIASES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_DEV_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_DEV_ALIASES = {
+ "": {
+ },
+}
+
+_BUILD_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_BUILD_ALIASES = {
+ "": {
+ },
+}
+
+_BUILD_PROC_MACRO_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_BUILD_PROC_MACRO_ALIASES = {
+ "": {
+ },
+}
+
+_CONDITIONS = {
+ "cfg(unix)": ["aarch64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-ios-sim", "aarch64-linux-android", "aarch64-unknown-linux-gnu", "arm-unknown-linux-gnueabi", "armv7-linux-androideabi", "armv7-unknown-linux-gnueabi", "i686-apple-darwin", "i686-linux-android", "i686-unknown-freebsd", "i686-unknown-linux-gnu", "powerpc-unknown-linux-gnu", "s390x-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-apple-ios", "x86_64-linux-android", "x86_64-unknown-freebsd", "x86_64-unknown-linux-gnu"],
+}
+
+###############################################################################
+
+def crate_repositories():
+ """A macro for defining repositories for all generated crates"""
+ maybe(
+ http_archive,
+ name = "complex_sys__bitflags-1.3.2",
+ sha256 = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/bitflags/1.3.2/download"],
+ strip_prefix = "bitflags-1.3.2",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.bitflags-1.3.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "complex_sys__cc-1.0.73",
+ sha256 = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/cc/1.0.73/download"],
+ strip_prefix = "cc-1.0.73",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.cc-1.0.73.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "complex_sys__cfg-if-1.0.0",
+ sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/cfg-if/1.0.0/download"],
+ strip_prefix = "cfg-if-1.0.0",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.cfg-if-1.0.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "complex_sys__form_urlencoded-1.0.1",
+ sha256 = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/form_urlencoded/1.0.1/download"],
+ strip_prefix = "form_urlencoded-1.0.1",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.form_urlencoded-1.0.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "complex_sys__git2-0.14.4",
+ sha256 = "d0155506aab710a86160ddb504a480d2964d7ab5b9e62419be69e0032bc5931c",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/git2/0.14.4/download"],
+ strip_prefix = "git2-0.14.4",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.git2-0.14.4.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "complex_sys__idna-0.2.3",
+ sha256 = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/idna/0.2.3/download"],
+ strip_prefix = "idna-0.2.3",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.idna-0.2.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "complex_sys__jobserver-0.1.24",
+ sha256 = "af25a77299a7f711a01975c35a6a424eb6862092cc2d6c72c4ed6cbc56dfc1fa",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/jobserver/0.1.24/download"],
+ strip_prefix = "jobserver-0.1.24",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.jobserver-0.1.24.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "complex_sys__libc-0.2.126",
+ sha256 = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/libc/0.2.126/download"],
+ strip_prefix = "libc-0.2.126",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.libc-0.2.126.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "complex_sys__libgit2-sys-0.13.4-1.4.2",
+ sha256 = "d0fa6563431ede25f5cc7f6d803c6afbc1c5d3ad3d4925d12c882bf2b526f5d1",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/libgit2-sys/0.13.4+1.4.2/download"],
+ strip_prefix = "libgit2-sys-0.13.4+1.4.2",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.libgit2-sys-0.13.4+1.4.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "complex_sys__libz-sys-1.1.8",
+ sha256 = "9702761c3935f8cc2f101793272e202c72b99da8f4224a19ddcf1279a6450bbf",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/libz-sys/1.1.8/download"],
+ strip_prefix = "libz-sys-1.1.8",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.libz-sys-1.1.8.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "complex_sys__log-0.4.17",
+ sha256 = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/log/0.4.17/download"],
+ strip_prefix = "log-0.4.17",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.log-0.4.17.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "complex_sys__matches-0.1.9",
+ sha256 = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/matches/0.1.9/download"],
+ strip_prefix = "matches-0.1.9",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.matches-0.1.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "complex_sys__percent-encoding-2.1.0",
+ sha256 = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/percent-encoding/2.1.0/download"],
+ strip_prefix = "percent-encoding-2.1.0",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.percent-encoding-2.1.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "complex_sys__pkg-config-0.3.25",
+ sha256 = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/pkg-config/0.3.25/download"],
+ strip_prefix = "pkg-config-0.3.25",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.pkg-config-0.3.25.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "complex_sys__tinyvec-1.6.0",
+ sha256 = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tinyvec/1.6.0/download"],
+ strip_prefix = "tinyvec-1.6.0",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.tinyvec-1.6.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "complex_sys__tinyvec_macros-0.1.0",
+ sha256 = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tinyvec_macros/0.1.0/download"],
+ strip_prefix = "tinyvec_macros-0.1.0",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.tinyvec_macros-0.1.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "complex_sys__unicode-bidi-0.3.8",
+ sha256 = "099b7128301d285f79ddd55b9a83d5e6b9e97c92e0ea0daebee7263e932de992",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/unicode-bidi/0.3.8/download"],
+ strip_prefix = "unicode-bidi-0.3.8",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.unicode-bidi-0.3.8.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "complex_sys__unicode-normalization-0.1.21",
+ sha256 = "854cbdc4f7bc6ae19c820d44abdc3277ac3e1b2b93db20a636825d9322fb60e6",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/unicode-normalization/0.1.21/download"],
+ strip_prefix = "unicode-normalization-0.1.21",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.unicode-normalization-0.1.21.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "complex_sys__url-2.2.2",
+ sha256 = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/url/2.2.2/download"],
+ strip_prefix = "url-2.2.2",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.url-2.2.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "complex_sys__vcpkg-0.2.15",
+ sha256 = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/vcpkg/0.2.15/download"],
+ strip_prefix = "vcpkg-0.2.15",
+ build_file = Label("@examples//sys/complex/3rdparty/crates:BUILD.vcpkg-0.2.15.bazel"),
+ )
diff --git a/examples/sys/complex/BUILD.bazel b/examples/sys/complex/BUILD.bazel
index f0e7f0bd6a..eaf31993d5 100644
--- a/examples/sys/complex/BUILD.bazel
+++ b/examples/sys/complex/BUILD.bazel
@@ -20,7 +20,7 @@ rust_binary(
name = "complex_sys",
srcs = ["src/main.rs"],
edition = "2018",
- # Note the `cargo-raze` dependencies here need to have been loaded
+ # Note the `crate_universe` dependencies here need to have been loaded
# in the WORKSPACE file. See `//sys:sys_deps.bzl` for rmore details.
- deps = ["//sys/complex/raze:git2"],
+ deps = ["//sys/complex/3rdparty/crates:git2"],
)
diff --git a/examples/sys/complex/Cargo.toml b/examples/sys/complex/Cargo.toml
deleted file mode 100644
index 1e47fb46eb..0000000000
--- a/examples/sys/complex/Cargo.toml
+++ /dev/null
@@ -1,35 +0,0 @@
-[package]
-name = "rules_rust_examples_complex_sys"
-version = "0.0.1"
-
-[[bin]]
-name = "rules_rust_examples_complex_sys"
-path = "src/main.rs"
-
-[dependencies]
-git2 = "=0.13.12"
-openssl = "=0.10.32"
-openssl-sys = "=0.9.60"
-
-[package.metadata.raze]
-workspace_path = "//sys/complex/raze"
-genmode = "Remote"
-gen_workspace_prefix = "complex_sys"
-rust_rules_workspace_name = "rules_rust"
-package_aliases_dir = "raze"
-default_gen_buildrs = true
-
-[package.metadata.raze.crates.openssl-sys.'*']
-# build.rs file: https://github.com/sfackler/rust-openssl/blob/master/openssl-sys/build/main.rs
-build_data_dependencies = [
- "@openssl//:openssl",
- "@openssl//:gen_dir",
-]
-data_attr = "[\"@openssl//:openssl\"]"
-additional_deps = ["@openssl//:openssl"]
- [package.metadata.raze.crates.openssl-sys.'*'.buildrs_additional_environment_variables]
- OPENSSL_DIR="$(execpath @openssl//:gen_dir)"
- OPENSSL_STATIC="1"
-
-[package.metadata.raze.crates.libssh2-sys.'0.2.20']
-build_data_dependencies = ["@openssl"]
diff --git a/examples/sys/complex/raze/BUILD.bazel b/examples/sys/complex/raze/BUILD.bazel
deleted file mode 100644
index c426d50d9c..0000000000
--- a/examples/sys/complex/raze/BUILD.bazel
+++ /dev/null
@@ -1,58 +0,0 @@
-"""
-@generated
-cargo-raze generated Bazel file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-package(default_visibility = ["//visibility:public"])
-
-licenses([
- "notice", # See individual crates for specific licenses
-])
-
-# Aliased targets
-alias(
- name = "git2",
- actual = "@complex_sys__git2__0_13_12//:git2",
- tags = [
- "cargo-raze",
- "manual",
- ],
-)
-
-alias(
- name = "openssl",
- actual = "@complex_sys__openssl__0_10_32//:openssl",
- tags = [
- "cargo-raze",
- "manual",
- ],
-)
-
-alias(
- name = "openssl_sys",
- actual = "@complex_sys__openssl_sys__0_9_60//:openssl_sys",
- tags = [
- "cargo-raze",
- "manual",
- ],
-)
-
-# 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/examples/sys/complex/raze/crates.bzl b/examples/sys/complex/raze/crates.bzl
deleted file mode 100644
index a8ccc94377..0000000000
--- a/examples/sys/complex/raze/crates.bzl
+++ /dev/null
@@ -1,292 +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 complex_sys_fetch_remote_crates():
- """This function defines a collection of repos and should be called in a WORKSPACE file"""
- maybe(
- http_archive,
- name = "complex_sys__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("//sys/complex/raze/remote:BUILD.autocfg-1.0.1.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__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("//sys/complex/raze/remote:BUILD.bitflags-1.2.1.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__cc__1_0_69",
- url = "https://crates.io/api/v1/crates/cc/1.0.69/download",
- type = "tar.gz",
- sha256 = "e70cc2f62c6ce1868963827bd677764c62d07c3d9a3e1fb1177ee1a9ab199eb2",
- strip_prefix = "cc-1.0.69",
- build_file = Label("//sys/complex/raze/remote:BUILD.cc-1.0.69.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__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("//sys/complex/raze/remote:BUILD.cfg-if-1.0.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__foreign_types__0_3_2",
- url = "https://crates.io/api/v1/crates/foreign-types/0.3.2/download",
- type = "tar.gz",
- sha256 = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1",
- strip_prefix = "foreign-types-0.3.2",
- build_file = Label("//sys/complex/raze/remote:BUILD.foreign-types-0.3.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__foreign_types_shared__0_1_1",
- url = "https://crates.io/api/v1/crates/foreign-types-shared/0.1.1/download",
- type = "tar.gz",
- sha256 = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b",
- strip_prefix = "foreign-types-shared-0.1.1",
- build_file = Label("//sys/complex/raze/remote:BUILD.foreign-types-shared-0.1.1.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__form_urlencoded__1_0_1",
- url = "https://crates.io/api/v1/crates/form_urlencoded/1.0.1/download",
- type = "tar.gz",
- sha256 = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191",
- strip_prefix = "form_urlencoded-1.0.1",
- build_file = Label("//sys/complex/raze/remote:BUILD.form_urlencoded-1.0.1.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__git2__0_13_12",
- url = "https://crates.io/api/v1/crates/git2/0.13.12/download",
- type = "tar.gz",
- sha256 = "ca6f1a0238d7f8f8fd5ee642f4ebac4dbc03e03d1f78fbe7a3ede35dcf7e2224",
- strip_prefix = "git2-0.13.12",
- build_file = Label("//sys/complex/raze/remote:BUILD.git2-0.13.12.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__idna__0_2_3",
- url = "https://crates.io/api/v1/crates/idna/0.2.3/download",
- type = "tar.gz",
- sha256 = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8",
- strip_prefix = "idna-0.2.3",
- build_file = Label("//sys/complex/raze/remote:BUILD.idna-0.2.3.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__jobserver__0_1_23",
- url = "https://crates.io/api/v1/crates/jobserver/0.1.23/download",
- type = "tar.gz",
- sha256 = "f5ca711fd837261e14ec9e674f092cbb931d3fa1482b017ae59328ddc6f3212b",
- strip_prefix = "jobserver-0.1.23",
- build_file = Label("//sys/complex/raze/remote:BUILD.jobserver-0.1.23.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__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("//sys/complex/raze/remote:BUILD.lazy_static-1.4.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__libc__0_2_98",
- url = "https://crates.io/api/v1/crates/libc/0.2.98/download",
- type = "tar.gz",
- sha256 = "320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790",
- strip_prefix = "libc-0.2.98",
- build_file = Label("//sys/complex/raze/remote:BUILD.libc-0.2.98.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__libgit2_sys__0_12_21_1_1_0",
- url = "https://crates.io/api/v1/crates/libgit2-sys/0.12.21+1.1.0/download",
- type = "tar.gz",
- sha256 = "86271bacd72b2b9e854c3dcfb82efd538f15f870e4c11af66900effb462f6825",
- strip_prefix = "libgit2-sys-0.12.21+1.1.0",
- build_file = Label("//sys/complex/raze/remote:BUILD.libgit2-sys-0.12.21+1.1.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__libssh2_sys__0_2_21",
- url = "https://crates.io/api/v1/crates/libssh2-sys/0.2.21/download",
- type = "tar.gz",
- sha256 = "e0186af0d8f171ae6b9c4c90ec51898bad5d08a2d5e470903a50d9ad8959cbee",
- strip_prefix = "libssh2-sys-0.2.21",
- build_file = Label("//sys/complex/raze/remote:BUILD.libssh2-sys-0.2.21.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__libz_sys__1_1_3",
- url = "https://crates.io/api/v1/crates/libz-sys/1.1.3/download",
- type = "tar.gz",
- sha256 = "de5435b8549c16d423ed0c03dbaafe57cf6c3344744f1242520d59c9d8ecec66",
- strip_prefix = "libz-sys-1.1.3",
- build_file = Label("//sys/complex/raze/remote:BUILD.libz-sys-1.1.3.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__log__0_4_14",
- url = "https://crates.io/api/v1/crates/log/0.4.14/download",
- type = "tar.gz",
- sha256 = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710",
- strip_prefix = "log-0.4.14",
- build_file = Label("//sys/complex/raze/remote:BUILD.log-0.4.14.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__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("//sys/complex/raze/remote:BUILD.matches-0.1.8.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__openssl__0_10_32",
- url = "https://crates.io/api/v1/crates/openssl/0.10.32/download",
- type = "tar.gz",
- sha256 = "038d43985d1ddca7a9900630d8cd031b56e4794eecc2e9ea39dd17aa04399a70",
- strip_prefix = "openssl-0.10.32",
- build_file = Label("//sys/complex/raze/remote:BUILD.openssl-0.10.32.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__openssl_probe__0_1_4",
- url = "https://crates.io/api/v1/crates/openssl-probe/0.1.4/download",
- type = "tar.gz",
- sha256 = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a",
- strip_prefix = "openssl-probe-0.1.4",
- build_file = Label("//sys/complex/raze/remote:BUILD.openssl-probe-0.1.4.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__openssl_sys__0_9_60",
- url = "https://crates.io/api/v1/crates/openssl-sys/0.9.60/download",
- type = "tar.gz",
- sha256 = "921fc71883267538946025deffb622905ecad223c28efbfdef9bb59a0175f3e6",
- strip_prefix = "openssl-sys-0.9.60",
- build_file = Label("//sys/complex/raze/remote:BUILD.openssl-sys-0.9.60.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__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("//sys/complex/raze/remote:BUILD.percent-encoding-2.1.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__pkg_config__0_3_19",
- url = "https://crates.io/api/v1/crates/pkg-config/0.3.19/download",
- type = "tar.gz",
- sha256 = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c",
- strip_prefix = "pkg-config-0.3.19",
- build_file = Label("//sys/complex/raze/remote:BUILD.pkg-config-0.3.19.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__tinyvec__1_3_1",
- url = "https://crates.io/api/v1/crates/tinyvec/1.3.1/download",
- type = "tar.gz",
- sha256 = "848a1e1181b9f6753b5e96a092749e29b11d19ede67dfbbd6c7dc7e0f49b5338",
- strip_prefix = "tinyvec-1.3.1",
- build_file = Label("//sys/complex/raze/remote:BUILD.tinyvec-1.3.1.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__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("//sys/complex/raze/remote:BUILD.tinyvec_macros-0.1.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__unicode_bidi__0_3_5",
- url = "https://crates.io/api/v1/crates/unicode-bidi/0.3.5/download",
- type = "tar.gz",
- sha256 = "eeb8be209bb1c96b7c177c7420d26e04eccacb0eeae6b980e35fcb74678107e0",
- strip_prefix = "unicode-bidi-0.3.5",
- build_file = Label("//sys/complex/raze/remote:BUILD.unicode-bidi-0.3.5.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__unicode_normalization__0_1_19",
- url = "https://crates.io/api/v1/crates/unicode-normalization/0.1.19/download",
- type = "tar.gz",
- sha256 = "d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9",
- strip_prefix = "unicode-normalization-0.1.19",
- build_file = Label("//sys/complex/raze/remote:BUILD.unicode-normalization-0.1.19.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__url__2_2_2",
- url = "https://crates.io/api/v1/crates/url/2.2.2/download",
- type = "tar.gz",
- sha256 = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c",
- strip_prefix = "url-2.2.2",
- build_file = Label("//sys/complex/raze/remote:BUILD.url-2.2.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "complex_sys__vcpkg__0_2_15",
- url = "https://crates.io/api/v1/crates/vcpkg/0.2.15/download",
- type = "tar.gz",
- sha256 = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426",
- strip_prefix = "vcpkg-0.2.15",
- build_file = Label("//sys/complex/raze/remote:BUILD.vcpkg-0.2.15.bazel"),
- )
diff --git a/examples/sys/complex/raze/remote/BUILD.autocfg-1.0.1.bazel b/examples/sys/complex/raze/remote/BUILD.autocfg-1.0.1.bazel
deleted file mode 100644
index fc774b481c..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.autocfg-1.0.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 "//sys/complex/raze", 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_features = [
- ],
- 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/examples/sys/complex/raze/remote/BUILD.bazel b/examples/sys/complex/raze/remote/BUILD.bazel
deleted file mode 100644
index b49fb68667..0000000000
--- a/examples/sys/complex/raze/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/examples/sys/complex/raze/remote/BUILD.bitflags-1.2.1.bazel b/examples/sys/complex/raze/remote/BUILD.bitflags-1.2.1.bazel
deleted file mode 100644
index bb32c4c8b9..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.bitflags-1.2.1.bazel
+++ /dev/null
@@ -1,86 +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 "//sys/complex/raze", 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 = "bitflags_build_script",
- srcs = glob(["**/*.rs"]),
- build_script_env = {
- },
- crate_features = [
- "default",
- ],
- crate_root = "build.rs",
- data = glob(["**"]),
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "1.2.1",
- visibility = ["//visibility:private"],
- deps = [
- ],
-)
-
-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 = [
- ":bitflags_build_script",
- ],
-)
diff --git a/examples/sys/complex/raze/remote/BUILD.cc-1.0.69.bazel b/examples/sys/complex/raze/remote/BUILD.cc-1.0.69.bazel
deleted file mode 100644
index 091bfd3a1d..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.cc-1.0.69.bazel
+++ /dev/null
@@ -1,93 +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 "//sys/complex/raze", 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_features = [
- "jobserver",
- "parallel",
- ],
- 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.69",
- # buildifier: leave-alone
- deps = [
- ":cc",
- "@complex_sys__jobserver__0_1_23//:jobserver",
- ],
-)
-
-rust_library(
- name = "cc",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "jobserver",
- "parallel",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=cc",
- "manual",
- ],
- version = "1.0.69",
- # buildifier: leave-alone
- deps = [
- "@complex_sys__jobserver__0_1_23//:jobserver",
- ],
-)
-
-# 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/examples/sys/complex/raze/remote/BUILD.cfg-if-1.0.0.bazel b/examples/sys/complex/raze/remote/BUILD.cfg-if-1.0.0.bazel
deleted file mode 100644
index 20f5613f23..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.cfg-if-1.0.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 "//sys/complex/raze", 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_features = [
- ],
- 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/examples/sys/complex/raze/remote/BUILD.foreign-types-0.3.2.bazel b/examples/sys/complex/raze/remote/BUILD.foreign-types-0.3.2.bazel
deleted file mode 100644
index 10dea67311..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.foreign-types-0.3.2.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 "//sys/complex/raze", 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 = "foreign_types",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=foreign-types",
- "manual",
- ],
- version = "0.3.2",
- # buildifier: leave-alone
- deps = [
- "@complex_sys__foreign_types_shared__0_1_1//:foreign_types_shared",
- ],
-)
diff --git a/examples/sys/complex/raze/remote/BUILD.foreign-types-shared-0.1.1.bazel b/examples/sys/complex/raze/remote/BUILD.foreign-types-shared-0.1.1.bazel
deleted file mode 100644
index 685565d711..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.foreign-types-shared-0.1.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 "//sys/complex/raze", 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 = "foreign_types_shared",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=foreign-types-shared",
- "manual",
- ],
- version = "0.1.1",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/examples/sys/complex/raze/remote/BUILD.form_urlencoded-1.0.1.bazel b/examples/sys/complex/raze/remote/BUILD.form_urlencoded-1.0.1.bazel
deleted file mode 100644
index a5b507fc60..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.form_urlencoded-1.0.1.bazel
+++ /dev/null
@@ -1,56 +0,0 @@
-"""
-@generated
-cargo-raze crate build file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
-# buildifier: disable=load
-load("@bazel_skylib//lib:selects.bzl", "selects")
-
-# buildifier: disable=load
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
- "rust_proc_macro",
- "rust_test",
-)
-
-package(default_visibility = [
- # Public for visibility by "@raze__crate__version//" targets.
- #
- # Prefer access through "//sys/complex/raze", 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_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=form_urlencoded",
- "manual",
- ],
- version = "1.0.1",
- # buildifier: leave-alone
- deps = [
- "@complex_sys__matches__0_1_8//:matches",
- "@complex_sys__percent_encoding__2_1_0//:percent_encoding",
- ],
-)
diff --git a/examples/sys/complex/raze/remote/BUILD.git2-0.13.12.bazel b/examples/sys/complex/raze/remote/BUILD.git2-0.13.12.bazel
deleted file mode 100644
index 9604d2fe31..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.git2-0.13.12.bazel
+++ /dev/null
@@ -1,116 +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 "//sys/complex/raze", 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 "add" with type "example" omitted
-
-# Unsupported target "blame" with type "example" omitted
-
-# Unsupported target "cat-file" with type "example" omitted
-
-# Unsupported target "clone" with type "example" omitted
-
-# Unsupported target "diff" with type "example" omitted
-
-# Unsupported target "fetch" with type "example" omitted
-
-# Unsupported target "init" with type "example" omitted
-
-# Unsupported target "log" with type "example" omitted
-
-# Unsupported target "ls-remote" with type "example" omitted
-
-# Unsupported target "pull" with type "example" omitted
-
-# Unsupported target "rev-list" with type "example" omitted
-
-# Unsupported target "rev-parse" with type "example" omitted
-
-# Unsupported target "status" with type "example" omitted
-
-# Unsupported target "tag" with type "example" omitted
-
-rust_library(
- name = "git2",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- "default",
- "https",
- "openssl-probe",
- "openssl-sys",
- "ssh",
- "ssh_key_from_memory",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=git2",
- "manual",
- ],
- version = "0.13.12",
- # buildifier: leave-alone
- deps = [
- "@complex_sys__bitflags__1_2_1//:bitflags",
- "@complex_sys__libc__0_2_98//:libc",
- "@complex_sys__libgit2_sys__0_12_21_1_1_0//:libgit2_sys",
- "@complex_sys__log__0_4_14//:log",
- "@complex_sys__url__2_2_2//:url",
- ] + selects.with_or({
- # cfg(all(unix, not(target_os = "macos")))
- (
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- ): [
- "@complex_sys__openssl_probe__0_1_4//:openssl_probe",
- "@complex_sys__openssl_sys__0_9_60//:openssl_sys",
- ],
- "//conditions:default": [],
- }),
-)
diff --git a/examples/sys/complex/raze/remote/BUILD.idna-0.2.3.bazel b/examples/sys/complex/raze/remote/BUILD.idna-0.2.3.bazel
deleted file mode 100644
index ba6b1758c5..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.idna-0.2.3.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 "//sys/complex/raze", 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 "all" with type "bench" omitted
-
-rust_library(
- name = "idna",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=idna",
- "manual",
- ],
- version = "0.2.3",
- # buildifier: leave-alone
- deps = [
- "@complex_sys__matches__0_1_8//:matches",
- "@complex_sys__unicode_bidi__0_3_5//:unicode_bidi",
- "@complex_sys__unicode_normalization__0_1_19//:unicode_normalization",
- ],
-)
-
-# Unsupported target "tests" with type "test" omitted
-
-# Unsupported target "unit" with type "test" omitted
diff --git a/examples/sys/complex/raze/remote/BUILD.jobserver-0.1.23.bazel b/examples/sys/complex/raze/remote/BUILD.jobserver-0.1.23.bazel
deleted file mode 100644
index 1da200a507..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.jobserver-0.1.23.bazel
+++ /dev/null
@@ -1,89 +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 "//sys/complex/raze", 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 = "jobserver",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=jobserver",
- "manual",
- ],
- version = "0.1.23",
- # buildifier: leave-alone
- deps = [
- ] + selects.with_or({
- # cfg(unix)
- (
- "@rules_rust//rust/platform:i686-apple-darwin",
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-darwin",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- "@rules_rust//rust/platform:aarch64-apple-darwin",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- ): [
- "@complex_sys__libc__0_2_98//:libc",
- ],
- "//conditions:default": [],
- }),
-)
-
-# Unsupported target "client" with type "test" omitted
-
-# Unsupported target "client-of-myself" with type "test" omitted
-
-# Unsupported target "helper" with type "test" omitted
-
-# Unsupported target "make-as-a-client" with type "test" omitted
-
-# Unsupported target "server" with type "test" omitted
diff --git a/examples/sys/complex/raze/remote/BUILD.lazy_static-1.4.0.bazel b/examples/sys/complex/raze/remote/BUILD.lazy_static-1.4.0.bazel
deleted file mode 100644
index d96a80db59..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.lazy_static-1.4.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 "//sys/complex/raze", 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_features = [
- ],
- 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/examples/sys/complex/raze/remote/BUILD.libc-0.2.98.bazel b/examples/sys/complex/raze/remote/BUILD.libc-0.2.98.bazel
deleted file mode 100644
index 081dc6c05c..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.libc-0.2.98.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 "//sys/complex/raze", 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.98",
- 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.98",
- # buildifier: leave-alone
- deps = [
- ":libc_build_script",
- ],
-)
-
-# Unsupported target "const_fn" with type "test" omitted
diff --git a/examples/sys/complex/raze/remote/BUILD.libgit2-sys-0.12.21+1.1.0.bazel b/examples/sys/complex/raze/remote/BUILD.libgit2-sys-0.12.21+1.1.0.bazel
deleted file mode 100644
index fc6dc61a76..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.libgit2-sys-0.12.21+1.1.0.bazel
+++ /dev/null
@@ -1,150 +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 "//sys/complex/raze", 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 = "libgit2_sys_build_script",
- srcs = glob(["**/*.rs"]),
- build_script_env = {
- },
- crate_features = [
- "https",
- "libssh2-sys",
- "openssl-sys",
- "ssh",
- "ssh_key_from_memory",
- ],
- crate_root = "build.rs",
- data = glob(["**"]),
- edition = "2018",
- links = "git2",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.12.21+1.1.0",
- visibility = ["//visibility:private"],
- deps = [
- "@complex_sys__cc__1_0_69//:cc",
- "@complex_sys__libssh2_sys__0_2_21//:libssh2_sys",
- "@complex_sys__libz_sys__1_1_3//:libz_sys",
- "@complex_sys__pkg_config__0_3_19//:pkg_config",
- ] + selects.with_or({
- # cfg(unix)
- (
- "@rules_rust//rust/platform:i686-apple-darwin",
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-darwin",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- "@rules_rust//rust/platform:aarch64-apple-darwin",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- ): [
- "@complex_sys__openssl_sys__0_9_60//:openssl_sys",
- ],
- "//conditions:default": [],
- }),
-)
-
-rust_library(
- name = "libgit2_sys",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- "https",
- "libssh2-sys",
- "openssl-sys",
- "ssh",
- "ssh_key_from_memory",
- ],
- crate_root = "lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=libgit2_sys",
- "manual",
- ],
- version = "0.12.21+1.1.0",
- # buildifier: leave-alone
- deps = [
- ":libgit2_sys_build_script",
- "@complex_sys__libc__0_2_98//:libc",
- "@complex_sys__libssh2_sys__0_2_21//:libssh2_sys",
- "@complex_sys__libz_sys__1_1_3//:libz_sys",
- ] + selects.with_or({
- # cfg(unix)
- (
- "@rules_rust//rust/platform:i686-apple-darwin",
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-darwin",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- "@rules_rust//rust/platform:aarch64-apple-darwin",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- ): [
- "@complex_sys__openssl_sys__0_9_60//:openssl_sys",
- ],
- "//conditions:default": [],
- }),
-)
diff --git a/examples/sys/complex/raze/remote/BUILD.libssh2-sys-0.2.21.bazel b/examples/sys/complex/raze/remote/BUILD.libssh2-sys-0.2.21.bazel
deleted file mode 100644
index b02323794a..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.libssh2-sys-0.2.21.bazel
+++ /dev/null
@@ -1,157 +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 "//sys/complex/raze", 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 = "libssh2_sys_build_script",
- srcs = glob(["**/*.rs"]),
- build_script_env = {
- },
- crate_features = [
- ],
- crate_root = "build.rs",
- data = glob(["**"]) + [
- "@openssl",
- ],
- edition = "2015",
- links = "ssh2",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.2.21",
- visibility = ["//visibility:private"],
- deps = [
- "@complex_sys__cc__1_0_69//:cc",
- "@complex_sys__libz_sys__1_1_3//:libz_sys",
- "@complex_sys__pkg_config__0_3_19//:pkg_config",
- ] + selects.with_or({
- # cfg(target_env = "msvc")
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- "@complex_sys__vcpkg__0_2_15//:vcpkg",
- ],
- "//conditions:default": [],
- }) + selects.with_or({
- # cfg(unix)
- (
- "@rules_rust//rust/platform:i686-apple-darwin",
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-darwin",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- "@rules_rust//rust/platform:aarch64-apple-darwin",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- ): [
- "@complex_sys__openssl_sys__0_9_60//:openssl_sys",
- ],
- "//conditions:default": [],
- }),
-)
-
-rust_library(
- name = "libssh2_sys",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- ],
- crate_root = "lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=libssh2_sys",
- "manual",
- ],
- version = "0.2.21",
- # buildifier: leave-alone
- deps = [
- ":libssh2_sys_build_script",
- "@complex_sys__libc__0_2_98//:libc",
- "@complex_sys__libz_sys__1_1_3//:libz_sys",
- ] + selects.with_or({
- # cfg(target_env = "msvc")
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- ],
- "//conditions:default": [],
- }) + selects.with_or({
- # cfg(unix)
- (
- "@rules_rust//rust/platform:i686-apple-darwin",
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-darwin",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- "@rules_rust//rust/platform:aarch64-apple-darwin",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- ): [
- "@complex_sys__openssl_sys__0_9_60//:openssl_sys",
- ],
- "//conditions:default": [],
- }),
-)
diff --git a/examples/sys/complex/raze/remote/BUILD.libz-sys-1.1.3.bazel b/examples/sys/complex/raze/remote/BUILD.libz-sys-1.1.3.bazel
deleted file mode 100644
index 4131c76c8b..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.libz-sys-1.1.3.bazel
+++ /dev/null
@@ -1,109 +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 "//sys/complex/raze", 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 = "libz_sys_build_script",
- srcs = glob(["**/*.rs"]),
- build_script_env = {
- },
- crate_features = [
- "libc",
- ],
- crate_root = "build.rs",
- data = glob(["**"]),
- edition = "2015",
- links = "z",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "1.1.3",
- visibility = ["//visibility:private"],
- deps = [
- "@complex_sys__cc__1_0_69//:cc",
- "@complex_sys__pkg_config__0_3_19//:pkg_config",
- ] + selects.with_or({
- # cfg(target_env = "msvc")
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- "@complex_sys__vcpkg__0_2_15//:vcpkg",
- ],
- "//conditions:default": [],
- }),
-)
-
-rust_library(
- name = "libz_sys",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- "libc",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=libz-sys",
- "manual",
- ],
- version = "1.1.3",
- # buildifier: leave-alone
- deps = [
- ":libz_sys_build_script",
- "@complex_sys__libc__0_2_98//:libc",
- ] + selects.with_or({
- # cfg(target_env = "msvc")
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- ],
- "//conditions:default": [],
- }),
-)
diff --git a/examples/sys/complex/raze/remote/BUILD.log-0.4.14.bazel b/examples/sys/complex/raze/remote/BUILD.log-0.4.14.bazel
deleted file mode 100644
index cfb77789cb..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.log-0.4.14.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 "//sys/complex/raze", 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 = [
- ],
- crate_root = "build.rs",
- data = glob(["**"]),
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.4.14",
- visibility = ["//visibility:private"],
- deps = [
- ],
-)
-
-# Unsupported target "value" with type "bench" omitted
-
-rust_library(
- name = "log",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=log",
- "manual",
- ],
- version = "0.4.14",
- # buildifier: leave-alone
- deps = [
- ":log_build_script",
- "@complex_sys__cfg_if__1_0_0//:cfg_if",
- ],
-)
-
-# Unsupported target "filters" with type "test" omitted
-
-# Unsupported target "macros" with type "test" omitted
diff --git a/examples/sys/complex/raze/remote/BUILD.matches-0.1.8.bazel b/examples/sys/complex/raze/remote/BUILD.matches-0.1.8.bazel
deleted file mode 100644
index 37a06c4a76..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.matches-0.1.8.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 "//sys/complex/raze", 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_features = [
- ],
- 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/examples/sys/complex/raze/remote/BUILD.openssl-0.10.32.bazel b/examples/sys/complex/raze/remote/BUILD.openssl-0.10.32.bazel
deleted file mode 100644
index c4c5bc8c26..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.openssl-0.10.32.bazel
+++ /dev/null
@@ -1,93 +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 "//sys/complex/raze", 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 = "openssl_build_script",
- srcs = glob(["**/*.rs"]),
- build_script_env = {
- },
- crate_features = [
- ],
- crate_root = "build.rs",
- data = glob(["**"]),
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.10.32",
- visibility = ["//visibility:private"],
- deps = [
- "@complex_sys__openssl_sys__0_9_60//:openssl_sys",
- ],
-)
-
-# Unsupported target "mk_certs" with type "example" omitted
-
-rust_library(
- name = "openssl",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=openssl",
- "manual",
- ],
- version = "0.10.32",
- # buildifier: leave-alone
- deps = [
- ":openssl_build_script",
- "@complex_sys__bitflags__1_2_1//:bitflags",
- "@complex_sys__cfg_if__1_0_0//:cfg_if",
- "@complex_sys__foreign_types__0_3_2//:foreign_types",
- "@complex_sys__lazy_static__1_4_0//:lazy_static",
- "@complex_sys__libc__0_2_98//:libc",
- "@complex_sys__openssl_sys__0_9_60//:openssl_sys",
- ],
-)
diff --git a/examples/sys/complex/raze/remote/BUILD.openssl-probe-0.1.4.bazel b/examples/sys/complex/raze/remote/BUILD.openssl-probe-0.1.4.bazel
deleted file mode 100644
index 703b662ec1..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.openssl-probe-0.1.4.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 "//sys/complex/raze", 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 = "openssl_probe",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=openssl-probe",
- "manual",
- ],
- version = "0.1.4",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/examples/sys/complex/raze/remote/BUILD.openssl-sys-0.9.60.bazel b/examples/sys/complex/raze/remote/BUILD.openssl-sys-0.9.60.bazel
deleted file mode 100644
index c662fd404c..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.openssl-sys-0.9.60.bazel
+++ /dev/null
@@ -1,114 +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 "//sys/complex/raze", 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 = "openssl_sys_build_script",
- srcs = glob(["**/*.rs"]),
- build_script_env = {
- "OPENSSL_DIR": "$(execpath @openssl//:gen_dir)",
- "OPENSSL_STATIC": "1",
- },
- crate_features = [
- ],
- crate_root = "build/main.rs",
- data = glob(["**"]) + [
- "@openssl//:gen_dir",
- "@openssl//:openssl",
- ],
- edition = "2015",
- links = "openssl",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "manual",
- ],
- version = "0.9.60",
- visibility = ["//visibility:private"],
- deps = [
- "@complex_sys__autocfg__1_0_1//:autocfg",
- "@complex_sys__cc__1_0_69//:cc",
- "@complex_sys__pkg_config__0_3_19//:pkg_config",
- ] + selects.with_or({
- # cfg(target_env = "msvc")
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- "@complex_sys__vcpkg__0_2_15//:vcpkg",
- ],
- "//conditions:default": [],
- }),
-)
-
-rust_library(
- name = "openssl_sys",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [] + ["@openssl//:openssl"],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=openssl-sys",
- "manual",
- ],
- version = "0.9.60",
- # buildifier: leave-alone
- deps = [
- ":openssl_sys_build_script",
- "@complex_sys__libc__0_2_98//:libc",
- "@openssl//:openssl",
- ] + selects.with_or({
- # cfg(target_env = "msvc")
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- ],
- "//conditions:default": [],
- }),
-)
diff --git a/examples/sys/complex/raze/remote/BUILD.percent-encoding-2.1.0.bazel b/examples/sys/complex/raze/remote/BUILD.percent-encoding-2.1.0.bazel
deleted file mode 100644
index a4b8ac85aa..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.percent-encoding-2.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 "//sys/complex/raze", 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_features = [
- ],
- 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/examples/sys/complex/raze/remote/BUILD.pkg-config-0.3.19.bazel b/examples/sys/complex/raze/remote/BUILD.pkg-config-0.3.19.bazel
deleted file mode 100644
index e24bb27a70..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.pkg-config-0.3.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 "//sys/complex/raze", 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 = "pkg_config",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=pkg-config",
- "manual",
- ],
- version = "0.3.19",
- # buildifier: leave-alone
- deps = [
- ],
-)
-
-# Unsupported target "test" with type "test" omitted
diff --git a/examples/sys/complex/raze/remote/BUILD.tinyvec-1.3.1.bazel b/examples/sys/complex/raze/remote/BUILD.tinyvec-1.3.1.bazel
deleted file mode 100644
index a42e7885a8..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.tinyvec-1.3.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 "//sys/complex/raze", 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.3.1",
- # buildifier: leave-alone
- deps = [
- "@complex_sys__tinyvec_macros__0_1_0//:tinyvec_macros",
- ],
-)
-
-# Unsupported target "arrayvec" with type "test" omitted
-
-# Unsupported target "tinyvec" with type "test" omitted
diff --git a/examples/sys/complex/raze/remote/BUILD.tinyvec_macros-0.1.0.bazel b/examples/sys/complex/raze/remote/BUILD.tinyvec_macros-0.1.0.bazel
deleted file mode 100644
index bc8bc345ce..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.tinyvec_macros-0.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 "//sys/complex/raze", 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_features = [
- ],
- 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/examples/sys/complex/raze/remote/BUILD.unicode-bidi-0.3.5.bazel b/examples/sys/complex/raze/remote/BUILD.unicode-bidi-0.3.5.bazel
deleted file mode 100644
index a743636b4e..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.unicode-bidi-0.3.5.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 "//sys/complex/raze", 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 = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=unicode_bidi",
- "manual",
- ],
- version = "0.3.5",
- # buildifier: leave-alone
- deps = [
- "@complex_sys__matches__0_1_8//:matches",
- ],
-)
diff --git a/examples/sys/complex/raze/remote/BUILD.unicode-normalization-0.1.19.bazel b/examples/sys/complex/raze/remote/BUILD.unicode-normalization-0.1.19.bazel
deleted file mode 100644
index 47e7196fc1..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.unicode-normalization-0.1.19.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 "//sys/complex/raze", 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.19",
- # buildifier: leave-alone
- deps = [
- "@complex_sys__tinyvec__1_3_1//:tinyvec",
- ],
-)
diff --git a/examples/sys/complex/raze/remote/BUILD.url-2.2.2.bazel b/examples/sys/complex/raze/remote/BUILD.url-2.2.2.bazel
deleted file mode 100644
index dfbf22f9d4..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.url-2.2.2.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 "//sys/complex/raze", 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_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=url",
- "manual",
- ],
- version = "2.2.2",
- # buildifier: leave-alone
- deps = [
- "@complex_sys__form_urlencoded__1_0_1//:form_urlencoded",
- "@complex_sys__idna__0_2_3//:idna",
- "@complex_sys__matches__0_1_8//:matches",
- "@complex_sys__percent_encoding__2_1_0//:percent_encoding",
- ],
-)
-
-# Unsupported target "data" with type "test" omitted
-
-# Unsupported target "unit" with type "test" omitted
diff --git a/examples/sys/complex/raze/remote/BUILD.vcpkg-0.2.15.bazel b/examples/sys/complex/raze/remote/BUILD.vcpkg-0.2.15.bazel
deleted file mode 100644
index b9afc3f1ec..0000000000
--- a/examples/sys/complex/raze/remote/BUILD.vcpkg-0.2.15.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 "//sys/complex/raze", 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 = "vcpkg",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=vcpkg",
- "manual",
- ],
- version = "0.2.15",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/examples/sys/complex/repositories.bzl b/examples/sys/complex/repositories.bzl
deleted file mode 100644
index 1284191647..0000000000
--- a/examples/sys/complex/repositories.bzl
+++ /dev/null
@@ -1,10 +0,0 @@
-# buildifier: disable=module-docstring
-load("//sys/complex/raze:crates.bzl", "complex_sys_fetch_remote_crates")
-load("//third_party/openssl:openssl_repositories.bzl", "openssl_repositories")
-
-def complex_sys_repositories():
- """Define repository dependencies for the `complex_sys` example"""
-
- complex_sys_fetch_remote_crates()
-
- openssl_repositories()
diff --git a/examples/sys/sys_deps.bzl b/examples/sys/sys_deps.bzl
index 31716e406d..1825ad134e 100644
--- a/examples/sys/sys_deps.bzl
+++ b/examples/sys/sys_deps.bzl
@@ -1,14 +1,20 @@
-# buildifier: disable=module-docstring
-load("//sys/basic/raze:crates.bzl", "basic_sys_fetch_remote_crates")
-load("//sys/complex:repositories.bzl", "complex_sys_repositories")
+"""Dependencies for the `@rules_rust_examples//sys` package"""
+
+load("//sys/basic/3rdparty/crates:defs.bzl", basic_crate_repositories = "crate_repositories")
+load("//sys/complex/3rdparty/crates:defs.bzl", complex_crate_repositories = "crate_repositories")
+load("//third_party/openssl:openssl_repositories.bzl", "openssl_repositories")
def sys_deps():
"""This macro loads dependencies for the `sys` crate examples
Commonly `*-sys` crates are built on top of some existing library and
will have a number of dependencies. The examples here use
- [cargo-raze](https://github.com/google/cargo-raze) to gather these
- dependencies and make them avaialble in the workspace.
+ [crate_universe](https://bazelbuild.github.io/rules_rust/crate_universe.html)
+ to gather these dependencies and make them avaialble in the workspace.
"""
- basic_sys_fetch_remote_crates()
- complex_sys_repositories()
+
+ # Required by `//sys/complex`
+ openssl_repositories()
+
+ basic_crate_repositories()
+ complex_crate_repositories()
diff --git a/proto/3rdparty/BUILD.bazel b/proto/3rdparty/BUILD.bazel
new file mode 100644
index 0000000000..cb1e2a7a18
--- /dev/null
+++ b/proto/3rdparty/BUILD.bazel
@@ -0,0 +1,67 @@
+load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
+load("//crate_universe:defs.bzl", "crate", "crates_vendor")
+
+crates_vendor(
+ name = "crates_vendor",
+ annotations = {
+ "lazy_static": [crate.annotation(
+ rustc_flags = [
+ "--cfg=lazy_static_heap_impl",
+ ],
+ )],
+ "protobuf": [crate.annotation(
+ patch_args = ["-p1"],
+ patches = ["@rules_rust//proto/3rdparty/patches:protobuf-2.8.2.patch"],
+ )],
+ },
+ cargo_lockfile = "Cargo.Bazel.lock",
+ mode = "remote",
+ packages = {
+ "grpc": crate.spec(
+ version = "0.6.2",
+ ),
+ "grpc-compiler": crate.spec(
+ version = "0.6.2",
+ ),
+ "log": crate.spec(
+ version = "0.4, 0.4.7",
+ ),
+ "protobuf": crate.spec(
+ features = ["with-bytes"],
+ version = "2.8.2",
+ ),
+ "protobuf-codegen": crate.spec(
+ version = "2.8.2",
+ ),
+ "tls-api": crate.spec(
+ version = "0.1.22",
+ ),
+ "tls-api-stub": crate.spec(
+ version = "0.1.22",
+ ),
+ },
+ repository_name = "rules_rust_proto",
+ tags = ["manual"],
+)
+
+alias(
+ name = "wasm_bindgen_cli",
+ actual = "@rules_rust_wasm_bindgen_cli",
+ tags = ["manual"],
+ visibility = ["//visibility:public"],
+)
+
+alias(
+ name = "wasm_bindgen",
+ actual = "//wasm_bindgen/3rdparty/crates:wasm-bindgen",
+ visibility = ["//visibility:public"],
+)
+
+bzl_library(
+ name = "bzl_lib",
+ srcs = glob(["**/*.bzl"]) + [
+ "//proto/3rdparty/crates:defs.bzl",
+ "//proto/3rdparty/crates:crates.bzl",
+ ],
+ visibility = ["//proto:__pkg__"],
+)
diff --git a/proto/3rdparty/Cargo.Bazel.lock b/proto/3rdparty/Cargo.Bazel.lock
new file mode 100644
index 0000000000..e2eaa42b2b
--- /dev/null
+++ b/proto/3rdparty/Cargo.Bazel.lock
@@ -0,0 +1,792 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 3
+
+[[package]]
+name = "autocfg"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
+
+[[package]]
+name = "base64"
+version = "0.9.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "489d6c0ed21b11d038c31b6ceccca973e65d73ba3bd8ecb9a2babf5546164643"
+dependencies = [
+ "byteorder",
+ "safemem",
+]
+
+[[package]]
+name = "bitflags"
+version = "1.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
+
+[[package]]
+name = "byteorder"
+version = "1.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
+
+[[package]]
+name = "bytes"
+version = "0.4.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c"
+dependencies = [
+ "byteorder",
+ "iovec",
+]
+
+[[package]]
+name = "cfg-if"
+version = "0.1.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
+
+[[package]]
+name = "cfg-if"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+
+[[package]]
+name = "cloudabi"
+version = "0.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
+dependencies = [
+ "bitflags",
+]
+
+[[package]]
+name = "crossbeam-deque"
+version = "0.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c20ff29ded3204c5106278a81a38f4b482636ed4fa1e6cfbeef193291beb29ed"
+dependencies = [
+ "crossbeam-epoch",
+ "crossbeam-utils",
+ "maybe-uninit",
+]
+
+[[package]]
+name = "crossbeam-epoch"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace"
+dependencies = [
+ "autocfg",
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
+ "crossbeam-utils",
+ "lazy_static",
+ "maybe-uninit",
+ "memoffset",
+ "scopeguard",
+]
+
+[[package]]
+name = "crossbeam-queue"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570"
+dependencies = [
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
+ "crossbeam-utils",
+ "maybe-uninit",
+]
+
+[[package]]
+name = "crossbeam-utils"
+version = "0.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8"
+dependencies = [
+ "autocfg",
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static",
+]
+
+[[package]]
+name = "direct-cargo-bazel-deps"
+version = "0.0.1"
+dependencies = [
+ "grpc",
+ "grpc-compiler",
+ "log 0.4.17 (registry+https://github.com/rust-lang/crates.io-index)",
+ "protobuf",
+ "protobuf-codegen",
+ "tls-api",
+ "tls-api-stub",
+]
+
+[[package]]
+name = "fnv"
+version = "1.0.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
+
+[[package]]
+name = "fuchsia-zircon"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82"
+dependencies = [
+ "bitflags",
+ "fuchsia-zircon-sys",
+]
+
+[[package]]
+name = "fuchsia-zircon-sys"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
+
+[[package]]
+name = "futures"
+version = "0.1.31"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678"
+
+[[package]]
+name = "futures-cpupool"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4"
+dependencies = [
+ "futures",
+ "num_cpus",
+]
+
+[[package]]
+name = "grpc"
+version = "0.6.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2aaf1d741fe6f3413f1f9f71b99f5e4e26776d563475a8a53ce53a73a8534c1d"
+dependencies = [
+ "base64",
+ "bytes",
+ "futures",
+ "futures-cpupool",
+ "httpbis",
+ "log 0.4.17 (registry+https://github.com/rust-lang/crates.io-index)",
+ "protobuf",
+ "tls-api",
+ "tls-api-stub",
+ "tokio-core",
+ "tokio-io",
+ "tokio-tls-api",
+]
+
+[[package]]
+name = "grpc-compiler"
+version = "0.6.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "907274ce8ee7b40a0d0b0db09022ea22846a47cfb1fc8ad2c983c70001b4ffb1"
+dependencies = [
+ "protobuf",
+ "protobuf-codegen",
+]
+
+[[package]]
+name = "hermit-abi"
+version = "0.1.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "httpbis"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7689cfa896b2a71da4f16206af167542b75d242b6906313e53857972a92d5614"
+dependencies = [
+ "bytes",
+ "futures",
+ "futures-cpupool",
+ "log 0.4.17 (registry+https://github.com/rust-lang/crates.io-index)",
+ "net2",
+ "tls-api",
+ "tls-api-stub",
+ "tokio-core",
+ "tokio-io",
+ "tokio-timer 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "tokio-tls-api",
+ "tokio-uds 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unix_socket",
+ "void",
+]
+
+[[package]]
+name = "iovec"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "kernel32-sys"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d"
+dependencies = [
+ "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi-build",
+]
+
+[[package]]
+name = "lazy_static"
+version = "1.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+
+[[package]]
+name = "libc"
+version = "0.2.126"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
+
+[[package]]
+name = "lock_api"
+version = "0.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75"
+dependencies = [
+ "scopeguard",
+]
+
+[[package]]
+name = "log"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b"
+dependencies = [
+ "log 0.4.17 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "log"
+version = "0.4.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
+dependencies = [
+ "cfg-if 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "maybe-uninit"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00"
+
+[[package]]
+name = "memoffset"
+version = "0.5.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "043175f069eda7b85febe4a74abbaeff828d9f8b448515d3151a14a3542811aa"
+dependencies = [
+ "autocfg",
+]
+
+[[package]]
+name = "mio"
+version = "0.6.23"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4afd66f5b91bf2a3bc13fad0e21caedac168ca4c707504e75585648ae80e4cc4"
+dependencies = [
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
+ "fuchsia-zircon",
+ "fuchsia-zircon-sys",
+ "iovec",
+ "kernel32-sys",
+ "libc",
+ "log 0.4.17 (registry+https://github.com/rust-lang/crates.io-index)",
+ "miow",
+ "net2",
+ "slab 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "mio-uds"
+version = "0.6.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "afcb699eb26d4332647cc848492bbc15eafb26f08d0304550d5aa1f612e066f0"
+dependencies = [
+ "iovec",
+ "libc",
+ "mio",
+]
+
+[[package]]
+name = "miow"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ebd808424166322d4a38da87083bfddd3ac4c131334ed55856112eb06d46944d"
+dependencies = [
+ "kernel32-sys",
+ "net2",
+ "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "ws2_32-sys",
+]
+
+[[package]]
+name = "net2"
+version = "0.2.37"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "391630d12b68002ae1e25e8f974306474966550ad82dac6886fb8910c19568ae"
+dependencies = [
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
+ "winapi 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "num_cpus"
+version = "1.13.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1"
+dependencies = [
+ "hermit-abi",
+ "libc",
+]
+
+[[package]]
+name = "parking_lot"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252"
+dependencies = [
+ "lock_api",
+ "parking_lot_core",
+ "rustc_version",
+]
+
+[[package]]
+name = "parking_lot_core"
+version = "0.6.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b"
+dependencies = [
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cloudabi",
+ "libc",
+ "redox_syscall",
+ "rustc_version",
+ "smallvec",
+ "winapi 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "protobuf"
+version = "2.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "70731852eec72c56d11226c8a5f96ad5058a3dab73647ca5f7ee351e464f2571"
+dependencies = [
+ "bytes",
+]
+
+[[package]]
+name = "protobuf-codegen"
+version = "2.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3d74b9cbbf2ac9a7169c85a3714ec16c51ee9ec7cfd511549527e9a7df720795"
+dependencies = [
+ "protobuf",
+]
+
+[[package]]
+name = "redox_syscall"
+version = "0.1.57"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce"
+
+[[package]]
+name = "rustc_version"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
+dependencies = [
+ "semver",
+]
+
+[[package]]
+name = "safemem"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072"
+
+[[package]]
+name = "scoped-tls"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "332ffa32bf586782a3efaeb58f127980944bbc8c4d6913a86107ac2a5ab24b28"
+
+[[package]]
+name = "scopeguard"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
+
+[[package]]
+name = "semver"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
+dependencies = [
+ "semver-parser",
+]
+
+[[package]]
+name = "semver-parser"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
+
+[[package]]
+name = "slab"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "17b4fcaed89ab08ef143da37bc52adbcc04d4a69014f4c1208d6b51f0c47bc23"
+
+[[package]]
+name = "slab"
+version = "0.4.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4614a76b2a8be0058caa9dbbaf66d988527d86d003c11a94fbd335d7661edcef"
+dependencies = [
+ "autocfg",
+]
+
+[[package]]
+name = "smallvec"
+version = "0.6.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b97fcaeba89edba30f044a10c6a3cc39df9c3f17d7cd829dd1446cab35f890e0"
+dependencies = [
+ "maybe-uninit",
+]
+
+[[package]]
+name = "tls-api"
+version = "0.1.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "049c03787a0595182357fbd487577947f4351b78ce20c3668f6d49f17feb13d1"
+dependencies = [
+ "log 0.4.17 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "tls-api-stub"
+version = "0.1.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c9a0cc8c149724db9de7d73a0e1bc80b1a74f5394f08c6f301e11f9c35fa061e"
+dependencies = [
+ "tls-api",
+ "void",
+]
+
+[[package]]
+name = "tokio"
+version = "0.1.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6"
+dependencies = [
+ "bytes",
+ "futures",
+ "mio",
+ "num_cpus",
+ "tokio-codec",
+ "tokio-current-thread",
+ "tokio-executor",
+ "tokio-fs",
+ "tokio-io",
+ "tokio-reactor",
+ "tokio-sync",
+ "tokio-tcp",
+ "tokio-threadpool",
+ "tokio-timer 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)",
+ "tokio-udp",
+ "tokio-uds 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "tokio-codec"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "25b2998660ba0e70d18684de5d06b70b70a3a747469af9dea7618cc59e75976b"
+dependencies = [
+ "bytes",
+ "futures",
+ "tokio-io",
+]
+
+[[package]]
+name = "tokio-core"
+version = "0.1.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "87b1395334443abca552f63d4f61d0486f12377c2ba8b368e523f89e828cffd4"
+dependencies = [
+ "bytes",
+ "futures",
+ "iovec",
+ "log 0.4.17 (registry+https://github.com/rust-lang/crates.io-index)",
+ "mio",
+ "scoped-tls",
+ "tokio",
+ "tokio-executor",
+ "tokio-io",
+ "tokio-reactor",
+ "tokio-timer 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "tokio-current-thread"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e"
+dependencies = [
+ "futures",
+ "tokio-executor",
+]
+
+[[package]]
+name = "tokio-executor"
+version = "0.1.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671"
+dependencies = [
+ "crossbeam-utils",
+ "futures",
+]
+
+[[package]]
+name = "tokio-fs"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "297a1206e0ca6302a0eed35b700d292b275256f596e2f3fea7729d5e629b6ff4"
+dependencies = [
+ "futures",
+ "tokio-io",
+ "tokio-threadpool",
+]
+
+[[package]]
+name = "tokio-io"
+version = "0.1.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674"
+dependencies = [
+ "bytes",
+ "futures",
+ "log 0.4.17 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "tokio-reactor"
+version = "0.1.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351"
+dependencies = [
+ "crossbeam-utils",
+ "futures",
+ "lazy_static",
+ "log 0.4.17 (registry+https://github.com/rust-lang/crates.io-index)",
+ "mio",
+ "num_cpus",
+ "parking_lot",
+ "slab 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)",
+ "tokio-executor",
+ "tokio-io",
+ "tokio-sync",
+]
+
+[[package]]
+name = "tokio-sync"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee"
+dependencies = [
+ "fnv",
+ "futures",
+]
+
+[[package]]
+name = "tokio-tcp"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72"
+dependencies = [
+ "bytes",
+ "futures",
+ "iovec",
+ "mio",
+ "tokio-io",
+ "tokio-reactor",
+]
+
+[[package]]
+name = "tokio-threadpool"
+version = "0.1.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89"
+dependencies = [
+ "crossbeam-deque",
+ "crossbeam-queue",
+ "crossbeam-utils",
+ "futures",
+ "lazy_static",
+ "log 0.4.17 (registry+https://github.com/rust-lang/crates.io-index)",
+ "num_cpus",
+ "slab 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)",
+ "tokio-executor",
+]
+
+[[package]]
+name = "tokio-timer"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6131e780037787ff1b3f8aad9da83bca02438b72277850dd6ad0d455e0e20efc"
+dependencies = [
+ "futures",
+ "slab 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "tokio-timer"
+version = "0.2.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296"
+dependencies = [
+ "crossbeam-utils",
+ "futures",
+ "slab 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)",
+ "tokio-executor",
+]
+
+[[package]]
+name = "tokio-tls-api"
+version = "0.1.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "68d0e040d5b1f4cfca70ec4f371229886a5de5bb554d272a4a8da73004a7b2c9"
+dependencies = [
+ "futures",
+ "tls-api",
+ "tokio-io",
+]
+
+[[package]]
+name = "tokio-udp"
+version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2a0b10e610b39c38b031a2fcab08e4b82f16ece36504988dcbd81dbba650d82"
+dependencies = [
+ "bytes",
+ "futures",
+ "log 0.4.17 (registry+https://github.com/rust-lang/crates.io-index)",
+ "mio",
+ "tokio-codec",
+ "tokio-io",
+ "tokio-reactor",
+]
+
+[[package]]
+name = "tokio-uds"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "65ae5d255ce739e8537221ed2942e0445f4b3b813daebac1c0050ddaaa3587f9"
+dependencies = [
+ "bytes",
+ "futures",
+ "iovec",
+ "libc",
+ "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
+ "mio",
+ "mio-uds",
+ "tokio-core",
+ "tokio-io",
+]
+
+[[package]]
+name = "tokio-uds"
+version = "0.2.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ab57a4ac4111c8c9dbcf70779f6fc8bc35ae4b2454809febac840ad19bd7e4e0"
+dependencies = [
+ "bytes",
+ "futures",
+ "iovec",
+ "libc",
+ "log 0.4.17 (registry+https://github.com/rust-lang/crates.io-index)",
+ "mio",
+ "mio-uds",
+ "tokio-codec",
+ "tokio-io",
+ "tokio-reactor",
+]
+
+[[package]]
+name = "unix_socket"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6aa2700417c405c38f5e6902d699345241c28c0b7ade4abaad71e35a87eb1564"
+dependencies = [
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
+]
+
+[[package]]
+name = "void"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
+
+[[package]]
+name = "winapi"
+version = "0.2.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a"
+
+[[package]]
+name = "winapi"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+dependencies = [
+ "winapi-i686-pc-windows-gnu",
+ "winapi-x86_64-pc-windows-gnu",
+]
+
+[[package]]
+name = "winapi-build"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc"
+
+[[package]]
+name = "winapi-i686-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+[[package]]
+name = "winapi-x86_64-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+
+[[package]]
+name = "ws2_32-sys"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e"
+dependencies = [
+ "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi-build",
+]
diff --git a/proto/3rdparty/crates/BUILD.autocfg-1.1.0.bazel b/proto/3rdparty/crates/BUILD.autocfg-1.1.0.bazel
new file mode 100644
index 0000000000..de041c03e8
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.autocfg-1.1.0.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0 OR MIT
+# ])
+
+rust_library(
+ name = "autocfg",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.1.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.base64-0.9.3.bazel b/proto/3rdparty/crates/BUILD.base64-0.9.3.bazel
new file mode 100644
index 0000000000..5a21a942d1
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.base64-0.9.3.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "base64",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.9.3",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__byteorder-1.4.3//:byteorder",
+ "@rules_rust_proto__safemem-0.3.3//:safemem",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.bazel b/proto/3rdparty/crates/BUILD.bazel
new file mode 100644
index 0000000000..075d512c85
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.bazel
@@ -0,0 +1,89 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+package(default_visibility = ["//visibility:public"])
+
+exports_files(
+ [
+ "cargo-bazel.json",
+ "defs.bzl",
+ "crates.bzl",
+ ] + glob([
+ "*.bazel",
+ ]),
+)
+
+filegroup(
+ name = "srcs",
+ srcs = glob([
+ "*.bazel",
+ "*.bzl",
+ ]),
+)
+
+# Workspace Member Dependencies
+alias(
+ name = "grpc",
+ actual = "@rules_rust_proto__grpc-0.6.2//:grpc",
+ tags = ["manual"],
+)
+
+alias(
+ name = "grpc-compiler",
+ actual = "@rules_rust_proto__grpc-compiler-0.6.2//:grpc_compiler",
+ tags = ["manual"],
+)
+
+alias(
+ name = "log",
+ actual = "@rules_rust_proto__log-0.4.17//:log",
+ tags = ["manual"],
+)
+
+alias(
+ name = "protobuf",
+ actual = "@rules_rust_proto__protobuf-2.8.2//:protobuf",
+ tags = ["manual"],
+)
+
+alias(
+ name = "protobuf-codegen",
+ actual = "@rules_rust_proto__protobuf-codegen-2.8.2//:protobuf_codegen",
+ tags = ["manual"],
+)
+
+alias(
+ name = "tls-api",
+ actual = "@rules_rust_proto__tls-api-0.1.22//:tls_api",
+ tags = ["manual"],
+)
+
+alias(
+ name = "tls-api-stub",
+ actual = "@rules_rust_proto__tls-api-stub-0.1.22//:tls_api_stub",
+ tags = ["manual"],
+)
+
+# Binaries
+alias(
+ name = "grpc-compiler__protoc-gen-rust-grpc",
+ actual = "@rules_rust_proto__grpc-compiler-0.6.2//:protoc-gen-rust-grpc__bin",
+ tags = ["manual"],
+)
+
+alias(
+ name = "protobuf-codegen__protoc-gen-rust",
+ actual = "@rules_rust_proto__protobuf-codegen-2.8.2//:protoc-gen-rust__bin",
+ tags = ["manual"],
+)
+
+alias(
+ name = "protobuf-codegen__protobuf-bin-gen-rust-do-not-use",
+ actual = "@rules_rust_proto__protobuf-codegen-2.8.2//:protobuf-bin-gen-rust-do-not-use__bin",
+ tags = ["manual"],
+)
diff --git a/proto/3rdparty/crates/BUILD.bitflags-1.3.2.bazel b/proto/3rdparty/crates/BUILD.bitflags-1.3.2.bazel
new file mode 100644
index 0000000000..376a421f2f
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.bitflags-1.3.2.bazel
@@ -0,0 +1,91 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "bitflags",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.3.2",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.byteorder-1.4.3.bazel b/proto/3rdparty/crates/BUILD.byteorder-1.4.3.bazel
new file mode 100644
index 0000000000..fac53242c8
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.byteorder-1.4.3.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Unlicense OR MIT
+# ])
+
+rust_library(
+ name = "byteorder",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.4.3",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.bytes-0.4.12.bazel b/proto/3rdparty/crates/BUILD.bytes-0.4.12.bazel
new file mode 100644
index 0000000000..67d4a2d2be
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.bytes-0.4.12.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "bytes",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.4.12",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__byteorder-1.4.3//:byteorder",
+ "@rules_rust_proto__iovec-0.1.4//:iovec",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.cfg-if-0.1.10.bazel b/proto/3rdparty/crates/BUILD.cfg-if-0.1.10.bazel
new file mode 100644
index 0000000000..74edf2a069
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.cfg-if-0.1.10.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "cfg_if",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.10",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel b/proto/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel
new file mode 100644
index 0000000000..ac048f6c30
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "cfg_if",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.cloudabi-0.0.3.bazel b/proto/3rdparty/crates/BUILD.cloudabi-0.0.3.bazel
new file mode 100644
index 0000000000..5fc5e2cb76
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.cloudabi-0.0.3.bazel
@@ -0,0 +1,93 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # BSD-2-Clause
+# ])
+
+rust_library(
+ name = "cloudabi",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "bitflags",
+ "default",
+ ],
+ crate_root = "cloudabi.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.0.3",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__bitflags-1.3.2//:bitflags",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.crossbeam-deque-0.7.4.bazel b/proto/3rdparty/crates/BUILD.crossbeam-deque-0.7.4.bazel
new file mode 100644
index 0000000000..6e074d52ca
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.crossbeam-deque-0.7.4.bazel
@@ -0,0 +1,93 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "crossbeam_deque",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.7.4",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__crossbeam-epoch-0.8.2//:crossbeam_epoch",
+ "@rules_rust_proto__crossbeam-utils-0.7.2//:crossbeam_utils",
+ "@rules_rust_proto__maybe-uninit-2.0.0//:maybe_uninit",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.crossbeam-epoch-0.8.2.bazel b/proto/3rdparty/crates/BUILD.crossbeam-epoch-0.8.2.bazel
new file mode 100644
index 0000000000..fade29458a
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.crossbeam-epoch-0.8.2.bazel
@@ -0,0 +1,187 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "crossbeam_epoch",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "lazy_static",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.8.2",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__cfg-if-0.1.10//:cfg_if",
+ "@rules_rust_proto__crossbeam-epoch-0.8.2//:build_script_build",
+ "@rules_rust_proto__crossbeam-utils-0.7.2//:crossbeam_utils",
+ "@rules_rust_proto__lazy_static-1.4.0//:lazy_static",
+ "@rules_rust_proto__maybe-uninit-2.0.0//:maybe_uninit",
+ "@rules_rust_proto__memoffset-0.5.6//:memoffset",
+ "@rules_rust_proto__scopeguard-1.1.0//:scopeguard",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "crossbeam-epoch_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "lazy_static",
+ "std",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "0.8.2",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__autocfg-1.1.0//:autocfg",
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "crossbeam-epoch_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/proto/3rdparty/crates/BUILD.crossbeam-queue-0.2.3.bazel b/proto/3rdparty/crates/BUILD.crossbeam-queue-0.2.3.bazel
new file mode 100644
index 0000000000..54b721f1a1
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.crossbeam-queue-0.2.3.bazel
@@ -0,0 +1,95 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0 AND BSD-2-Clause
+# ])
+
+rust_library(
+ name = "crossbeam_queue",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.3",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__cfg-if-0.1.10//:cfg_if",
+ "@rules_rust_proto__crossbeam-utils-0.7.2//:crossbeam_utils",
+ "@rules_rust_proto__maybe-uninit-2.0.0//:maybe_uninit",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.crossbeam-utils-0.7.2.bazel b/proto/3rdparty/crates/BUILD.crossbeam-utils-0.7.2.bazel
new file mode 100644
index 0000000000..c43a9918ca
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.crossbeam-utils-0.7.2.bazel
@@ -0,0 +1,183 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "crossbeam_utils",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "lazy_static",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.7.2",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__cfg-if-0.1.10//:cfg_if",
+ "@rules_rust_proto__crossbeam-utils-0.7.2//:build_script_build",
+ "@rules_rust_proto__lazy_static-1.4.0//:lazy_static",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "crossbeam-utils_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "lazy_static",
+ "std",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "0.7.2",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__autocfg-1.1.0//:autocfg",
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "crossbeam-utils_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/proto/3rdparty/crates/BUILD.fnv-1.0.7.bazel b/proto/3rdparty/crates/BUILD.fnv-1.0.7.bazel
new file mode 100644
index 0000000000..e6e2d1ed14
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.fnv-1.0.7.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0 / MIT
+# ])
+
+rust_library(
+ name = "fnv",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.7",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.fuchsia-zircon-0.3.3.bazel b/proto/3rdparty/crates/BUILD.fuchsia-zircon-0.3.3.bazel
new file mode 100644
index 0000000000..20816668bb
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.fuchsia-zircon-0.3.3.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # BSD-3-Clause
+# ])
+
+rust_library(
+ name = "fuchsia_zircon",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.3.3",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__bitflags-1.3.2//:bitflags",
+ "@rules_rust_proto__fuchsia-zircon-sys-0.3.3//:fuchsia_zircon_sys",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.fuchsia-zircon-sys-0.3.3.bazel b/proto/3rdparty/crates/BUILD.fuchsia-zircon-sys-0.3.3.bazel
new file mode 100644
index 0000000000..94be648de8
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.fuchsia-zircon-sys-0.3.3.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # BSD-3-Clause
+# ])
+
+rust_library(
+ name = "fuchsia_zircon_sys",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.3.3",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.futures-0.1.31.bazel b/proto/3rdparty/crates/BUILD.futures-0.1.31.bazel
new file mode 100644
index 0000000000..baf3817487
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.futures-0.1.31.bazel
@@ -0,0 +1,93 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "futures",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "use_std",
+ "with-deprecated",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.31",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.futures-cpupool-0.1.8.bazel b/proto/3rdparty/crates/BUILD.futures-cpupool-0.1.8.bazel
new file mode 100644
index 0000000000..74399d4fec
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.futures-cpupool-0.1.8.bazel
@@ -0,0 +1,94 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "futures_cpupool",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "with-deprecated",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.8",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__num_cpus-1.13.1//:num_cpus",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.grpc-0.6.2.bazel b/proto/3rdparty/crates/BUILD.grpc-0.6.2.bazel
new file mode 100644
index 0000000000..fe04e70f3c
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.grpc-0.6.2.bazel
@@ -0,0 +1,102 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "grpc",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.6.2",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__base64-0.9.3//:base64",
+ "@rules_rust_proto__bytes-0.4.12//:bytes",
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__futures-cpupool-0.1.8//:futures_cpupool",
+ "@rules_rust_proto__httpbis-0.7.0//:httpbis",
+ "@rules_rust_proto__log-0.4.17//:log",
+ "@rules_rust_proto__protobuf-2.8.2//:protobuf",
+ "@rules_rust_proto__tls-api-0.1.22//:tls_api",
+ "@rules_rust_proto__tls-api-stub-0.1.22//:tls_api_stub",
+ "@rules_rust_proto__tokio-core-0.1.18//:tokio_core",
+ "@rules_rust_proto__tokio-io-0.1.13//:tokio_io",
+ "@rules_rust_proto__tokio-tls-api-0.1.22//:tokio_tls_api",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.grpc-compiler-0.6.2.bazel b/proto/3rdparty/crates/BUILD.grpc-compiler-0.6.2.bazel
new file mode 100644
index 0000000000..33e256eb80
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.grpc-compiler-0.6.2.bazel
@@ -0,0 +1,161 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_binary",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "grpc_compiler",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.6.2",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__protobuf-2.8.2//:protobuf",
+ "@rules_rust_proto__protobuf-codegen-2.8.2//:protobuf_codegen",
+ ],
+ }),
+)
+
+rust_binary(
+ name = "protoc-gen-rust-grpc__bin",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/bin/protoc-gen-rust-grpc.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.6.2",
+ deps = [
+ ":grpc_compiler",
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__protobuf-2.8.2//:protobuf",
+ "@rules_rust_proto__protobuf-codegen-2.8.2//:protobuf_codegen",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.hermit-abi-0.1.19.bazel b/proto/3rdparty/crates/BUILD.hermit-abi-0.1.19.bazel
new file mode 100644
index 0000000000..c0640cab7f
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.hermit-abi-0.1.19.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "hermit_abi",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.19",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__libc-0.2.126//:libc",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.httpbis-0.7.0.bazel b/proto/3rdparty/crates/BUILD.httpbis-0.7.0.bazel
new file mode 100644
index 0000000000..53f14d4b6f
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.httpbis-0.7.0.bazel
@@ -0,0 +1,227 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "httpbis",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.7.0",
+ deps = [
+ ] + select_with_or({
+ # cfg(unix)
+ (
+ "@rules_rust//rust/platform:aarch64-apple-darwin",
+ "@rules_rust//rust/platform:aarch64-apple-ios",
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim",
+ "@rules_rust//rust/platform:aarch64-linux-android",
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:armv7-linux-androideabi",
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:i686-apple-darwin",
+ "@rules_rust//rust/platform:i686-linux-android",
+ "@rules_rust//rust/platform:i686-unknown-freebsd",
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+ "@rules_rust//rust/platform:x86_64-apple-darwin",
+ "@rules_rust//rust/platform:x86_64-apple-ios",
+ "@rules_rust//rust/platform:x86_64-linux-android",
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ # Target Deps
+ "@rules_rust_proto__tokio-uds-0.1.7//:tokio_uds",
+ "@rules_rust_proto__unix_socket-0.5.0//:unix_socket",
+
+ # Common Deps
+ "@rules_rust_proto__bytes-0.4.12//:bytes",
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__futures-cpupool-0.1.8//:futures_cpupool",
+ "@rules_rust_proto__httpbis-0.7.0//:build_script_build",
+ "@rules_rust_proto__log-0.4.17//:log",
+ "@rules_rust_proto__net2-0.2.37//:net2",
+ "@rules_rust_proto__tls-api-0.1.22//:tls_api",
+ "@rules_rust_proto__tls-api-stub-0.1.22//:tls_api_stub",
+ "@rules_rust_proto__tokio-core-0.1.18//:tokio_core",
+ "@rules_rust_proto__tokio-io-0.1.13//:tokio_io",
+ "@rules_rust_proto__tokio-timer-0.1.2//:tokio_timer",
+ "@rules_rust_proto__tokio-tls-api-0.1.22//:tokio_tls_api",
+ "@rules_rust_proto__void-1.0.2//:void",
+ ],
+ "//conditions:default": [
+ "@rules_rust_proto__bytes-0.4.12//:bytes",
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__futures-cpupool-0.1.8//:futures_cpupool",
+ "@rules_rust_proto__httpbis-0.7.0//:build_script_build",
+ "@rules_rust_proto__log-0.4.17//:log",
+ "@rules_rust_proto__net2-0.2.37//:net2",
+ "@rules_rust_proto__tls-api-0.1.22//:tls_api",
+ "@rules_rust_proto__tls-api-stub-0.1.22//:tls_api_stub",
+ "@rules_rust_proto__tokio-core-0.1.18//:tokio_core",
+ "@rules_rust_proto__tokio-io-0.1.13//:tokio_io",
+ "@rules_rust_proto__tokio-timer-0.1.2//:tokio_timer",
+ "@rules_rust_proto__tokio-tls-api-0.1.22//:tokio_tls_api",
+ "@rules_rust_proto__void-1.0.2//:void",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "httpbis_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "0.7.0",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "httpbis_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/proto/3rdparty/crates/BUILD.iovec-0.1.4.bazel b/proto/3rdparty/crates/BUILD.iovec-0.1.4.bazel
new file mode 100644
index 0000000000..bdebbff3e9
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.iovec-0.1.4.bazel
@@ -0,0 +1,117 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "iovec",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.4",
+ deps = [
+ ] + select_with_or({
+ # cfg(unix)
+ (
+ "@rules_rust//rust/platform:aarch64-apple-darwin",
+ "@rules_rust//rust/platform:aarch64-apple-ios",
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim",
+ "@rules_rust//rust/platform:aarch64-linux-android",
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:armv7-linux-androideabi",
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:i686-apple-darwin",
+ "@rules_rust//rust/platform:i686-linux-android",
+ "@rules_rust//rust/platform:i686-unknown-freebsd",
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+ "@rules_rust//rust/platform:x86_64-apple-darwin",
+ "@rules_rust//rust/platform:x86_64-apple-ios",
+ "@rules_rust//rust/platform:x86_64-linux-android",
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ # Target Deps
+ "@rules_rust_proto__libc-0.2.126//:libc",
+
+ # Common Deps
+ ],
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.kernel32-sys-0.2.2.bazel b/proto/3rdparty/crates/BUILD.kernel32-sys-0.2.2.bazel
new file mode 100644
index 0000000000..5e79eb168c
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.kernel32-sys-0.2.2.bazel
@@ -0,0 +1,176 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "kernel32",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.2",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__kernel32-sys-0.2.2//:build_script_build",
+ "@rules_rust_proto__winapi-0.2.8//:winapi",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "kernel32-sys_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "0.2.2",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__winapi-build-0.1.1//:build",
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "kernel32-sys_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/proto/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel b/proto/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel
new file mode 100644
index 0000000000..d05a5bd2f0
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel
@@ -0,0 +1,93 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "lazy_static",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+
+ # User provided rustc_flags
+ "--cfg=lazy_static_heap_impl",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.4.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.libc-0.2.126.bazel b/proto/3rdparty/crates/BUILD.libc-0.2.126.bazel
new file mode 100644
index 0000000000..e720b0c975
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.libc-0.2.126.bazel
@@ -0,0 +1,178 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "libc",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.126",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__libc-0.2.126//:build_script_build",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "libc_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "0.2.126",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "libc_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/proto/3rdparty/crates/BUILD.lock_api-0.3.4.bazel b/proto/3rdparty/crates/BUILD.lock_api-0.3.4.bazel
new file mode 100644
index 0000000000..eeee52f006
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.lock_api-0.3.4.bazel
@@ -0,0 +1,91 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0/MIT
+# ])
+
+rust_library(
+ name = "lock_api",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.3.4",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__scopeguard-1.1.0//:scopeguard",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.log-0.3.9.bazel b/proto/3rdparty/crates/BUILD.log-0.3.9.bazel
new file mode 100644
index 0000000000..600cf718b0
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.log-0.3.9.bazel
@@ -0,0 +1,93 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "log",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "use_std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.3.9",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__log-0.4.17//:log",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.log-0.4.17.bazel b/proto/3rdparty/crates/BUILD.log-0.4.17.bazel
new file mode 100644
index 0000000000..ca62ec01a2
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.log-0.4.17.bazel
@@ -0,0 +1,177 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "log",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.4.17",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__cfg-if-1.0.0//:cfg_if",
+ "@rules_rust_proto__log-0.4.17//:build_script_build",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "log_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "std",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "0.4.17",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "log_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/proto/3rdparty/crates/BUILD.maybe-uninit-2.0.0.bazel b/proto/3rdparty/crates/BUILD.maybe-uninit-2.0.0.bazel
new file mode 100644
index 0000000000..239aa81d52
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.maybe-uninit-2.0.0.bazel
@@ -0,0 +1,174 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0 OR MIT
+# ])
+
+rust_library(
+ name = "maybe_uninit",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "2.0.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__maybe-uninit-2.0.0//:build_script_build",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "maybe-uninit_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "2.0.0",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "maybe-uninit_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/proto/3rdparty/crates/BUILD.memoffset-0.5.6.bazel b/proto/3rdparty/crates/BUILD.memoffset-0.5.6.bazel
new file mode 100644
index 0000000000..ecb0a43511
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.memoffset-0.5.6.bazel
@@ -0,0 +1,177 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "memoffset",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.5.6",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__memoffset-0.5.6//:build_script_build",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "memoffset_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "0.5.6",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__autocfg-1.1.0//:autocfg",
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "memoffset_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/proto/3rdparty/crates/BUILD.mio-0.6.23.bazel b/proto/3rdparty/crates/BUILD.mio-0.6.23.bazel
new file mode 100644
index 0000000000..c3ed3091f2
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.mio-0.6.23.bazel
@@ -0,0 +1,151 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "mio",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "with-deprecated",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.6.23",
+ deps = [
+ ] + select_with_or({
+ # cfg(target_os = "fuchsia")
+ #
+ # No supported platform triples for cfg: 'cfg(target_os = "fuchsia")'
+ # Skipped dependencies: [{"id":"fuchsia-zircon 0.3.3","target":"fuchsia_zircon"},{"id":"fuchsia-zircon-sys 0.3.3","target":"fuchsia_zircon_sys"}]
+ #
+ # cfg(unix)
+ (
+ "@rules_rust//rust/platform:aarch64-apple-darwin",
+ "@rules_rust//rust/platform:aarch64-apple-ios",
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim",
+ "@rules_rust//rust/platform:aarch64-linux-android",
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:armv7-linux-androideabi",
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:i686-apple-darwin",
+ "@rules_rust//rust/platform:i686-linux-android",
+ "@rules_rust//rust/platform:i686-unknown-freebsd",
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+ "@rules_rust//rust/platform:x86_64-apple-darwin",
+ "@rules_rust//rust/platform:x86_64-apple-ios",
+ "@rules_rust//rust/platform:x86_64-linux-android",
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ # Target Deps
+ "@rules_rust_proto__libc-0.2.126//:libc",
+
+ # Common Deps
+ "@rules_rust_proto__cfg-if-0.1.10//:cfg_if",
+ "@rules_rust_proto__iovec-0.1.4//:iovec",
+ "@rules_rust_proto__log-0.4.17//:log",
+ "@rules_rust_proto__net2-0.2.37//:net2",
+ "@rules_rust_proto__slab-0.4.7//:slab",
+ ],
+ # cfg(windows)
+ (
+ "@rules_rust//rust/platform:i686-pc-windows-msvc",
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+ ): [
+ # Target Deps
+ "@rules_rust_proto__kernel32-sys-0.2.2//:kernel32",
+ "@rules_rust_proto__miow-0.2.2//:miow",
+ "@rules_rust_proto__winapi-0.2.8//:winapi",
+
+ # Common Deps
+ "@rules_rust_proto__cfg-if-0.1.10//:cfg_if",
+ "@rules_rust_proto__iovec-0.1.4//:iovec",
+ "@rules_rust_proto__log-0.4.17//:log",
+ "@rules_rust_proto__net2-0.2.37//:net2",
+ "@rules_rust_proto__slab-0.4.7//:slab",
+ ],
+ "//conditions:default": [
+ "@rules_rust_proto__cfg-if-0.1.10//:cfg_if",
+ "@rules_rust_proto__iovec-0.1.4//:iovec",
+ "@rules_rust_proto__log-0.4.17//:log",
+ "@rules_rust_proto__net2-0.2.37//:net2",
+ "@rules_rust_proto__slab-0.4.7//:slab",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.mio-uds-0.6.8.bazel b/proto/3rdparty/crates/BUILD.mio-uds-0.6.8.bazel
new file mode 100644
index 0000000000..3593e957fc
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.mio-uds-0.6.8.bazel
@@ -0,0 +1,119 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "mio_uds",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.6.8",
+ deps = [
+ ] + select_with_or({
+ # cfg(unix)
+ (
+ "@rules_rust//rust/platform:aarch64-apple-darwin",
+ "@rules_rust//rust/platform:aarch64-apple-ios",
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim",
+ "@rules_rust//rust/platform:aarch64-linux-android",
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:armv7-linux-androideabi",
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:i686-apple-darwin",
+ "@rules_rust//rust/platform:i686-linux-android",
+ "@rules_rust//rust/platform:i686-unknown-freebsd",
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+ "@rules_rust//rust/platform:x86_64-apple-darwin",
+ "@rules_rust//rust/platform:x86_64-apple-ios",
+ "@rules_rust//rust/platform:x86_64-linux-android",
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ # Target Deps
+ "@rules_rust_proto__iovec-0.1.4//:iovec",
+ "@rules_rust_proto__libc-0.2.126//:libc",
+ "@rules_rust_proto__mio-0.6.23//:mio",
+
+ # Common Deps
+ ],
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.miow-0.2.2.bazel b/proto/3rdparty/crates/BUILD.miow-0.2.2.bazel
new file mode 100644
index 0000000000..3305a3932b
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.miow-0.2.2.bazel
@@ -0,0 +1,94 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "miow",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.2",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__kernel32-sys-0.2.2//:kernel32",
+ "@rules_rust_proto__net2-0.2.37//:net2",
+ "@rules_rust_proto__winapi-0.2.8//:winapi",
+ "@rules_rust_proto__ws2_32-sys-0.2.1//:ws2_32",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.net2-0.2.37.bazel b/proto/3rdparty/crates/BUILD.net2-0.2.37.bazel
new file mode 100644
index 0000000000..50629668b0
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.net2-0.2.37.bazel
@@ -0,0 +1,133 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "net2",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "duration",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.37",
+ deps = [
+ ] + select_with_or({
+ # cfg(any(target_os = "redox", unix, target_os = "wasi"))
+ (
+ "@rules_rust//rust/platform:aarch64-apple-darwin",
+ "@rules_rust//rust/platform:aarch64-apple-ios",
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim",
+ "@rules_rust//rust/platform:aarch64-linux-android",
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:armv7-linux-androideabi",
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:i686-apple-darwin",
+ "@rules_rust//rust/platform:i686-linux-android",
+ "@rules_rust//rust/platform:i686-unknown-freebsd",
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+ "@rules_rust//rust/platform:wasm32-wasi",
+ "@rules_rust//rust/platform:x86_64-apple-darwin",
+ "@rules_rust//rust/platform:x86_64-apple-ios",
+ "@rules_rust//rust/platform:x86_64-linux-android",
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ # Target Deps
+ "@rules_rust_proto__libc-0.2.126//:libc",
+
+ # Common Deps
+ "@rules_rust_proto__cfg-if-0.1.10//:cfg_if",
+ ],
+ # cfg(windows)
+ (
+ "@rules_rust//rust/platform:i686-pc-windows-msvc",
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+ ): [
+ # Target Deps
+ "@rules_rust_proto__winapi-0.3.9//:winapi",
+
+ # Common Deps
+ "@rules_rust_proto__cfg-if-0.1.10//:cfg_if",
+ ],
+ "//conditions:default": [
+ "@rules_rust_proto__cfg-if-0.1.10//:cfg_if",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.num_cpus-1.13.1.bazel b/proto/3rdparty/crates/BUILD.num_cpus-1.13.1.bazel
new file mode 100644
index 0000000000..eb66e906e4
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.num_cpus-1.13.1.bazel
@@ -0,0 +1,125 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "num_cpus",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.13.1",
+ deps = [
+ ] + select_with_or({
+ # cfg(all(any(target_arch = "x86_64", target_arch = "aarch64"), target_os = "hermit"))
+ #
+ # No supported platform triples for cfg: 'cfg(all(any(target_arch = "x86_64", target_arch = "aarch64"), target_os = "hermit"))'
+ # Skipped dependencies: [{"id":"hermit-abi 0.1.19","target":"hermit_abi"}]
+ #
+ # cfg(not(windows))
+ (
+ "@rules_rust//rust/platform:aarch64-apple-darwin",
+ "@rules_rust//rust/platform:aarch64-apple-ios",
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim",
+ "@rules_rust//rust/platform:aarch64-linux-android",
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:armv7-linux-androideabi",
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:i686-apple-darwin",
+ "@rules_rust//rust/platform:i686-linux-android",
+ "@rules_rust//rust/platform:i686-unknown-freebsd",
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf",
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+ "@rules_rust//rust/platform:wasm32-unknown-unknown",
+ "@rules_rust//rust/platform:wasm32-wasi",
+ "@rules_rust//rust/platform:x86_64-apple-darwin",
+ "@rules_rust//rust/platform:x86_64-apple-ios",
+ "@rules_rust//rust/platform:x86_64-linux-android",
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ # Target Deps
+ "@rules_rust_proto__libc-0.2.126//:libc",
+
+ # Common Deps
+ ],
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.parking_lot-0.9.0.bazel b/proto/3rdparty/crates/BUILD.parking_lot-0.9.0.bazel
new file mode 100644
index 0000000000..2563828103
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.parking_lot-0.9.0.bazel
@@ -0,0 +1,179 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0/MIT
+# ])
+
+rust_library(
+ name = "parking_lot",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.9.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__lock_api-0.3.4//:lock_api",
+ "@rules_rust_proto__parking_lot-0.9.0//:build_script_build",
+ "@rules_rust_proto__parking_lot_core-0.6.2//:parking_lot_core",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "parking_lot_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "0.9.0",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__rustc_version-0.2.3//:rustc_version",
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "parking_lot_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/proto/3rdparty/crates/BUILD.parking_lot_core-0.6.2.bazel b/proto/3rdparty/crates/BUILD.parking_lot_core-0.6.2.bazel
new file mode 100644
index 0000000000..32d0707b15
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.parking_lot_core-0.6.2.bazel
@@ -0,0 +1,230 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0/MIT
+# ])
+
+rust_library(
+ name = "parking_lot_core",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.6.2",
+ deps = [
+ ] + select_with_or({
+ # cfg(target_os = "cloudabi")
+ #
+ # No supported platform triples for cfg: 'cfg(target_os = "cloudabi")'
+ # Skipped dependencies: [{"id":"cloudabi 0.0.3","target":"cloudabi"}]
+ #
+ # cfg(target_os = "redox")
+ #
+ # No supported platform triples for cfg: 'cfg(target_os = "redox")'
+ # Skipped dependencies: [{"id":"redox_syscall 0.1.57","target":"syscall"}]
+ #
+ # cfg(unix)
+ (
+ "@rules_rust//rust/platform:aarch64-apple-darwin",
+ "@rules_rust//rust/platform:aarch64-apple-ios",
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim",
+ "@rules_rust//rust/platform:aarch64-linux-android",
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:armv7-linux-androideabi",
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:i686-apple-darwin",
+ "@rules_rust//rust/platform:i686-linux-android",
+ "@rules_rust//rust/platform:i686-unknown-freebsd",
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+ "@rules_rust//rust/platform:x86_64-apple-darwin",
+ "@rules_rust//rust/platform:x86_64-apple-ios",
+ "@rules_rust//rust/platform:x86_64-linux-android",
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ # Target Deps
+ "@rules_rust_proto__libc-0.2.126//:libc",
+
+ # Common Deps
+ "@rules_rust_proto__cfg-if-0.1.10//:cfg_if",
+ "@rules_rust_proto__parking_lot_core-0.6.2//:build_script_build",
+ "@rules_rust_proto__smallvec-0.6.14//:smallvec",
+ ],
+ # cfg(windows)
+ (
+ "@rules_rust//rust/platform:i686-pc-windows-msvc",
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
+ ): [
+ # Target Deps
+ "@rules_rust_proto__winapi-0.3.9//:winapi",
+
+ # Common Deps
+ "@rules_rust_proto__cfg-if-0.1.10//:cfg_if",
+ "@rules_rust_proto__parking_lot_core-0.6.2//:build_script_build",
+ "@rules_rust_proto__smallvec-0.6.14//:smallvec",
+ ],
+ "//conditions:default": [
+ "@rules_rust_proto__cfg-if-0.1.10//:cfg_if",
+ "@rules_rust_proto__parking_lot_core-0.6.2//:build_script_build",
+ "@rules_rust_proto__smallvec-0.6.14//:smallvec",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "parking_lot_core_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "0.6.2",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__rustc_version-0.2.3//:rustc_version",
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "parking_lot_core_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/proto/3rdparty/crates/BUILD.protobuf-2.8.2.bazel b/proto/3rdparty/crates/BUILD.protobuf-2.8.2.bazel
new file mode 100644
index 0000000000..aa85d0b631
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.protobuf-2.8.2.bazel
@@ -0,0 +1,179 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "protobuf",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "bytes",
+ "with-bytes",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "2.8.2",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__bytes-0.4.12//:bytes",
+ "@rules_rust_proto__protobuf-2.8.2//:build_script_build",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "protobuf_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "bytes",
+ "with-bytes",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "2.8.2",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "protobuf_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/proto/3rdparty/crates/BUILD.protobuf-codegen-2.8.2.bazel b/proto/3rdparty/crates/BUILD.protobuf-codegen-2.8.2.bazel
new file mode 100644
index 0000000000..5a63331cbc
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.protobuf-codegen-2.8.2.bazel
@@ -0,0 +1,226 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_binary",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "protobuf_codegen",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "2.8.2",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__protobuf-2.8.2//:protobuf",
+ ],
+ }),
+)
+
+rust_binary(
+ name = "protoc-gen-rust__bin",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/bin/protoc-gen-rust.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "2.8.2",
+ deps = [
+ ":protobuf_codegen",
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__protobuf-2.8.2//:protobuf",
+ ],
+ }),
+)
+
+rust_binary(
+ name = "protobuf-bin-gen-rust-do-not-use__bin",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/bin/protobuf-bin-gen-rust-do-not-use.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "2.8.2",
+ deps = [
+ ":protobuf_codegen",
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__protobuf-2.8.2//:protobuf",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.redox_syscall-0.1.57.bazel b/proto/3rdparty/crates/BUILD.redox_syscall-0.1.57.bazel
new file mode 100644
index 0000000000..7a078cb034
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.redox_syscall-0.1.57.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "syscall",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.57",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.rustc_version-0.2.3.bazel b/proto/3rdparty/crates/BUILD.rustc_version-0.2.3.bazel
new file mode 100644
index 0000000000..9780f5915f
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.rustc_version-0.2.3.bazel
@@ -0,0 +1,91 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "rustc_version",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.3",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__semver-0.9.0//:semver",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.safemem-0.3.3.bazel b/proto/3rdparty/crates/BUILD.safemem-0.3.3.bazel
new file mode 100644
index 0000000000..02ef8a633e
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.safemem-0.3.3.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "safemem",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.3.3",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.scoped-tls-0.1.2.bazel b/proto/3rdparty/crates/BUILD.scoped-tls-0.1.2.bazel
new file mode 100644
index 0000000000..e764fae0a9
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.scoped-tls-0.1.2.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "scoped_tls",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.2",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.scopeguard-1.1.0.bazel b/proto/3rdparty/crates/BUILD.scopeguard-1.1.0.bazel
new file mode 100644
index 0000000000..53c44b7f6f
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.scopeguard-1.1.0.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "scopeguard",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.1.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.semver-0.9.0.bazel b/proto/3rdparty/crates/BUILD.semver-0.9.0.bazel
new file mode 100644
index 0000000000..ae3d4a0cfc
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.semver-0.9.0.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "semver",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.9.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__semver-parser-0.7.0//:semver_parser",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.semver-parser-0.7.0.bazel b/proto/3rdparty/crates/BUILD.semver-parser-0.7.0.bazel
new file mode 100644
index 0000000000..de4e9d41aa
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.semver-parser-0.7.0.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "semver_parser",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.7.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.slab-0.3.0.bazel b/proto/3rdparty/crates/BUILD.slab-0.3.0.bazel
new file mode 100644
index 0000000000..d4998ed225
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.slab-0.3.0.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "slab",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.3.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.slab-0.4.7.bazel b/proto/3rdparty/crates/BUILD.slab-0.4.7.bazel
new file mode 100644
index 0000000000..feb5d93b9d
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.slab-0.4.7.bazel
@@ -0,0 +1,179 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "slab",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.4.7",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__slab-0.4.7//:build_script_build",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "slab_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "0.4.7",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__autocfg-1.1.0//:autocfg",
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "slab_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/proto/3rdparty/crates/BUILD.smallvec-0.6.14.bazel b/proto/3rdparty/crates/BUILD.smallvec-0.6.14.bazel
new file mode 100644
index 0000000000..a350125017
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.smallvec-0.6.14.bazel
@@ -0,0 +1,93 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "smallvec",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.6.14",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__maybe-uninit-2.0.0//:maybe_uninit",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.tls-api-0.1.22.bazel b/proto/3rdparty/crates/BUILD.tls-api-0.1.22.bazel
new file mode 100644
index 0000000000..0dd4b51d5f
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.tls-api-0.1.22.bazel
@@ -0,0 +1,91 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "tls_api",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.22",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__log-0.4.17//:log",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.tls-api-stub-0.1.22.bazel b/proto/3rdparty/crates/BUILD.tls-api-stub-0.1.22.bazel
new file mode 100644
index 0000000000..3189886c29
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.tls-api-stub-0.1.22.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "tls_api_stub",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.22",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__tls-api-0.1.22//:tls_api",
+ "@rules_rust_proto__void-1.0.2//:void",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.tokio-0.1.22.bazel b/proto/3rdparty/crates/BUILD.tokio-0.1.22.bazel
new file mode 100644
index 0000000000..c33ef7b576
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.tokio-0.1.22.bazel
@@ -0,0 +1,173 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tokio",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "bytes",
+ "codec",
+ "default",
+ "fs",
+ "io",
+ "mio",
+ "num_cpus",
+ "reactor",
+ "rt-full",
+ "sync",
+ "tcp",
+ "timer",
+ "tokio-codec",
+ "tokio-current-thread",
+ "tokio-executor",
+ "tokio-fs",
+ "tokio-io",
+ "tokio-reactor",
+ "tokio-sync",
+ "tokio-tcp",
+ "tokio-threadpool",
+ "tokio-timer",
+ "tokio-udp",
+ "tokio-uds",
+ "udp",
+ "uds",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.22",
+ deps = [
+ ] + select_with_or({
+ # cfg(unix)
+ (
+ "@rules_rust//rust/platform:aarch64-apple-darwin",
+ "@rules_rust//rust/platform:aarch64-apple-ios",
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim",
+ "@rules_rust//rust/platform:aarch64-linux-android",
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:armv7-linux-androideabi",
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
+ "@rules_rust//rust/platform:i686-apple-darwin",
+ "@rules_rust//rust/platform:i686-linux-android",
+ "@rules_rust//rust/platform:i686-unknown-freebsd",
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu",
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
+ "@rules_rust//rust/platform:x86_64-apple-darwin",
+ "@rules_rust//rust/platform:x86_64-apple-ios",
+ "@rules_rust//rust/platform:x86_64-linux-android",
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd",
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
+ ): [
+ # Target Deps
+ "@rules_rust_proto__tokio-uds-0.2.7//:tokio_uds",
+
+ # Common Deps
+ "@rules_rust_proto__bytes-0.4.12//:bytes",
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__mio-0.6.23//:mio",
+ "@rules_rust_proto__num_cpus-1.13.1//:num_cpus",
+ "@rules_rust_proto__tokio-codec-0.1.2//:tokio_codec",
+ "@rules_rust_proto__tokio-current-thread-0.1.7//:tokio_current_thread",
+ "@rules_rust_proto__tokio-executor-0.1.10//:tokio_executor",
+ "@rules_rust_proto__tokio-fs-0.1.7//:tokio_fs",
+ "@rules_rust_proto__tokio-io-0.1.13//:tokio_io",
+ "@rules_rust_proto__tokio-reactor-0.1.12//:tokio_reactor",
+ "@rules_rust_proto__tokio-sync-0.1.8//:tokio_sync",
+ "@rules_rust_proto__tokio-tcp-0.1.4//:tokio_tcp",
+ "@rules_rust_proto__tokio-threadpool-0.1.18//:tokio_threadpool",
+ "@rules_rust_proto__tokio-timer-0.2.13//:tokio_timer",
+ "@rules_rust_proto__tokio-udp-0.1.6//:tokio_udp",
+ ],
+ "//conditions:default": [
+ "@rules_rust_proto__bytes-0.4.12//:bytes",
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__mio-0.6.23//:mio",
+ "@rules_rust_proto__num_cpus-1.13.1//:num_cpus",
+ "@rules_rust_proto__tokio-codec-0.1.2//:tokio_codec",
+ "@rules_rust_proto__tokio-current-thread-0.1.7//:tokio_current_thread",
+ "@rules_rust_proto__tokio-executor-0.1.10//:tokio_executor",
+ "@rules_rust_proto__tokio-fs-0.1.7//:tokio_fs",
+ "@rules_rust_proto__tokio-io-0.1.13//:tokio_io",
+ "@rules_rust_proto__tokio-reactor-0.1.12//:tokio_reactor",
+ "@rules_rust_proto__tokio-sync-0.1.8//:tokio_sync",
+ "@rules_rust_proto__tokio-tcp-0.1.4//:tokio_tcp",
+ "@rules_rust_proto__tokio-threadpool-0.1.18//:tokio_threadpool",
+ "@rules_rust_proto__tokio-timer-0.2.13//:tokio_timer",
+ "@rules_rust_proto__tokio-udp-0.1.6//:tokio_udp",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.tokio-codec-0.1.2.bazel b/proto/3rdparty/crates/BUILD.tokio-codec-0.1.2.bazel
new file mode 100644
index 0000000000..26a586c48d
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.tokio-codec-0.1.2.bazel
@@ -0,0 +1,93 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tokio_codec",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.2",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__bytes-0.4.12//:bytes",
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__tokio-io-0.1.13//:tokio_io",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.tokio-core-0.1.18.bazel b/proto/3rdparty/crates/BUILD.tokio-core-0.1.18.bazel
new file mode 100644
index 0000000000..a7532c88fb
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.tokio-core-0.1.18.bazel
@@ -0,0 +1,101 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "tokio_core",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.18",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__bytes-0.4.12//:bytes",
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__iovec-0.1.4//:iovec",
+ "@rules_rust_proto__log-0.4.17//:log",
+ "@rules_rust_proto__mio-0.6.23//:mio",
+ "@rules_rust_proto__scoped-tls-0.1.2//:scoped_tls",
+ "@rules_rust_proto__tokio-0.1.22//:tokio",
+ "@rules_rust_proto__tokio-executor-0.1.10//:tokio_executor",
+ "@rules_rust_proto__tokio-io-0.1.13//:tokio_io",
+ "@rules_rust_proto__tokio-reactor-0.1.12//:tokio_reactor",
+ "@rules_rust_proto__tokio-timer-0.2.13//:tokio_timer",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.tokio-current-thread-0.1.7.bazel b/proto/3rdparty/crates/BUILD.tokio-current-thread-0.1.7.bazel
new file mode 100644
index 0000000000..91dc929aec
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.tokio-current-thread-0.1.7.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tokio_current_thread",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.7",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__tokio-executor-0.1.10//:tokio_executor",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.tokio-executor-0.1.10.bazel b/proto/3rdparty/crates/BUILD.tokio-executor-0.1.10.bazel
new file mode 100644
index 0000000000..7a0f588b43
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.tokio-executor-0.1.10.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tokio_executor",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.10",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__crossbeam-utils-0.7.2//:crossbeam_utils",
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.tokio-fs-0.1.7.bazel b/proto/3rdparty/crates/BUILD.tokio-fs-0.1.7.bazel
new file mode 100644
index 0000000000..42b51dcf11
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.tokio-fs-0.1.7.bazel
@@ -0,0 +1,93 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tokio_fs",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.7",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__tokio-io-0.1.13//:tokio_io",
+ "@rules_rust_proto__tokio-threadpool-0.1.18//:tokio_threadpool",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.tokio-io-0.1.13.bazel b/proto/3rdparty/crates/BUILD.tokio-io-0.1.13.bazel
new file mode 100644
index 0000000000..36fb632ff0
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.tokio-io-0.1.13.bazel
@@ -0,0 +1,93 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tokio_io",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.13",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__bytes-0.4.12//:bytes",
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__log-0.4.17//:log",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.tokio-reactor-0.1.12.bazel b/proto/3rdparty/crates/BUILD.tokio-reactor-0.1.12.bazel
new file mode 100644
index 0000000000..f2eec69c3b
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.tokio-reactor-0.1.12.bazel
@@ -0,0 +1,101 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tokio_reactor",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.12",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__crossbeam-utils-0.7.2//:crossbeam_utils",
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__lazy_static-1.4.0//:lazy_static",
+ "@rules_rust_proto__log-0.4.17//:log",
+ "@rules_rust_proto__mio-0.6.23//:mio",
+ "@rules_rust_proto__num_cpus-1.13.1//:num_cpus",
+ "@rules_rust_proto__parking_lot-0.9.0//:parking_lot",
+ "@rules_rust_proto__slab-0.4.7//:slab",
+ "@rules_rust_proto__tokio-executor-0.1.10//:tokio_executor",
+ "@rules_rust_proto__tokio-io-0.1.13//:tokio_io",
+ "@rules_rust_proto__tokio-sync-0.1.8//:tokio_sync",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.tokio-sync-0.1.8.bazel b/proto/3rdparty/crates/BUILD.tokio-sync-0.1.8.bazel
new file mode 100644
index 0000000000..34566c0553
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.tokio-sync-0.1.8.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tokio_sync",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.8",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__fnv-1.0.7//:fnv",
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.tokio-tcp-0.1.4.bazel b/proto/3rdparty/crates/BUILD.tokio-tcp-0.1.4.bazel
new file mode 100644
index 0000000000..743f8b0db2
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.tokio-tcp-0.1.4.bazel
@@ -0,0 +1,96 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tokio_tcp",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.4",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__bytes-0.4.12//:bytes",
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__iovec-0.1.4//:iovec",
+ "@rules_rust_proto__mio-0.6.23//:mio",
+ "@rules_rust_proto__tokio-io-0.1.13//:tokio_io",
+ "@rules_rust_proto__tokio-reactor-0.1.12//:tokio_reactor",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.tokio-threadpool-0.1.18.bazel b/proto/3rdparty/crates/BUILD.tokio-threadpool-0.1.18.bazel
new file mode 100644
index 0000000000..cafb9cb1ba
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.tokio-threadpool-0.1.18.bazel
@@ -0,0 +1,99 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tokio_threadpool",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.18",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__crossbeam-deque-0.7.4//:crossbeam_deque",
+ "@rules_rust_proto__crossbeam-queue-0.2.3//:crossbeam_queue",
+ "@rules_rust_proto__crossbeam-utils-0.7.2//:crossbeam_utils",
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__lazy_static-1.4.0//:lazy_static",
+ "@rules_rust_proto__log-0.4.17//:log",
+ "@rules_rust_proto__num_cpus-1.13.1//:num_cpus",
+ "@rules_rust_proto__slab-0.4.7//:slab",
+ "@rules_rust_proto__tokio-executor-0.1.10//:tokio_executor",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.tokio-timer-0.1.2.bazel b/proto/3rdparty/crates/BUILD.tokio-timer-0.1.2.bazel
new file mode 100644
index 0000000000..79c91e998c
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.tokio-timer-0.1.2.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "tokio_timer",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.2",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__slab-0.3.0//:slab",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.tokio-timer-0.2.13.bazel b/proto/3rdparty/crates/BUILD.tokio-timer-0.2.13.bazel
new file mode 100644
index 0000000000..6c2f050317
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.tokio-timer-0.2.13.bazel
@@ -0,0 +1,94 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tokio_timer",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.13",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__crossbeam-utils-0.7.2//:crossbeam_utils",
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__slab-0.4.7//:slab",
+ "@rules_rust_proto__tokio-executor-0.1.10//:tokio_executor",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.tokio-tls-api-0.1.22.bazel b/proto/3rdparty/crates/BUILD.tokio-tls-api-0.1.22.bazel
new file mode 100644
index 0000000000..b4a36f2d0e
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.tokio-tls-api-0.1.22.bazel
@@ -0,0 +1,93 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "tokio_tls_api",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.22",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__tls-api-0.1.22//:tls_api",
+ "@rules_rust_proto__tokio-io-0.1.13//:tokio_io",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.tokio-udp-0.1.6.bazel b/proto/3rdparty/crates/BUILD.tokio-udp-0.1.6.bazel
new file mode 100644
index 0000000000..ae02c80453
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.tokio-udp-0.1.6.bazel
@@ -0,0 +1,97 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tokio_udp",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.6",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__bytes-0.4.12//:bytes",
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__log-0.4.17//:log",
+ "@rules_rust_proto__mio-0.6.23//:mio",
+ "@rules_rust_proto__tokio-codec-0.1.2//:tokio_codec",
+ "@rules_rust_proto__tokio-io-0.1.13//:tokio_io",
+ "@rules_rust_proto__tokio-reactor-0.1.12//:tokio_reactor",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.tokio-uds-0.1.7.bazel b/proto/3rdparty/crates/BUILD.tokio-uds-0.1.7.bazel
new file mode 100644
index 0000000000..c27f778e1d
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.tokio-uds-0.1.7.bazel
@@ -0,0 +1,99 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "tokio_uds",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.7",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__bytes-0.4.12//:bytes",
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__iovec-0.1.4//:iovec",
+ "@rules_rust_proto__libc-0.2.126//:libc",
+ "@rules_rust_proto__log-0.3.9//:log",
+ "@rules_rust_proto__mio-0.6.23//:mio",
+ "@rules_rust_proto__mio-uds-0.6.8//:mio_uds",
+ "@rules_rust_proto__tokio-core-0.1.18//:tokio_core",
+ "@rules_rust_proto__tokio-io-0.1.13//:tokio_io",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.tokio-uds-0.2.7.bazel b/proto/3rdparty/crates/BUILD.tokio-uds-0.2.7.bazel
new file mode 100644
index 0000000000..8d0235fbea
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.tokio-uds-0.2.7.bazel
@@ -0,0 +1,100 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tokio_uds",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.7",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__bytes-0.4.12//:bytes",
+ "@rules_rust_proto__futures-0.1.31//:futures",
+ "@rules_rust_proto__iovec-0.1.4//:iovec",
+ "@rules_rust_proto__libc-0.2.126//:libc",
+ "@rules_rust_proto__log-0.4.17//:log",
+ "@rules_rust_proto__mio-0.6.23//:mio",
+ "@rules_rust_proto__mio-uds-0.6.8//:mio_uds",
+ "@rules_rust_proto__tokio-codec-0.1.2//:tokio_codec",
+ "@rules_rust_proto__tokio-io-0.1.13//:tokio_io",
+ "@rules_rust_proto__tokio-reactor-0.1.12//:tokio_reactor",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.unix_socket-0.5.0.bazel b/proto/3rdparty/crates/BUILD.unix_socket-0.5.0.bazel
new file mode 100644
index 0000000000..f78fb1fc4c
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.unix_socket-0.5.0.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "unix_socket",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.5.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__cfg-if-0.1.10//:cfg_if",
+ "@rules_rust_proto__libc-0.2.126//:libc",
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.void-1.0.2.bazel b/proto/3rdparty/crates/BUILD.void-1.0.2.bazel
new file mode 100644
index 0000000000..cd0e4bc97c
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.void-1.0.2.bazel
@@ -0,0 +1,92 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "void",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.2",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.winapi-0.2.8.bazel b/proto/3rdparty/crates/BUILD.winapi-0.2.8.bazel
new file mode 100644
index 0000000000..ff2af66a11
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.winapi-0.2.8.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "winapi",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.8",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.winapi-0.3.9.bazel b/proto/3rdparty/crates/BUILD.winapi-0.3.9.bazel
new file mode 100644
index 0000000000..70452aeeca
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.winapi-0.3.9.bazel
@@ -0,0 +1,206 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "winapi",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "errhandlingapi",
+ "handleapi",
+ "minwindef",
+ "ntstatus",
+ "winbase",
+ "winerror",
+ "winnt",
+ "winsock2",
+ "ws2def",
+ "ws2ipdef",
+ "ws2tcpip",
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.3.9",
+ deps = [
+ ] + select_with_or({
+ # i686-pc-windows-gnu
+ #
+ # No supported platform triples for cfg: 'i686-pc-windows-gnu'
+ # Skipped dependencies: [{"id":"winapi-i686-pc-windows-gnu 0.4.0","target":"winapi_i686_pc_windows_gnu"}]
+ #
+ # x86_64-pc-windows-gnu
+ #
+ # No supported platform triples for cfg: 'x86_64-pc-windows-gnu'
+ # Skipped dependencies: [{"id":"winapi-x86_64-pc-windows-gnu 0.4.0","target":"winapi_x86_64_pc_windows_gnu"}]
+ #
+ "//conditions:default": [
+ "@rules_rust_proto__winapi-0.3.9//:build_script_build",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "winapi_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ "errhandlingapi",
+ "handleapi",
+ "minwindef",
+ "ntstatus",
+ "winbase",
+ "winerror",
+ "winnt",
+ "winsock2",
+ "ws2def",
+ "ws2ipdef",
+ "ws2tcpip",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "0.3.9",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "winapi_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/proto/3rdparty/crates/BUILD.winapi-build-0.1.1.bazel b/proto/3rdparty/crates/BUILD.winapi-build-0.1.1.bazel
new file mode 100644
index 0000000000..90d09f24fb
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.winapi-build-0.1.1.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "build",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.1",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
diff --git a/proto/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/proto/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
new file mode 100644
index 0000000000..0ff44fdcea
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
@@ -0,0 +1,174 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "winapi_i686_pc_windows_gnu",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.4.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__winapi-i686-pc-windows-gnu-0.4.0//:build_script_build",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "winapi-i686-pc-windows-gnu_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "0.4.0",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "winapi-i686-pc-windows-gnu_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/proto/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/proto/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
new file mode 100644
index 0000000000..a4fb59f70b
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
@@ -0,0 +1,174 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "winapi_x86_64_pc_windows_gnu",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.4.0",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__winapi-x86_64-pc-windows-gnu-0.4.0//:build_script_build",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "winapi-x86_64-pc-windows-gnu_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "0.4.0",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "winapi-x86_64-pc-windows-gnu_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/proto/3rdparty/crates/BUILD.ws2_32-sys-0.2.1.bazel b/proto/3rdparty/crates/BUILD.ws2_32-sys-0.2.1.bazel
new file mode 100644
index 0000000000..591c218ce7
--- /dev/null
+++ b/proto/3rdparty/crates/BUILD.ws2_32-sys-0.2.1.bazel
@@ -0,0 +1,176 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+load(
+ "@rules_rust//cargo:defs.bzl",
+ "cargo_build_script",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "ws2_32",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.1",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__winapi-0.2.8//:winapi",
+ "@rules_rust_proto__ws2_32-sys-0.2.1//:build_script_build",
+ ],
+ }),
+)
+
+cargo_build_script(
+ # See comment associated with alias. Do not change this name
+ name = "ws2_32-sys_build_script",
+ srcs = glob(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ build_script_env = {
+ },
+ compile_data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2015",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ tools = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ version = "0.2.1",
+ visibility = ["//visibility:private"],
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ "@rules_rust_proto__winapi-build-0.1.1//:build",
+ ],
+ }),
+)
+
+alias(
+ # Because `cargo_build_script` does some invisible target name mutating to
+ # determine the package and crate name for a build script, the Bazel
+ # target namename of any build script cannot be the Cargo canonical name
+ # of `build_script_build` without losing out on having certain Cargo
+ # environment variables set.
+ name = "build_script_build",
+ actual = "ws2_32-sys_build_script",
+ tags = [
+ "manual",
+ ],
+)
diff --git a/proto/3rdparty/crates/crates.bzl b/proto/3rdparty/crates/crates.bzl
new file mode 100644
index 0000000000..5a694ea96d
--- /dev/null
+++ b/proto/3rdparty/crates/crates.bzl
@@ -0,0 +1,25 @@
+###############################################################################
+# @generated
+# This file is auto-generated by the cargo-bazel tool.
+#
+# DO NOT MODIFY: Local changes may be replaced in future executions.
+###############################################################################
+"""Rules for defining repositories for remote `crates_vendor` repositories"""
+
+load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:crates_vendor.bzl", "crates_vendor_remote_repository")
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//proto/3rdparty/crates:defs.bzl", _crate_repositories = "crate_repositories")
+
+def crate_repositories():
+ maybe(
+ crates_vendor_remote_repository,
+ name = "rules_rust_proto",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.bazel"),
+ defs_module = Label("@rules_rust//proto/3rdparty/crates:defs.bzl"),
+ )
+
+ _crate_repositories()
diff --git a/proto/3rdparty/crates/defs.bzl b/proto/3rdparty/crates/defs.bzl
new file mode 100644
index 0000000000..b19e46e18f
--- /dev/null
+++ b/proto/3rdparty/crates/defs.bzl
@@ -0,0 +1,1143 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run //proto/3rdparty:crates_vendor
+###############################################################################
+"""
+# `crates_repository` API
+
+- [aliases](#aliases)
+- [crate_deps](#crate_deps)
+- [all_crate_deps](#all_crate_deps)
+- [crate_repositories](#crate_repositories)
+
+"""
+
+load("@bazel_skylib//lib:selects.bzl", "selects")
+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
+load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
+
+###############################################################################
+# MACROS API
+###############################################################################
+
+# An identifier that represent common dependencies (unconditional).
+_COMMON_CONDITION = ""
+
+def _flatten_dependency_maps(all_dependency_maps):
+ """Flatten a list of dependency maps into one dictionary.
+
+ Dependency maps have the following structure:
+
+ ```python
+ DEPENDENCIES_MAP = {
+ # The first key in the map is a Bazel package
+ # name of the workspace this file is defined in.
+ "workspace_member_package": {
+
+ # Not all dependnecies are supported for all platforms.
+ # the condition key is the condition required to be true
+ # on the host platform.
+ "condition": {
+
+ # An alias to a crate target. # The label of the crate target the
+ # Aliases are only crate names. # package name refers to.
+ "package_name": "@full//:label",
+ }
+ }
+ }
+ ```
+
+ Args:
+ all_dependency_maps (list): A list of dicts as described above
+
+ Returns:
+ dict: A dictionary as described above
+ """
+ dependencies = {}
+
+ for workspace_deps_map in all_dependency_maps:
+ for pkg_name, conditional_deps_map in workspace_deps_map.items():
+ if pkg_name not in dependencies:
+ non_frozen_map = dict()
+ for key, values in conditional_deps_map.items():
+ non_frozen_map.update({key: dict(values.items())})
+ dependencies.setdefault(pkg_name, non_frozen_map)
+ continue
+
+ for condition, deps_map in conditional_deps_map.items():
+ # If the condition has not been recorded, do so and continue
+ if condition not in dependencies[pkg_name]:
+ dependencies[pkg_name].setdefault(condition, dict(deps_map.items()))
+ continue
+
+ # Alert on any miss-matched dependencies
+ inconsistent_entries = []
+ for crate_name, crate_label in deps_map.items():
+ existing = dependencies[pkg_name][condition].get(crate_name)
+ if existing and existing != crate_label:
+ inconsistent_entries.append((crate_name, existing, crate_label))
+ dependencies[pkg_name][condition].update({crate_name: crate_label})
+
+ return dependencies
+
+def crate_deps(deps, package_name = None):
+ """Finds the fully qualified label of the requested crates for the package where this macro is called.
+
+ Args:
+ deps (list): The desired list of crate targets.
+ package_name (str, optional): The package name of the set of dependencies to look up.
+ Defaults to `native.package_name()`.
+
+ Returns:
+ list: A list of labels to generated rust targets (str)
+ """
+
+ if not deps:
+ return []
+
+ if package_name == None:
+ package_name = native.package_name()
+
+ # Join both sets of dependencies
+ dependencies = _flatten_dependency_maps([
+ _NORMAL_DEPENDENCIES,
+ _NORMAL_DEV_DEPENDENCIES,
+ _PROC_MACRO_DEPENDENCIES,
+ _PROC_MACRO_DEV_DEPENDENCIES,
+ _BUILD_DEPENDENCIES,
+ _BUILD_PROC_MACRO_DEPENDENCIES,
+ ]).pop(package_name, {})
+
+ # Combine all conditional packages so we can easily index over a flat list
+ # TODO: Perhaps this should actually return select statements and maintain
+ # the conditionals of the dependencies
+ flat_deps = {}
+ for deps_set in dependencies.values():
+ for crate_name, crate_label in deps_set.items():
+ flat_deps.update({crate_name: crate_label})
+
+ missing_crates = []
+ crate_targets = []
+ for crate_target in deps:
+ if crate_target not in flat_deps:
+ missing_crates.append(crate_target)
+ else:
+ crate_targets.append(flat_deps[crate_target])
+
+ if missing_crates:
+ fail("Could not find crates `{}` among dependencies of `{}`. Available dependencies were `{}`".format(
+ missing_crates,
+ package_name,
+ dependencies,
+ ))
+
+ return crate_targets
+
+def all_crate_deps(
+ normal = False,
+ normal_dev = False,
+ proc_macro = False,
+ proc_macro_dev = False,
+ build = False,
+ build_proc_macro = False,
+ package_name = None):
+ """Finds the fully qualified label of all requested direct crate dependencies \
+ for the package where this macro is called.
+
+ If no parameters are set, all normal dependencies are returned. Setting any one flag will
+ otherwise impact the contents of the returned list.
+
+ Args:
+ normal (bool, optional): If True, normal dependencies are included in the
+ output list.
+ normal_dev (bool, optional): If True, normla dev dependencies will be
+ included in the output list..
+ proc_macro (bool, optional): If True, proc_macro dependencies are included
+ in the output list.
+ proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are
+ included in the output list.
+ build (bool, optional): If True, build dependencies are included
+ in the output list.
+ build_proc_macro (bool, optional): If True, build proc_macro dependencies are
+ included in the output list.
+ package_name (str, optional): The package name of the set of dependencies to look up.
+ Defaults to `native.package_name()` when unset.
+
+ Returns:
+ list: A list of labels to generated rust targets (str)
+ """
+
+ if package_name == None:
+ package_name = native.package_name()
+
+ # Determine the relevant maps to use
+ all_dependency_maps = []
+ if normal:
+ all_dependency_maps.append(_NORMAL_DEPENDENCIES)
+ if normal_dev:
+ all_dependency_maps.append(_NORMAL_DEV_DEPENDENCIES)
+ if proc_macro:
+ all_dependency_maps.append(_PROC_MACRO_DEPENDENCIES)
+ if proc_macro_dev:
+ all_dependency_maps.append(_PROC_MACRO_DEV_DEPENDENCIES)
+ if build:
+ all_dependency_maps.append(_BUILD_DEPENDENCIES)
+ if build_proc_macro:
+ all_dependency_maps.append(_BUILD_PROC_MACRO_DEPENDENCIES)
+
+ # Default to always using normal dependencies
+ if not all_dependency_maps:
+ all_dependency_maps.append(_NORMAL_DEPENDENCIES)
+
+ dependencies = _flatten_dependency_maps(all_dependency_maps).pop(package_name, None)
+
+ if not dependencies:
+ if dependencies == None:
+ fail("Tried to get all_crate_deps for package " + package_name + " but that package had no Cargo.toml file")
+ else:
+ return []
+
+ crate_deps = list(dependencies.pop(_COMMON_CONDITION, {}).values())
+ for condition, deps in dependencies.items():
+ crate_deps += selects.with_or({_CONDITIONS[condition]: deps.values()})
+
+ return crate_deps
+
+def aliases(
+ normal = False,
+ normal_dev = False,
+ proc_macro = False,
+ proc_macro_dev = False,
+ build = False,
+ build_proc_macro = False,
+ package_name = None):
+ """Produces a map of Crate alias names to their original label
+
+ If no dependency kinds are specified, `normal` and `proc_macro` are used by default.
+ Setting any one flag will otherwise determine the contents of the returned dict.
+
+ Args:
+ normal (bool, optional): If True, normal dependencies are included in the
+ output list.
+ normal_dev (bool, optional): If True, normla dev dependencies will be
+ included in the output list..
+ proc_macro (bool, optional): If True, proc_macro dependencies are included
+ in the output list.
+ proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are
+ included in the output list.
+ build (bool, optional): If True, build dependencies are included
+ in the output list.
+ build_proc_macro (bool, optional): If True, build proc_macro dependencies are
+ included in the output list.
+ package_name (str, optional): The package name of the set of dependencies to look up.
+ Defaults to `native.package_name()` when unset.
+
+ Returns:
+ dict: The aliases of all associated packages
+ """
+ if package_name == None:
+ package_name = native.package_name()
+
+ # Determine the relevant maps to use
+ all_aliases_maps = []
+ if normal:
+ all_aliases_maps.append(_NORMAL_ALIASES)
+ if normal_dev:
+ all_aliases_maps.append(_NORMAL_DEV_ALIASES)
+ if proc_macro:
+ all_aliases_maps.append(_PROC_MACRO_ALIASES)
+ if proc_macro_dev:
+ all_aliases_maps.append(_PROC_MACRO_DEV_ALIASES)
+ if build:
+ all_aliases_maps.append(_BUILD_ALIASES)
+ if build_proc_macro:
+ all_aliases_maps.append(_BUILD_PROC_MACRO_ALIASES)
+
+ # Default to always using normal aliases
+ if not all_aliases_maps:
+ all_aliases_maps.append(_NORMAL_ALIASES)
+ all_aliases_maps.append(_PROC_MACRO_ALIASES)
+
+ aliases = _flatten_dependency_maps(all_aliases_maps).pop(package_name, None)
+
+ if not aliases:
+ return dict()
+
+ common_items = aliases.pop(_COMMON_CONDITION, {}).items()
+
+ # If there are only common items in the dictionary, immediately return them
+ if not len(aliases.keys()) == 1:
+ return dict(common_items)
+
+ # Build a single select statement where each conditional has accounted for the
+ # common set of aliases.
+ crate_aliases = {"//conditions:default": common_items}
+ for condition, deps in aliases.items():
+ condition_triples = _CONDITIONS[condition]
+ if condition_triples in crate_aliases:
+ crate_aliases[condition_triples].update(deps)
+ else:
+ crate_aliases.update({_CONDITIONS[condition]: dict(deps.items() + common_items)})
+
+ return selects.with_or(crate_aliases)
+
+###############################################################################
+# WORKSPACE MEMBER DEPS AND ALIASES
+###############################################################################
+
+_NORMAL_DEPENDENCIES = {
+ "": {
+ _COMMON_CONDITION: {
+ "grpc": "@rules_rust_proto__grpc-0.6.2//:grpc",
+ "grpc-compiler": "@rules_rust_proto__grpc-compiler-0.6.2//:grpc_compiler",
+ "log": "@rules_rust_proto__log-0.4.17//:log",
+ "protobuf": "@rules_rust_proto__protobuf-2.8.2//:protobuf",
+ "protobuf-codegen": "@rules_rust_proto__protobuf-codegen-2.8.2//:protobuf_codegen",
+ "tls-api": "@rules_rust_proto__tls-api-0.1.22//:tls_api",
+ "tls-api-stub": "@rules_rust_proto__tls-api-stub-0.1.22//:tls_api_stub",
+ },
+ },
+}
+
+_NORMAL_ALIASES = {
+ "": {
+ _COMMON_CONDITION: {
+ },
+ },
+}
+
+_NORMAL_DEV_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_NORMAL_DEV_ALIASES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_ALIASES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_DEV_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_DEV_ALIASES = {
+ "": {
+ },
+}
+
+_BUILD_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_BUILD_ALIASES = {
+ "": {
+ },
+}
+
+_BUILD_PROC_MACRO_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_BUILD_PROC_MACRO_ALIASES = {
+ "": {
+ },
+}
+
+_CONDITIONS = {
+ "cfg(all(any(target_arch = \"x86_64\", target_arch = \"aarch64\"), target_os = \"hermit\"))": [],
+ "cfg(any(target_os = \"redox\", unix, target_os = \"wasi\"))": ["aarch64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-ios-sim", "aarch64-linux-android", "aarch64-unknown-linux-gnu", "arm-unknown-linux-gnueabi", "armv7-linux-androideabi", "armv7-unknown-linux-gnueabi", "i686-apple-darwin", "i686-linux-android", "i686-unknown-freebsd", "i686-unknown-linux-gnu", "powerpc-unknown-linux-gnu", "s390x-unknown-linux-gnu", "wasm32-wasi", "x86_64-apple-darwin", "x86_64-apple-ios", "x86_64-linux-android", "x86_64-unknown-freebsd", "x86_64-unknown-linux-gnu"],
+ "cfg(not(windows))": ["aarch64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-ios-sim", "aarch64-linux-android", "aarch64-unknown-linux-gnu", "arm-unknown-linux-gnueabi", "armv7-linux-androideabi", "armv7-unknown-linux-gnueabi", "i686-apple-darwin", "i686-linux-android", "i686-unknown-freebsd", "i686-unknown-linux-gnu", "powerpc-unknown-linux-gnu", "riscv32imc-unknown-none-elf", "s390x-unknown-linux-gnu", "wasm32-unknown-unknown", "wasm32-wasi", "x86_64-apple-darwin", "x86_64-apple-ios", "x86_64-linux-android", "x86_64-unknown-freebsd", "x86_64-unknown-linux-gnu"],
+ "cfg(target_os = \"cloudabi\")": [],
+ "cfg(target_os = \"fuchsia\")": [],
+ "cfg(target_os = \"redox\")": [],
+ "cfg(unix)": ["aarch64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-ios-sim", "aarch64-linux-android", "aarch64-unknown-linux-gnu", "arm-unknown-linux-gnueabi", "armv7-linux-androideabi", "armv7-unknown-linux-gnueabi", "i686-apple-darwin", "i686-linux-android", "i686-unknown-freebsd", "i686-unknown-linux-gnu", "powerpc-unknown-linux-gnu", "s390x-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-apple-ios", "x86_64-linux-android", "x86_64-unknown-freebsd", "x86_64-unknown-linux-gnu"],
+ "cfg(windows)": ["i686-pc-windows-msvc", "x86_64-pc-windows-msvc"],
+ "i686-pc-windows-gnu": [],
+ "x86_64-pc-windows-gnu": [],
+}
+
+###############################################################################
+
+def crate_repositories():
+ """A macro for defining repositories for all generated crates"""
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__autocfg-1.1.0",
+ sha256 = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/autocfg/1.1.0/download"],
+ strip_prefix = "autocfg-1.1.0",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.autocfg-1.1.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__base64-0.9.3",
+ sha256 = "489d6c0ed21b11d038c31b6ceccca973e65d73ba3bd8ecb9a2babf5546164643",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/base64/0.9.3/download"],
+ strip_prefix = "base64-0.9.3",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.base64-0.9.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__bitflags-1.3.2",
+ sha256 = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/bitflags/1.3.2/download"],
+ strip_prefix = "bitflags-1.3.2",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.bitflags-1.3.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__byteorder-1.4.3",
+ sha256 = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/byteorder/1.4.3/download"],
+ strip_prefix = "byteorder-1.4.3",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.byteorder-1.4.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__bytes-0.4.12",
+ sha256 = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/bytes/0.4.12/download"],
+ strip_prefix = "bytes-0.4.12",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.bytes-0.4.12.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__cfg-if-0.1.10",
+ sha256 = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/cfg-if/0.1.10/download"],
+ strip_prefix = "cfg-if-0.1.10",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.cfg-if-0.1.10.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__cfg-if-1.0.0",
+ sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/cfg-if/1.0.0/download"],
+ strip_prefix = "cfg-if-1.0.0",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.cfg-if-1.0.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__cloudabi-0.0.3",
+ sha256 = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/cloudabi/0.0.3/download"],
+ strip_prefix = "cloudabi-0.0.3",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.cloudabi-0.0.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__crossbeam-deque-0.7.4",
+ sha256 = "c20ff29ded3204c5106278a81a38f4b482636ed4fa1e6cfbeef193291beb29ed",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/crossbeam-deque/0.7.4/download"],
+ strip_prefix = "crossbeam-deque-0.7.4",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.crossbeam-deque-0.7.4.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__crossbeam-epoch-0.8.2",
+ sha256 = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/crossbeam-epoch/0.8.2/download"],
+ strip_prefix = "crossbeam-epoch-0.8.2",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.crossbeam-epoch-0.8.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__crossbeam-queue-0.2.3",
+ sha256 = "774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/crossbeam-queue/0.2.3/download"],
+ strip_prefix = "crossbeam-queue-0.2.3",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.crossbeam-queue-0.2.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__crossbeam-utils-0.7.2",
+ sha256 = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/crossbeam-utils/0.7.2/download"],
+ strip_prefix = "crossbeam-utils-0.7.2",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.crossbeam-utils-0.7.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__fnv-1.0.7",
+ sha256 = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/fnv/1.0.7/download"],
+ strip_prefix = "fnv-1.0.7",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.fnv-1.0.7.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__fuchsia-zircon-0.3.3",
+ sha256 = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/fuchsia-zircon/0.3.3/download"],
+ strip_prefix = "fuchsia-zircon-0.3.3",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.fuchsia-zircon-0.3.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__fuchsia-zircon-sys-0.3.3",
+ sha256 = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/fuchsia-zircon-sys/0.3.3/download"],
+ strip_prefix = "fuchsia-zircon-sys-0.3.3",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.fuchsia-zircon-sys-0.3.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__futures-0.1.31",
+ sha256 = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/futures/0.1.31/download"],
+ strip_prefix = "futures-0.1.31",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.futures-0.1.31.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__futures-cpupool-0.1.8",
+ sha256 = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/futures-cpupool/0.1.8/download"],
+ strip_prefix = "futures-cpupool-0.1.8",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.futures-cpupool-0.1.8.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__grpc-0.6.2",
+ sha256 = "2aaf1d741fe6f3413f1f9f71b99f5e4e26776d563475a8a53ce53a73a8534c1d",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/grpc/0.6.2/download"],
+ strip_prefix = "grpc-0.6.2",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.grpc-0.6.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__grpc-compiler-0.6.2",
+ sha256 = "907274ce8ee7b40a0d0b0db09022ea22846a47cfb1fc8ad2c983c70001b4ffb1",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/grpc-compiler/0.6.2/download"],
+ strip_prefix = "grpc-compiler-0.6.2",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.grpc-compiler-0.6.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__hermit-abi-0.1.19",
+ sha256 = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/hermit-abi/0.1.19/download"],
+ strip_prefix = "hermit-abi-0.1.19",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.hermit-abi-0.1.19.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__httpbis-0.7.0",
+ sha256 = "7689cfa896b2a71da4f16206af167542b75d242b6906313e53857972a92d5614",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/httpbis/0.7.0/download"],
+ strip_prefix = "httpbis-0.7.0",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.httpbis-0.7.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__iovec-0.1.4",
+ sha256 = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/iovec/0.1.4/download"],
+ strip_prefix = "iovec-0.1.4",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.iovec-0.1.4.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__kernel32-sys-0.2.2",
+ sha256 = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/kernel32-sys/0.2.2/download"],
+ strip_prefix = "kernel32-sys-0.2.2",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.kernel32-sys-0.2.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__lazy_static-1.4.0",
+ sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/lazy_static/1.4.0/download"],
+ strip_prefix = "lazy_static-1.4.0",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.lazy_static-1.4.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__libc-0.2.126",
+ sha256 = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/libc/0.2.126/download"],
+ strip_prefix = "libc-0.2.126",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.libc-0.2.126.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__lock_api-0.3.4",
+ sha256 = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/lock_api/0.3.4/download"],
+ strip_prefix = "lock_api-0.3.4",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.lock_api-0.3.4.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__log-0.3.9",
+ sha256 = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/log/0.3.9/download"],
+ strip_prefix = "log-0.3.9",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.log-0.3.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__log-0.4.17",
+ sha256 = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/log/0.4.17/download"],
+ strip_prefix = "log-0.4.17",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.log-0.4.17.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__maybe-uninit-2.0.0",
+ sha256 = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/maybe-uninit/2.0.0/download"],
+ strip_prefix = "maybe-uninit-2.0.0",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.maybe-uninit-2.0.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__memoffset-0.5.6",
+ sha256 = "043175f069eda7b85febe4a74abbaeff828d9f8b448515d3151a14a3542811aa",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/memoffset/0.5.6/download"],
+ strip_prefix = "memoffset-0.5.6",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.memoffset-0.5.6.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__mio-0.6.23",
+ sha256 = "4afd66f5b91bf2a3bc13fad0e21caedac168ca4c707504e75585648ae80e4cc4",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/mio/0.6.23/download"],
+ strip_prefix = "mio-0.6.23",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.mio-0.6.23.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__mio-uds-0.6.8",
+ sha256 = "afcb699eb26d4332647cc848492bbc15eafb26f08d0304550d5aa1f612e066f0",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/mio-uds/0.6.8/download"],
+ strip_prefix = "mio-uds-0.6.8",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.mio-uds-0.6.8.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__miow-0.2.2",
+ sha256 = "ebd808424166322d4a38da87083bfddd3ac4c131334ed55856112eb06d46944d",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/miow/0.2.2/download"],
+ strip_prefix = "miow-0.2.2",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.miow-0.2.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__net2-0.2.37",
+ sha256 = "391630d12b68002ae1e25e8f974306474966550ad82dac6886fb8910c19568ae",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/net2/0.2.37/download"],
+ strip_prefix = "net2-0.2.37",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.net2-0.2.37.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__num_cpus-1.13.1",
+ sha256 = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/num_cpus/1.13.1/download"],
+ strip_prefix = "num_cpus-1.13.1",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.num_cpus-1.13.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__parking_lot-0.9.0",
+ sha256 = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/parking_lot/0.9.0/download"],
+ strip_prefix = "parking_lot-0.9.0",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.parking_lot-0.9.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__parking_lot_core-0.6.2",
+ sha256 = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/parking_lot_core/0.6.2/download"],
+ strip_prefix = "parking_lot_core-0.6.2",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.parking_lot_core-0.6.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__protobuf-2.8.2",
+ patch_args = [
+ "-p1",
+ ],
+ patches = [
+ "@rules_rust//proto/3rdparty/patches:protobuf-2.8.2.patch",
+ ],
+ sha256 = "70731852eec72c56d11226c8a5f96ad5058a3dab73647ca5f7ee351e464f2571",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/protobuf/2.8.2/download"],
+ strip_prefix = "protobuf-2.8.2",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.protobuf-2.8.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__protobuf-codegen-2.8.2",
+ sha256 = "3d74b9cbbf2ac9a7169c85a3714ec16c51ee9ec7cfd511549527e9a7df720795",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/protobuf-codegen/2.8.2/download"],
+ strip_prefix = "protobuf-codegen-2.8.2",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.protobuf-codegen-2.8.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__redox_syscall-0.1.57",
+ sha256 = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/redox_syscall/0.1.57/download"],
+ strip_prefix = "redox_syscall-0.1.57",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.redox_syscall-0.1.57.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__rustc_version-0.2.3",
+ sha256 = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/rustc_version/0.2.3/download"],
+ strip_prefix = "rustc_version-0.2.3",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.rustc_version-0.2.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__safemem-0.3.3",
+ sha256 = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/safemem/0.3.3/download"],
+ strip_prefix = "safemem-0.3.3",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.safemem-0.3.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__scoped-tls-0.1.2",
+ sha256 = "332ffa32bf586782a3efaeb58f127980944bbc8c4d6913a86107ac2a5ab24b28",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/scoped-tls/0.1.2/download"],
+ strip_prefix = "scoped-tls-0.1.2",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.scoped-tls-0.1.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__scopeguard-1.1.0",
+ sha256 = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/scopeguard/1.1.0/download"],
+ strip_prefix = "scopeguard-1.1.0",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.scopeguard-1.1.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__semver-0.9.0",
+ sha256 = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/semver/0.9.0/download"],
+ strip_prefix = "semver-0.9.0",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.semver-0.9.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__semver-parser-0.7.0",
+ sha256 = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/semver-parser/0.7.0/download"],
+ strip_prefix = "semver-parser-0.7.0",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.semver-parser-0.7.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__slab-0.3.0",
+ sha256 = "17b4fcaed89ab08ef143da37bc52adbcc04d4a69014f4c1208d6b51f0c47bc23",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/slab/0.3.0/download"],
+ strip_prefix = "slab-0.3.0",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.slab-0.3.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__slab-0.4.7",
+ sha256 = "4614a76b2a8be0058caa9dbbaf66d988527d86d003c11a94fbd335d7661edcef",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/slab/0.4.7/download"],
+ strip_prefix = "slab-0.4.7",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.slab-0.4.7.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__smallvec-0.6.14",
+ sha256 = "b97fcaeba89edba30f044a10c6a3cc39df9c3f17d7cd829dd1446cab35f890e0",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/smallvec/0.6.14/download"],
+ strip_prefix = "smallvec-0.6.14",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.smallvec-0.6.14.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__tls-api-0.1.22",
+ sha256 = "049c03787a0595182357fbd487577947f4351b78ce20c3668f6d49f17feb13d1",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tls-api/0.1.22/download"],
+ strip_prefix = "tls-api-0.1.22",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.tls-api-0.1.22.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__tls-api-stub-0.1.22",
+ sha256 = "c9a0cc8c149724db9de7d73a0e1bc80b1a74f5394f08c6f301e11f9c35fa061e",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tls-api-stub/0.1.22/download"],
+ strip_prefix = "tls-api-stub-0.1.22",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.tls-api-stub-0.1.22.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__tokio-0.1.22",
+ sha256 = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio/0.1.22/download"],
+ strip_prefix = "tokio-0.1.22",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.tokio-0.1.22.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__tokio-codec-0.1.2",
+ sha256 = "25b2998660ba0e70d18684de5d06b70b70a3a747469af9dea7618cc59e75976b",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-codec/0.1.2/download"],
+ strip_prefix = "tokio-codec-0.1.2",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.tokio-codec-0.1.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__tokio-core-0.1.18",
+ sha256 = "87b1395334443abca552f63d4f61d0486f12377c2ba8b368e523f89e828cffd4",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-core/0.1.18/download"],
+ strip_prefix = "tokio-core-0.1.18",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.tokio-core-0.1.18.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__tokio-current-thread-0.1.7",
+ sha256 = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-current-thread/0.1.7/download"],
+ strip_prefix = "tokio-current-thread-0.1.7",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.tokio-current-thread-0.1.7.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__tokio-executor-0.1.10",
+ sha256 = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-executor/0.1.10/download"],
+ strip_prefix = "tokio-executor-0.1.10",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.tokio-executor-0.1.10.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__tokio-fs-0.1.7",
+ sha256 = "297a1206e0ca6302a0eed35b700d292b275256f596e2f3fea7729d5e629b6ff4",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-fs/0.1.7/download"],
+ strip_prefix = "tokio-fs-0.1.7",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.tokio-fs-0.1.7.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__tokio-io-0.1.13",
+ sha256 = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-io/0.1.13/download"],
+ strip_prefix = "tokio-io-0.1.13",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.tokio-io-0.1.13.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__tokio-reactor-0.1.12",
+ sha256 = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-reactor/0.1.12/download"],
+ strip_prefix = "tokio-reactor-0.1.12",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.tokio-reactor-0.1.12.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__tokio-sync-0.1.8",
+ sha256 = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-sync/0.1.8/download"],
+ strip_prefix = "tokio-sync-0.1.8",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.tokio-sync-0.1.8.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__tokio-tcp-0.1.4",
+ sha256 = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-tcp/0.1.4/download"],
+ strip_prefix = "tokio-tcp-0.1.4",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.tokio-tcp-0.1.4.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__tokio-threadpool-0.1.18",
+ sha256 = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-threadpool/0.1.18/download"],
+ strip_prefix = "tokio-threadpool-0.1.18",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.tokio-threadpool-0.1.18.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__tokio-timer-0.1.2",
+ sha256 = "6131e780037787ff1b3f8aad9da83bca02438b72277850dd6ad0d455e0e20efc",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-timer/0.1.2/download"],
+ strip_prefix = "tokio-timer-0.1.2",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.tokio-timer-0.1.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__tokio-timer-0.2.13",
+ sha256 = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-timer/0.2.13/download"],
+ strip_prefix = "tokio-timer-0.2.13",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.tokio-timer-0.2.13.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__tokio-tls-api-0.1.22",
+ sha256 = "68d0e040d5b1f4cfca70ec4f371229886a5de5bb554d272a4a8da73004a7b2c9",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-tls-api/0.1.22/download"],
+ strip_prefix = "tokio-tls-api-0.1.22",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.tokio-tls-api-0.1.22.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__tokio-udp-0.1.6",
+ sha256 = "e2a0b10e610b39c38b031a2fcab08e4b82f16ece36504988dcbd81dbba650d82",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-udp/0.1.6/download"],
+ strip_prefix = "tokio-udp-0.1.6",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.tokio-udp-0.1.6.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__tokio-uds-0.1.7",
+ sha256 = "65ae5d255ce739e8537221ed2942e0445f4b3b813daebac1c0050ddaaa3587f9",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-uds/0.1.7/download"],
+ strip_prefix = "tokio-uds-0.1.7",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.tokio-uds-0.1.7.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__tokio-uds-0.2.7",
+ sha256 = "ab57a4ac4111c8c9dbcf70779f6fc8bc35ae4b2454809febac840ad19bd7e4e0",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-uds/0.2.7/download"],
+ strip_prefix = "tokio-uds-0.2.7",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.tokio-uds-0.2.7.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__unix_socket-0.5.0",
+ sha256 = "6aa2700417c405c38f5e6902d699345241c28c0b7ade4abaad71e35a87eb1564",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/unix_socket/0.5.0/download"],
+ strip_prefix = "unix_socket-0.5.0",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.unix_socket-0.5.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__void-1.0.2",
+ sha256 = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/void/1.0.2/download"],
+ strip_prefix = "void-1.0.2",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.void-1.0.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__winapi-0.2.8",
+ sha256 = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/winapi/0.2.8/download"],
+ strip_prefix = "winapi-0.2.8",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.winapi-0.2.8.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__winapi-0.3.9",
+ sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/winapi/0.3.9/download"],
+ strip_prefix = "winapi-0.3.9",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.winapi-0.3.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__winapi-build-0.1.1",
+ sha256 = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/winapi-build/0.1.1/download"],
+ strip_prefix = "winapi-build-0.1.1",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.winapi-build-0.1.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__winapi-i686-pc-windows-gnu-0.4.0",
+ sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/winapi-i686-pc-windows-gnu/0.4.0/download"],
+ strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__winapi-x86_64-pc-windows-gnu-0.4.0",
+ sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download"],
+ strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_proto__ws2_32-sys-0.2.1",
+ sha256 = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/ws2_32-sys/0.2.1/download"],
+ strip_prefix = "ws2_32-sys-0.2.1",
+ build_file = Label("@rules_rust//proto/3rdparty/crates:BUILD.ws2_32-sys-0.2.1.bazel"),
+ )
diff --git a/proto/3rdparty/patches/BUILD.bazel b/proto/3rdparty/patches/BUILD.bazel
new file mode 100644
index 0000000000..fb662c8632
--- /dev/null
+++ b/proto/3rdparty/patches/BUILD.bazel
@@ -0,0 +1,5 @@
+package(default_visibility = ["//visibility:public"])
+
+exports_files([
+ "com_google_protobuf-v3.10.0-bzl_visibility.patch",
+])
diff --git a/proto/raze/patch/README.md b/proto/3rdparty/patches/README.md
similarity index 66%
rename from proto/raze/patch/README.md
rename to proto/3rdparty/patches/README.md
index 2cd05d71a8..56e910b159 100644
--- a/proto/raze/patch/README.md
+++ b/proto/3rdparty/patches/README.md
@@ -1,15 +1,6 @@
# Patches
-Cargo raze, in its remote mode allows for patches to be applied to a repository
-before building it with rustc. It is advisable to use this functionality
-sparingly, if at all. Also note that the patch is applied after all of the
-dependency resolution has been completed by cargo raze, and that patching the
-version of a dependency will not cause cargo raze to update that dependency in
-the BUILD file.
-
-The patch itself can be generated using git or another tool. The output of git
-diff requires the `-p1` option to remove the leading `/` from the git diff patch
-format.
+Details related to patches required for the rules_rust protobuf rules.
## protobuf-2.8.2
@@ -29,3 +20,8 @@ For this crate, the patch that is applied is replacing the include! macro with
what would be generated by the build.rs file. This lets us avoid running the
build file altogether, at the expense of having to update the patch for every
version.
+
+
+## com_google_protobuf-v3.10.0-bzl_visibility
+
+The patches here provide the required visibility to `*.bzl` files used by the rules defined in `com_google_protobuf`.
diff --git a/proto/patches/com_google_protobuf-v3.10.0-bzl_visibility.patch b/proto/3rdparty/patches/com_google_protobuf-v3.10.0-bzl_visibility.patch
similarity index 100%
rename from proto/patches/com_google_protobuf-v3.10.0-bzl_visibility.patch
rename to proto/3rdparty/patches/com_google_protobuf-v3.10.0-bzl_visibility.patch
diff --git a/proto/raze/patch/protobuf-2.8.2.patch b/proto/3rdparty/patches/protobuf-2.8.2.patch
similarity index 100%
rename from proto/raze/patch/protobuf-2.8.2.patch
rename to proto/3rdparty/patches/protobuf-2.8.2.patch
diff --git a/proto/BUILD.bazel b/proto/BUILD.bazel
index a76d069b61..298c61511b 100644
--- a/proto/BUILD.bazel
+++ b/proto/BUILD.bazel
@@ -6,30 +6,24 @@ package(default_visibility = ["//visibility:public"])
alias(
name = "protoc_gen_rust",
- actual = "//proto/raze:cargo_bin_protoc_gen_rust",
+ actual = "//proto/3rdparty/crates:protobuf-codegen__protoc-gen-rust",
)
alias(
name = "protoc_gen_rust_grpc",
- actual = "//proto/raze:cargo_bin_protoc_gen_rust_grpc",
-)
-
-filegroup(
- name = "distro",
- srcs = glob([
- "*.bzl",
- "*.rs",
- ]) + [
- "//proto/patches:distro",
- "//proto/raze:srcs",
- "//proto/raze/patch:distro",
- "//proto/raze/remote:srcs",
- "BUILD.bazel",
- ],
- visibility = ["//:__subpackages__"],
+ actual = "//proto/3rdparty/crates:grpc-compiler__protoc-gen-rust-grpc",
+)
+
+toolchain_type(
+ name = "toolchain_type",
)
-toolchain_type(name = "toolchain")
+alias(
+ name = "toolchain",
+ actual = "toolchain_type",
+ deprecation = "instead use `@rules_rust//proto:toolchain_type`",
+ tags = ["manual"],
+)
rust_binary(
name = "optional_output_wrapper",
@@ -41,7 +35,7 @@ rust_binary(
toolchain(
name = "default-proto-toolchain",
toolchain = ":default-proto-toolchain-impl",
- toolchain_type = "@rules_rust//proto:toolchain",
+ toolchain_type = "@rules_rust//proto:toolchain_type",
)
rust_proto_toolchain(
@@ -51,5 +45,8 @@ rust_proto_toolchain(
bzl_library(
name = "bzl_lib",
- srcs = glob(["**/*.bzl"]) + ["//proto/raze:crates.bzl"],
+ srcs = glob(["**/*.bzl"]),
+ deps = [
+ "//proto/3rdparty:bzl_lib",
+ ],
)
diff --git a/proto/patches/BUILD.bazel b/proto/patches/BUILD.bazel
deleted file mode 100644
index cfabc97b20..0000000000
--- a/proto/patches/BUILD.bazel
+++ /dev/null
@@ -1,14 +0,0 @@
-package(default_visibility = ["//visibility:public"])
-
-exports_files([
- "com_google_protobuf-v3.10.0-bzl_visibility.patch",
-])
-
-filegroup(
- name = "distro",
- srcs = [
- "BUILD.bazel",
- "com_google_protobuf-v3.10.0-bzl_visibility.patch",
- ],
- visibility = ["//:__subpackages__"],
-)
diff --git a/proto/patches/README.md b/proto/patches/README.md
deleted file mode 100644
index 7d4ca11dfa..0000000000
--- a/proto/patches/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# @rules_rust//proto patches
-
-The patches here provide the required visibility to `*.bzl` files used by the rules defined in `com_google_protobuf`.
diff --git a/proto/proto.bzl b/proto/proto.bzl
index ea239b067f..b5e65a3392 100644
--- a/proto/proto.bzl
+++ b/proto/proto.bzl
@@ -44,7 +44,7 @@ load("//rust:defs.bzl", "rust_common")
load("//rust/private:rustc.bzl", "rustc_compile_action")
# buildifier: disable=bzl-visibility
-load("//rust/private:utils.bzl", "compute_crate_name", "determine_output_hash", "find_toolchain", "transform_deps")
+load("//rust/private:utils.bzl", "can_build_metadata", "compute_crate_name", "determine_output_hash", "find_toolchain", "transform_deps")
RustProtoInfo = provider(
doc = "Rust protobuf provider info",
@@ -186,7 +186,7 @@ def _rust_proto_compile(protos, descriptor_sets, imports, crate_name, ctx, is_gr
"""
# Create all the source in a specific folder
- proto_toolchain = ctx.toolchains[Label("//proto:toolchain")]
+ proto_toolchain = ctx.toolchains[Label("//proto:toolchain_type")]
output_dir = "%s.%s.rust" % (crate_name, "grpc" if is_grpc else "proto")
# Generate the proto stubs
@@ -212,6 +212,13 @@ def _rust_proto_compile(protos, descriptor_sets, imports, crate_name, ctx, is_gr
crate_name,
output_hash,
))
+ rust_metadata = None
+ if can_build_metadata(toolchain, ctx, "rlib"):
+ rust_metadata = ctx.actions.declare_file("%s/lib%s-%s.rmeta" % (
+ output_dir,
+ crate_name,
+ output_hash,
+ ))
# Gather all dependencies for compilation
compile_action_deps = depset(
@@ -234,6 +241,7 @@ def _rust_proto_compile(protos, descriptor_sets, imports, crate_name, ctx, is_gr
proc_macro_deps = depset([]),
aliases = {},
output = rust_lib,
+ metadata = rust_metadata,
edition = proto_toolchain.edition,
rustc_env = {},
is_test = False,
@@ -319,8 +327,8 @@ rust_proto_library = rule(
fragments = ["cpp"],
host_fragments = ["cpp"],
toolchains = [
- str(Label("//proto:toolchain")),
- str(Label("//rust:toolchain")),
+ str(Label("//proto:toolchain_type")),
+ str(Label("//rust:toolchain_type")),
"@bazel_tools//tools/cpp:toolchain_type",
],
# TODO: Remove once (bazelbuild/bazel#11584) is closed and the rules use
@@ -397,8 +405,8 @@ rust_grpc_library = rule(
fragments = ["cpp"],
host_fragments = ["cpp"],
toolchains = [
- str(Label("//proto:toolchain")),
- str(Label("//rust:toolchain")),
+ str(Label("//proto:toolchain_type")),
+ str(Label("//rust:toolchain_type")),
"@bazel_tools//tools/cpp:toolchain_type",
],
# TODO: Remove once (bazelbuild/bazel#11584) is closed and the rules use
diff --git a/proto/raze/BUILD.bazel b/proto/raze/BUILD.bazel
index 632e22026e..42a33d1adc 100644
--- a/proto/raze/BUILD.bazel
+++ b/proto/raze/BUILD.bazel
@@ -1,76 +1,56 @@
-"""
-@generated
-cargo-raze generated Bazel file.
-
-DO NOT EDIT! Replaced on runs of cargo-raze
-"""
-
package(default_visibility = ["//visibility:public"])
-licenses([
- "notice", # See individual crates for specific licenses
-])
-
# Aliased targets
alias(
name = "grpc",
- actual = "@rules_rust_proto__grpc__0_6_2//:grpc",
+ actual = "//proto/3rdparty/crates:grpc",
+ deprecation = "Instead, use @rules_rust//proto/3rdparty/crates:grpc",
tags = [
- "cargo-raze",
"manual",
],
)
alias(
name = "cargo_bin_protoc_gen_rust_grpc",
- actual = "@rules_rust_proto__grpc_compiler__0_6_2//:cargo_bin_protoc_gen_rust_grpc",
+ actual = "//proto/3rdparty/crates:grpc-compiler__protoc-gen-rust-grpc",
+ deprecation = "Instead, use @rules_rust//proto/3rdparty/crates:grpc-compiler__protoc-gen-rust-grpc",
tags = [
- "cargo-raze",
"manual",
],
)
alias(
name = "grpc_compiler",
- actual = "@rules_rust_proto__grpc_compiler__0_6_2//:grpc_compiler",
- tags = [
- "cargo-raze",
- "manual",
- ],
-)
-
-alias(
- name = "log",
- actual = "@rules_rust_proto__log__0_4_6//:log",
+ actual = "//proto/3rdparty/crates:grpc_compiler",
+ deprecation = "Instead, use @rules_rust//proto/3rdparty/crates:grpc_compiler",
tags = [
- "cargo-raze",
"manual",
],
)
alias(
name = "protobuf",
- actual = "@rules_rust_proto__protobuf__2_8_2//:protobuf",
+ actual = "//proto/3rdparty/crates:protobuf",
+ deprecation = "Instead, use @rules_rust//proto/3rdparty/crates:protobuf",
tags = [
- "cargo-raze",
"manual",
],
)
alias(
name = "cargo_bin_protoc_gen_rust",
- actual = "@rules_rust_proto__protobuf_codegen__2_8_2//:cargo_bin_protoc_gen_rust",
+ actual = "//proto/3rdparty/crates:protobuf-codegen__protoc-gen-rust",
+ deprecation = "Instead, use @rules_rust//proto/3rdparty/crates:protobuf-codegen__protoc-gen-rust",
tags = [
- "cargo-raze",
"manual",
],
)
alias(
name = "protobuf_codegen",
- actual = "@rules_rust_proto__protobuf_codegen__2_8_2//:protobuf_codegen",
+ actual = "//proto/3rdparty/crates:protobuf-codegen",
+ deprecation = "Instead, use @rules_rust//proto/3rdparty/crates:protobuf-codegen",
tags = [
- "cargo-raze",
"manual",
],
)
@@ -78,35 +58,8 @@ alias(
alias(
name = "tls_api",
actual = "@rules_rust_proto__tls_api__0_1_22//:tls_api",
+ deprecation = "Instead, use @rules_rust//proto/3rdparty/crates:tls_api",
tags = [
- "cargo-raze",
"manual",
],
)
-
-alias(
- name = "tls_api_stub",
- actual = "@rules_rust_proto__tls_api_stub__0_1_22//:tls_api_stub",
- tags = [
- "cargo-raze",
- "manual",
- ],
-)
-
-# 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/proto/raze/Cargo.lock b/proto/raze/Cargo.lock
deleted file mode 100644
index 2c6b3d0a1c..0000000000
--- a/proto/raze/Cargo.lock
+++ /dev/null
@@ -1,782 +0,0 @@
-# This file is automatically @generated by Cargo.
-# It is not intended for manual editing.
-[[package]]
-name = "autocfg"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "base64"
-version = "0.9.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "byteorder 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "safemem 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "bitflags"
-version = "1.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "byteorder"
-version = "1.3.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "bytes"
-version = "0.4.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "byteorder 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "cfg-if"
-version = "0.1.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "cloudabi"
-version = "0.0.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "crossbeam-deque"
-version = "0.7.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "crossbeam-epoch 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "crossbeam-epoch"
-version = "0.8.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
- "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "memoffset 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "scopeguard 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "crossbeam-queue"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
- "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "crossbeam-utils"
-version = "0.7.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
- "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "fake_lib"
-version = "0.0.1"
-dependencies = [
- "grpc 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "grpc-compiler 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "protobuf 2.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "protobuf-codegen 2.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "tls-api 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
- "tls-api-stub 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "fnv"
-version = "1.0.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "fuchsia-zircon"
-version = "0.3.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "fuchsia-zircon-sys"
-version = "0.3.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "futures"
-version = "0.1.29"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "futures-cpupool"
-version = "0.1.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "num_cpus 1.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "grpc"
-version = "0.6.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "base64 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "httpbis 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "protobuf 2.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "tls-api 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
- "tls-api-stub 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-core 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-tls-api 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "grpc-compiler"
-version = "0.6.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "protobuf 2.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "protobuf-codegen 2.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "hermit-abi"
-version = "0.1.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "httpbis"
-version = "0.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)",
- "tls-api 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
- "tls-api-stub 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-core 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-timer 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-tls-api 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-uds 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
- "unix_socket 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "iovec"
-version = "0.1.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "kernel32-sys"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "lazy_static"
-version = "1.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "libc"
-version = "0.2.69"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "lock_api"
-version = "0.3.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "scopeguard 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "log"
-version = "0.3.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "log"
-version = "0.4.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "maybe-uninit"
-version = "2.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "memoffset"
-version = "0.5.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "mio"
-version = "0.6.21"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
- "fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)",
- "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "mio-uds"
-version = "0.6.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)",
- "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "miow"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)",
- "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "net2"
-version = "0.2.33"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)",
- "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "num_cpus"
-version = "1.13.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "hermit-abi 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "parking_lot"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "lock_api 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "parking_lot_core 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "parking_lot_core"
-version = "0.6.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
- "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)",
- "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
- "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "protobuf"
-version = "2.8.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "protobuf-codegen"
-version = "2.8.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "protobuf 2.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "redox_syscall"
-version = "0.1.56"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "rustc_version"
-version = "0.2.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "safemem"
-version = "0.3.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "scoped-tls"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "scopeguard"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "semver"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "semver-parser"
-version = "0.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "slab"
-version = "0.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "slab"
-version = "0.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "smallvec"
-version = "0.6.13"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "tls-api"
-version = "0.1.22"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "tls-api-stub"
-version = "0.1.22"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "tls-api 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
- "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "tokio"
-version = "0.1.22"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)",
- "num_cpus 1.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-codec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-current-thread 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-fs 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-reactor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-sync 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-tcp 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-threadpool 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-timer 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-udp 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-uds 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "tokio-codec"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "tokio-core"
-version = "0.1.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)",
- "scoped-tls 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-reactor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-timer 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "tokio-current-thread"
-version = "0.1.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "tokio-executor"
-version = "0.1.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "tokio-fs"
-version = "0.1.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-threadpool 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "tokio-io"
-version = "0.1.13"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "tokio-reactor"
-version = "0.1.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)",
- "num_cpus 1.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-sync 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "tokio-sync"
-version = "0.1.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "tokio-tcp"
-version = "0.1.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-reactor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "tokio-threadpool"
-version = "0.1.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "crossbeam-deque 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "crossbeam-queue 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "num_cpus 1.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "tokio-timer"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "slab 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "tokio-timer"
-version = "0.2.13"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "tokio-tls-api"
-version = "0.1.22"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "tls-api 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "tokio-udp"
-version = "0.1.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-codec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-reactor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "tokio-uds"
-version = "0.1.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
- "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)",
- "mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-core 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "tokio-uds"
-version = "0.2.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)",
- "mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-codec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-reactor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "unix_socket"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "void"
-version = "1.0.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "winapi"
-version = "0.2.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "winapi"
-version = "0.3.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "winapi-build"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "winapi-i686-pc-windows-gnu"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "winapi-x86_64-pc-windows-gnu"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "ws2_32-sys"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[metadata]
-"checksum autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d"
-"checksum base64 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)" = "489d6c0ed21b11d038c31b6ceccca973e65d73ba3bd8ecb9a2babf5546164643"
-"checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
-"checksum byteorder 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de"
-"checksum bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)" = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c"
-"checksum cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
-"checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
-"checksum crossbeam-deque 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285"
-"checksum crossbeam-epoch 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace"
-"checksum crossbeam-queue 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c695eeca1e7173472a32221542ae469b3e9aac3a4fc81f7696bcad82029493db"
-"checksum crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8"
-"checksum fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3"
-"checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82"
-"checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
-"checksum futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)" = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef"
-"checksum futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4"
-"checksum grpc 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2aaf1d741fe6f3413f1f9f71b99f5e4e26776d563475a8a53ce53a73a8534c1d"
-"checksum grpc-compiler 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "907274ce8ee7b40a0d0b0db09022ea22846a47cfb1fc8ad2c983c70001b4ffb1"
-"checksum hermit-abi 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "8a0d737e0f947a1864e93d33fdef4af8445a00d1ed8dc0c8ddb73139ea6abf15"
-"checksum httpbis 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7689cfa896b2a71da4f16206af167542b75d242b6906313e53857972a92d5614"
-"checksum iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e"
-"checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d"
-"checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
-"checksum libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)" = "99e85c08494b21a9054e7fe1374a732aeadaff3980b6990b94bfd3a70f690005"
-"checksum lock_api 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75"
-"checksum log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b"
-"checksum log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c84ec4b527950aa83a329754b01dbe3f58361d1c5efacd1f6d68c494d08a17c6"
-"checksum maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00"
-"checksum memoffset 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)" = "b4fc2c02a7e374099d4ee95a193111f72d2110197fe200272371758f6c3643d8"
-"checksum mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)" = "302dec22bcf6bae6dfb69c647187f4b4d0fb6f535521f7bc022430ce8e12008f"
-"checksum mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)" = "966257a94e196b11bb43aca423754d87429960a768de9414f3691d6957abf125"
-"checksum miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919"
-"checksum net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)" = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88"
-"checksum num_cpus 1.13.0 (registry+https://github.com/rust-lang/crates.io-index)" = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3"
-"checksum parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252"
-"checksum parking_lot_core 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b"
-"checksum protobuf 2.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "70731852eec72c56d11226c8a5f96ad5058a3dab73647ca5f7ee351e464f2571"
-"checksum protobuf-codegen 2.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "3d74b9cbbf2ac9a7169c85a3714ec16c51ee9ec7cfd511549527e9a7df720795"
-"checksum redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)" = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84"
-"checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
-"checksum safemem 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072"
-"checksum scoped-tls 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "332ffa32bf586782a3efaeb58f127980944bbc8c4d6913a86107ac2a5ab24b28"
-"checksum scopeguard 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
-"checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
-"checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
-"checksum slab 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "17b4fcaed89ab08ef143da37bc52adbcc04d4a69014f4c1208d6b51f0c47bc23"
-"checksum slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8"
-"checksum smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "f7b0758c52e15a8b5e3691eae6cc559f08eee9406e548a4477ba4e67770a82b6"
-"checksum tls-api 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)" = "049c03787a0595182357fbd487577947f4351b78ce20c3668f6d49f17feb13d1"
-"checksum tls-api-stub 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)" = "c9a0cc8c149724db9de7d73a0e1bc80b1a74f5394f08c6f301e11f9c35fa061e"
-"checksum tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)" = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6"
-"checksum tokio-codec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "25b2998660ba0e70d18684de5d06b70b70a3a747469af9dea7618cc59e75976b"
-"checksum tokio-core 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)" = "aeeffbbb94209023feaef3c196a41cbcdafa06b4a6f893f68779bb5e53796f71"
-"checksum tokio-current-thread 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e"
-"checksum tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671"
-"checksum tokio-fs 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "297a1206e0ca6302a0eed35b700d292b275256f596e2f3fea7729d5e629b6ff4"
-"checksum tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674"
-"checksum tokio-reactor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351"
-"checksum tokio-sync 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee"
-"checksum tokio-tcp 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72"
-"checksum tokio-threadpool 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)" = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89"
-"checksum tokio-timer 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6131e780037787ff1b3f8aad9da83bca02438b72277850dd6ad0d455e0e20efc"
-"checksum tokio-timer 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)" = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296"
-"checksum tokio-tls-api 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)" = "68d0e040d5b1f4cfca70ec4f371229886a5de5bb554d272a4a8da73004a7b2c9"
-"checksum tokio-udp 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "e2a0b10e610b39c38b031a2fcab08e4b82f16ece36504988dcbd81dbba650d82"
-"checksum tokio-uds 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "65ae5d255ce739e8537221ed2942e0445f4b3b813daebac1c0050ddaaa3587f9"
-"checksum tokio-uds 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "5076db410d6fdc6523df7595447629099a1fdc47b3d9f896220780fa48faf798"
-"checksum unix_socket 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6aa2700417c405c38f5e6902d699345241c28c0b7ade4abaad71e35a87eb1564"
-"checksum void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
-"checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a"
-"checksum winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6"
-"checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc"
-"checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
-"checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
-"checksum ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e"
diff --git a/proto/raze/Cargo.toml b/proto/raze/Cargo.toml
deleted file mode 100644
index 773554d805..0000000000
--- a/proto/raze/Cargo.toml
+++ /dev/null
@@ -1,47 +0,0 @@
-
-[package]
-name = "fake_rules_rust_proto"
-version = "0.0.1"
-
-[lib]
-path = "fake_rules_rust_proto.rs"
-
-[dependencies]
-# Newer version of protobuf have been released, but the 0.6.2 release of
-# grpc-rust doesn't work with 2.10 or above, and the 2.9 release pulled.
-protobuf = { version = "2.8.2", features = ["with-bytes"] }
-protobuf-codegen = "2.8.2"
-grpc = "0.6.2"
-grpc-compiler = "0.6.2"
-# Newer version of tls-api have been released, but the 0.1 release is still
-# required by grpc 0.6.2, so continue to use 0.1 of tls-api here.
-tls-api = "0.1.22"
-tls-api-stub = "0.1.22"
-# This needs to be specified, as log 0.3 depends on log 0.4, and log 0.4.7 and
-# up break log 0.3, which is needed by tokio-uds-0.1.7 (which is required by
-# httpbis 0.7.0, which hasn't had a version released in a while). grpc
-# requires httpbis.
-log = "0.4, <0.4.7"
-
-[package.metadata.raze]
-genmode = "Remote"
-workspace_path = "//proto/raze"
-gen_workspace_prefix = "rules_rust_proto"
-rust_rules_workspace_name = "rules_rust"
-package_aliases_dir = "."
-default_gen_buildrs = false
-
-[package.metadata.raze.crates.lazy_static.'1.4.0']
-additional_flags = [
- "--cfg=lazy_static_heap_impl",
-]
-
-[package.metadata.raze.crates.protobuf.'2.8.2']
-patches = ["@rules_rust//proto/raze/patch:protobuf-2.8.2.patch"]
-patch_args = ["-p1"]
-
-[package.metadata.raze.crates.protobuf-codegen.'2.8.2']
-extra_aliased_targets = ["cargo_bin_protoc_gen_rust"]
-
-[package.metadata.raze.crates.grpc-compiler.'0.6.2']
-extra_aliased_targets = ["cargo_bin_protoc_gen_rust_grpc"]
diff --git a/proto/raze/crates.bzl b/proto/raze/crates.bzl
deleted file mode 100644
index 3ec2de1fce..0000000000
--- a/proto/raze/crates.bzl
+++ /dev/null
@@ -1,768 +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 rules_rust_proto_fetch_remote_crates():
- """This function defines a collection of repos and should be called in a WORKSPACE file"""
- maybe(
- http_archive,
- name = "rules_rust_proto__autocfg__1_0_0",
- url = "https://crates.io/api/v1/crates/autocfg/1.0.0/download",
- type = "tar.gz",
- sha256 = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d",
- strip_prefix = "autocfg-1.0.0",
- build_file = Label("//proto/raze/remote:BUILD.autocfg-1.0.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__base64__0_9_3",
- url = "https://crates.io/api/v1/crates/base64/0.9.3/download",
- type = "tar.gz",
- sha256 = "489d6c0ed21b11d038c31b6ceccca973e65d73ba3bd8ecb9a2babf5546164643",
- strip_prefix = "base64-0.9.3",
- build_file = Label("//proto/raze/remote:BUILD.base64-0.9.3.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__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("//proto/raze/remote:BUILD.bitflags-1.2.1.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__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("//proto/raze/remote:BUILD.byteorder-1.3.4.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__bytes__0_4_12",
- url = "https://crates.io/api/v1/crates/bytes/0.4.12/download",
- type = "tar.gz",
- sha256 = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c",
- strip_prefix = "bytes-0.4.12",
- build_file = Label("//proto/raze/remote:BUILD.bytes-0.4.12.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__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("//proto/raze/remote:BUILD.cfg-if-0.1.10.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__cloudabi__0_0_3",
- url = "https://crates.io/api/v1/crates/cloudabi/0.0.3/download",
- type = "tar.gz",
- sha256 = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f",
- strip_prefix = "cloudabi-0.0.3",
- build_file = Label("//proto/raze/remote:BUILD.cloudabi-0.0.3.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__crossbeam_deque__0_7_3",
- url = "https://crates.io/api/v1/crates/crossbeam-deque/0.7.3/download",
- type = "tar.gz",
- sha256 = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285",
- strip_prefix = "crossbeam-deque-0.7.3",
- build_file = Label("//proto/raze/remote:BUILD.crossbeam-deque-0.7.3.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__crossbeam_epoch__0_8_2",
- url = "https://crates.io/api/v1/crates/crossbeam-epoch/0.8.2/download",
- type = "tar.gz",
- sha256 = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace",
- strip_prefix = "crossbeam-epoch-0.8.2",
- build_file = Label("//proto/raze/remote:BUILD.crossbeam-epoch-0.8.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__crossbeam_queue__0_2_1",
- url = "https://crates.io/api/v1/crates/crossbeam-queue/0.2.1/download",
- type = "tar.gz",
- sha256 = "c695eeca1e7173472a32221542ae469b3e9aac3a4fc81f7696bcad82029493db",
- strip_prefix = "crossbeam-queue-0.2.1",
- build_file = Label("//proto/raze/remote:BUILD.crossbeam-queue-0.2.1.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__crossbeam_utils__0_7_2",
- url = "https://crates.io/api/v1/crates/crossbeam-utils/0.7.2/download",
- type = "tar.gz",
- sha256 = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8",
- strip_prefix = "crossbeam-utils-0.7.2",
- build_file = Label("//proto/raze/remote:BUILD.crossbeam-utils-0.7.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__fnv__1_0_6",
- url = "https://crates.io/api/v1/crates/fnv/1.0.6/download",
- type = "tar.gz",
- sha256 = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3",
- strip_prefix = "fnv-1.0.6",
- build_file = Label("//proto/raze/remote:BUILD.fnv-1.0.6.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__fuchsia_zircon__0_3_3",
- url = "https://crates.io/api/v1/crates/fuchsia-zircon/0.3.3/download",
- type = "tar.gz",
- sha256 = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82",
- strip_prefix = "fuchsia-zircon-0.3.3",
- build_file = Label("//proto/raze/remote:BUILD.fuchsia-zircon-0.3.3.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__fuchsia_zircon_sys__0_3_3",
- url = "https://crates.io/api/v1/crates/fuchsia-zircon-sys/0.3.3/download",
- type = "tar.gz",
- sha256 = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7",
- strip_prefix = "fuchsia-zircon-sys-0.3.3",
- build_file = Label("//proto/raze/remote:BUILD.fuchsia-zircon-sys-0.3.3.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__futures__0_1_29",
- url = "https://crates.io/api/v1/crates/futures/0.1.29/download",
- type = "tar.gz",
- sha256 = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef",
- strip_prefix = "futures-0.1.29",
- build_file = Label("//proto/raze/remote:BUILD.futures-0.1.29.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__futures_cpupool__0_1_8",
- url = "https://crates.io/api/v1/crates/futures-cpupool/0.1.8/download",
- type = "tar.gz",
- sha256 = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4",
- strip_prefix = "futures-cpupool-0.1.8",
- build_file = Label("//proto/raze/remote:BUILD.futures-cpupool-0.1.8.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__grpc__0_6_2",
- url = "https://crates.io/api/v1/crates/grpc/0.6.2/download",
- type = "tar.gz",
- sha256 = "2aaf1d741fe6f3413f1f9f71b99f5e4e26776d563475a8a53ce53a73a8534c1d",
- strip_prefix = "grpc-0.6.2",
- build_file = Label("//proto/raze/remote:BUILD.grpc-0.6.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__grpc_compiler__0_6_2",
- url = "https://crates.io/api/v1/crates/grpc-compiler/0.6.2/download",
- type = "tar.gz",
- sha256 = "907274ce8ee7b40a0d0b0db09022ea22846a47cfb1fc8ad2c983c70001b4ffb1",
- strip_prefix = "grpc-compiler-0.6.2",
- build_file = Label("//proto/raze/remote:BUILD.grpc-compiler-0.6.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__hermit_abi__0_1_11",
- url = "https://crates.io/api/v1/crates/hermit-abi/0.1.11/download",
- type = "tar.gz",
- sha256 = "8a0d737e0f947a1864e93d33fdef4af8445a00d1ed8dc0c8ddb73139ea6abf15",
- strip_prefix = "hermit-abi-0.1.11",
- build_file = Label("//proto/raze/remote:BUILD.hermit-abi-0.1.11.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__httpbis__0_7_0",
- url = "https://crates.io/api/v1/crates/httpbis/0.7.0/download",
- type = "tar.gz",
- sha256 = "7689cfa896b2a71da4f16206af167542b75d242b6906313e53857972a92d5614",
- strip_prefix = "httpbis-0.7.0",
- build_file = Label("//proto/raze/remote:BUILD.httpbis-0.7.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__iovec__0_1_4",
- url = "https://crates.io/api/v1/crates/iovec/0.1.4/download",
- type = "tar.gz",
- sha256 = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e",
- strip_prefix = "iovec-0.1.4",
- build_file = Label("//proto/raze/remote:BUILD.iovec-0.1.4.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__kernel32_sys__0_2_2",
- url = "https://crates.io/api/v1/crates/kernel32-sys/0.2.2/download",
- type = "tar.gz",
- sha256 = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d",
- strip_prefix = "kernel32-sys-0.2.2",
- build_file = Label("//proto/raze/remote:BUILD.kernel32-sys-0.2.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__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("//proto/raze/remote:BUILD.lazy_static-1.4.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__libc__0_2_69",
- url = "https://crates.io/api/v1/crates/libc/0.2.69/download",
- type = "tar.gz",
- sha256 = "99e85c08494b21a9054e7fe1374a732aeadaff3980b6990b94bfd3a70f690005",
- strip_prefix = "libc-0.2.69",
- build_file = Label("//proto/raze/remote:BUILD.libc-0.2.69.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__lock_api__0_3_4",
- url = "https://crates.io/api/v1/crates/lock_api/0.3.4/download",
- type = "tar.gz",
- sha256 = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75",
- strip_prefix = "lock_api-0.3.4",
- build_file = Label("//proto/raze/remote:BUILD.lock_api-0.3.4.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__log__0_3_9",
- url = "https://crates.io/api/v1/crates/log/0.3.9/download",
- type = "tar.gz",
- sha256 = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b",
- strip_prefix = "log-0.3.9",
- build_file = Label("//proto/raze/remote:BUILD.log-0.3.9.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__log__0_4_6",
- url = "https://crates.io/api/v1/crates/log/0.4.6/download",
- type = "tar.gz",
- sha256 = "c84ec4b527950aa83a329754b01dbe3f58361d1c5efacd1f6d68c494d08a17c6",
- strip_prefix = "log-0.4.6",
- build_file = Label("//proto/raze/remote:BUILD.log-0.4.6.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__maybe_uninit__2_0_0",
- url = "https://crates.io/api/v1/crates/maybe-uninit/2.0.0/download",
- type = "tar.gz",
- sha256 = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00",
- strip_prefix = "maybe-uninit-2.0.0",
- build_file = Label("//proto/raze/remote:BUILD.maybe-uninit-2.0.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__memoffset__0_5_4",
- url = "https://crates.io/api/v1/crates/memoffset/0.5.4/download",
- type = "tar.gz",
- sha256 = "b4fc2c02a7e374099d4ee95a193111f72d2110197fe200272371758f6c3643d8",
- strip_prefix = "memoffset-0.5.4",
- build_file = Label("//proto/raze/remote:BUILD.memoffset-0.5.4.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__mio__0_6_21",
- url = "https://crates.io/api/v1/crates/mio/0.6.21/download",
- type = "tar.gz",
- sha256 = "302dec22bcf6bae6dfb69c647187f4b4d0fb6f535521f7bc022430ce8e12008f",
- strip_prefix = "mio-0.6.21",
- build_file = Label("//proto/raze/remote:BUILD.mio-0.6.21.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__mio_uds__0_6_7",
- url = "https://crates.io/api/v1/crates/mio-uds/0.6.7/download",
- type = "tar.gz",
- sha256 = "966257a94e196b11bb43aca423754d87429960a768de9414f3691d6957abf125",
- strip_prefix = "mio-uds-0.6.7",
- build_file = Label("//proto/raze/remote:BUILD.mio-uds-0.6.7.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__miow__0_2_1",
- url = "https://crates.io/api/v1/crates/miow/0.2.1/download",
- type = "tar.gz",
- sha256 = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919",
- strip_prefix = "miow-0.2.1",
- build_file = Label("//proto/raze/remote:BUILD.miow-0.2.1.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__net2__0_2_33",
- url = "https://crates.io/api/v1/crates/net2/0.2.33/download",
- type = "tar.gz",
- sha256 = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88",
- strip_prefix = "net2-0.2.33",
- build_file = Label("//proto/raze/remote:BUILD.net2-0.2.33.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__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("//proto/raze/remote:BUILD.num_cpus-1.13.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__parking_lot__0_9_0",
- url = "https://crates.io/api/v1/crates/parking_lot/0.9.0/download",
- type = "tar.gz",
- sha256 = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252",
- strip_prefix = "parking_lot-0.9.0",
- build_file = Label("//proto/raze/remote:BUILD.parking_lot-0.9.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__parking_lot_core__0_6_2",
- url = "https://crates.io/api/v1/crates/parking_lot_core/0.6.2/download",
- type = "tar.gz",
- sha256 = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b",
- strip_prefix = "parking_lot_core-0.6.2",
- build_file = Label("//proto/raze/remote:BUILD.parking_lot_core-0.6.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__protobuf__2_8_2",
- url = "https://crates.io/api/v1/crates/protobuf/2.8.2/download",
- type = "tar.gz",
- sha256 = "70731852eec72c56d11226c8a5f96ad5058a3dab73647ca5f7ee351e464f2571",
- strip_prefix = "protobuf-2.8.2",
- patches = [
- "@rules_rust//proto/raze/patch:protobuf-2.8.2.patch",
- ],
- patch_args = [
- "-p1",
- ],
- build_file = Label("//proto/raze/remote:BUILD.protobuf-2.8.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__protobuf_codegen__2_8_2",
- url = "https://crates.io/api/v1/crates/protobuf-codegen/2.8.2/download",
- type = "tar.gz",
- sha256 = "3d74b9cbbf2ac9a7169c85a3714ec16c51ee9ec7cfd511549527e9a7df720795",
- strip_prefix = "protobuf-codegen-2.8.2",
- build_file = Label("//proto/raze/remote:BUILD.protobuf-codegen-2.8.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__redox_syscall__0_1_56",
- url = "https://crates.io/api/v1/crates/redox_syscall/0.1.56/download",
- type = "tar.gz",
- sha256 = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84",
- strip_prefix = "redox_syscall-0.1.56",
- build_file = Label("//proto/raze/remote:BUILD.redox_syscall-0.1.56.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__rustc_version__0_2_3",
- url = "https://crates.io/api/v1/crates/rustc_version/0.2.3/download",
- type = "tar.gz",
- sha256 = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a",
- strip_prefix = "rustc_version-0.2.3",
- build_file = Label("//proto/raze/remote:BUILD.rustc_version-0.2.3.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__safemem__0_3_3",
- url = "https://crates.io/api/v1/crates/safemem/0.3.3/download",
- type = "tar.gz",
- sha256 = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072",
- strip_prefix = "safemem-0.3.3",
- build_file = Label("//proto/raze/remote:BUILD.safemem-0.3.3.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__scoped_tls__0_1_2",
- url = "https://crates.io/api/v1/crates/scoped-tls/0.1.2/download",
- type = "tar.gz",
- sha256 = "332ffa32bf586782a3efaeb58f127980944bbc8c4d6913a86107ac2a5ab24b28",
- strip_prefix = "scoped-tls-0.1.2",
- build_file = Label("//proto/raze/remote:BUILD.scoped-tls-0.1.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__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("//proto/raze/remote:BUILD.scopeguard-1.1.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__semver__0_9_0",
- url = "https://crates.io/api/v1/crates/semver/0.9.0/download",
- type = "tar.gz",
- sha256 = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403",
- strip_prefix = "semver-0.9.0",
- build_file = Label("//proto/raze/remote:BUILD.semver-0.9.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__semver_parser__0_7_0",
- url = "https://crates.io/api/v1/crates/semver-parser/0.7.0/download",
- type = "tar.gz",
- sha256 = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3",
- strip_prefix = "semver-parser-0.7.0",
- build_file = Label("//proto/raze/remote:BUILD.semver-parser-0.7.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__slab__0_3_0",
- url = "https://crates.io/api/v1/crates/slab/0.3.0/download",
- type = "tar.gz",
- sha256 = "17b4fcaed89ab08ef143da37bc52adbcc04d4a69014f4c1208d6b51f0c47bc23",
- strip_prefix = "slab-0.3.0",
- build_file = Label("//proto/raze/remote:BUILD.slab-0.3.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__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("//proto/raze/remote:BUILD.slab-0.4.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__smallvec__0_6_13",
- url = "https://crates.io/api/v1/crates/smallvec/0.6.13/download",
- type = "tar.gz",
- sha256 = "f7b0758c52e15a8b5e3691eae6cc559f08eee9406e548a4477ba4e67770a82b6",
- strip_prefix = "smallvec-0.6.13",
- build_file = Label("//proto/raze/remote:BUILD.smallvec-0.6.13.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__tls_api__0_1_22",
- url = "https://crates.io/api/v1/crates/tls-api/0.1.22/download",
- type = "tar.gz",
- sha256 = "049c03787a0595182357fbd487577947f4351b78ce20c3668f6d49f17feb13d1",
- strip_prefix = "tls-api-0.1.22",
- build_file = Label("//proto/raze/remote:BUILD.tls-api-0.1.22.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__tls_api_stub__0_1_22",
- url = "https://crates.io/api/v1/crates/tls-api-stub/0.1.22/download",
- type = "tar.gz",
- sha256 = "c9a0cc8c149724db9de7d73a0e1bc80b1a74f5394f08c6f301e11f9c35fa061e",
- strip_prefix = "tls-api-stub-0.1.22",
- build_file = Label("//proto/raze/remote:BUILD.tls-api-stub-0.1.22.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__tokio__0_1_22",
- url = "https://crates.io/api/v1/crates/tokio/0.1.22/download",
- type = "tar.gz",
- sha256 = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6",
- strip_prefix = "tokio-0.1.22",
- build_file = Label("//proto/raze/remote:BUILD.tokio-0.1.22.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__tokio_codec__0_1_2",
- url = "https://crates.io/api/v1/crates/tokio-codec/0.1.2/download",
- type = "tar.gz",
- sha256 = "25b2998660ba0e70d18684de5d06b70b70a3a747469af9dea7618cc59e75976b",
- strip_prefix = "tokio-codec-0.1.2",
- build_file = Label("//proto/raze/remote:BUILD.tokio-codec-0.1.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__tokio_core__0_1_17",
- url = "https://crates.io/api/v1/crates/tokio-core/0.1.17/download",
- type = "tar.gz",
- sha256 = "aeeffbbb94209023feaef3c196a41cbcdafa06b4a6f893f68779bb5e53796f71",
- strip_prefix = "tokio-core-0.1.17",
- build_file = Label("//proto/raze/remote:BUILD.tokio-core-0.1.17.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__tokio_current_thread__0_1_7",
- url = "https://crates.io/api/v1/crates/tokio-current-thread/0.1.7/download",
- type = "tar.gz",
- sha256 = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e",
- strip_prefix = "tokio-current-thread-0.1.7",
- build_file = Label("//proto/raze/remote:BUILD.tokio-current-thread-0.1.7.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__tokio_executor__0_1_10",
- url = "https://crates.io/api/v1/crates/tokio-executor/0.1.10/download",
- type = "tar.gz",
- sha256 = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671",
- strip_prefix = "tokio-executor-0.1.10",
- build_file = Label("//proto/raze/remote:BUILD.tokio-executor-0.1.10.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__tokio_fs__0_1_7",
- url = "https://crates.io/api/v1/crates/tokio-fs/0.1.7/download",
- type = "tar.gz",
- sha256 = "297a1206e0ca6302a0eed35b700d292b275256f596e2f3fea7729d5e629b6ff4",
- strip_prefix = "tokio-fs-0.1.7",
- build_file = Label("//proto/raze/remote:BUILD.tokio-fs-0.1.7.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__tokio_io__0_1_13",
- url = "https://crates.io/api/v1/crates/tokio-io/0.1.13/download",
- type = "tar.gz",
- sha256 = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674",
- strip_prefix = "tokio-io-0.1.13",
- build_file = Label("//proto/raze/remote:BUILD.tokio-io-0.1.13.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__tokio_reactor__0_1_12",
- url = "https://crates.io/api/v1/crates/tokio-reactor/0.1.12/download",
- type = "tar.gz",
- sha256 = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351",
- strip_prefix = "tokio-reactor-0.1.12",
- build_file = Label("//proto/raze/remote:BUILD.tokio-reactor-0.1.12.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__tokio_sync__0_1_8",
- url = "https://crates.io/api/v1/crates/tokio-sync/0.1.8/download",
- type = "tar.gz",
- sha256 = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee",
- strip_prefix = "tokio-sync-0.1.8",
- build_file = Label("//proto/raze/remote:BUILD.tokio-sync-0.1.8.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__tokio_tcp__0_1_4",
- url = "https://crates.io/api/v1/crates/tokio-tcp/0.1.4/download",
- type = "tar.gz",
- sha256 = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72",
- strip_prefix = "tokio-tcp-0.1.4",
- build_file = Label("//proto/raze/remote:BUILD.tokio-tcp-0.1.4.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__tokio_threadpool__0_1_18",
- url = "https://crates.io/api/v1/crates/tokio-threadpool/0.1.18/download",
- type = "tar.gz",
- sha256 = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89",
- strip_prefix = "tokio-threadpool-0.1.18",
- build_file = Label("//proto/raze/remote:BUILD.tokio-threadpool-0.1.18.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__tokio_timer__0_1_2",
- url = "https://crates.io/api/v1/crates/tokio-timer/0.1.2/download",
- type = "tar.gz",
- sha256 = "6131e780037787ff1b3f8aad9da83bca02438b72277850dd6ad0d455e0e20efc",
- strip_prefix = "tokio-timer-0.1.2",
- build_file = Label("//proto/raze/remote:BUILD.tokio-timer-0.1.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__tokio_timer__0_2_13",
- url = "https://crates.io/api/v1/crates/tokio-timer/0.2.13/download",
- type = "tar.gz",
- sha256 = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296",
- strip_prefix = "tokio-timer-0.2.13",
- build_file = Label("//proto/raze/remote:BUILD.tokio-timer-0.2.13.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__tokio_tls_api__0_1_22",
- url = "https://crates.io/api/v1/crates/tokio-tls-api/0.1.22/download",
- type = "tar.gz",
- sha256 = "68d0e040d5b1f4cfca70ec4f371229886a5de5bb554d272a4a8da73004a7b2c9",
- strip_prefix = "tokio-tls-api-0.1.22",
- build_file = Label("//proto/raze/remote:BUILD.tokio-tls-api-0.1.22.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__tokio_udp__0_1_6",
- url = "https://crates.io/api/v1/crates/tokio-udp/0.1.6/download",
- type = "tar.gz",
- sha256 = "e2a0b10e610b39c38b031a2fcab08e4b82f16ece36504988dcbd81dbba650d82",
- strip_prefix = "tokio-udp-0.1.6",
- build_file = Label("//proto/raze/remote:BUILD.tokio-udp-0.1.6.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__tokio_uds__0_1_7",
- url = "https://crates.io/api/v1/crates/tokio-uds/0.1.7/download",
- type = "tar.gz",
- sha256 = "65ae5d255ce739e8537221ed2942e0445f4b3b813daebac1c0050ddaaa3587f9",
- strip_prefix = "tokio-uds-0.1.7",
- build_file = Label("//proto/raze/remote:BUILD.tokio-uds-0.1.7.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__tokio_uds__0_2_6",
- url = "https://crates.io/api/v1/crates/tokio-uds/0.2.6/download",
- type = "tar.gz",
- sha256 = "5076db410d6fdc6523df7595447629099a1fdc47b3d9f896220780fa48faf798",
- strip_prefix = "tokio-uds-0.2.6",
- build_file = Label("//proto/raze/remote:BUILD.tokio-uds-0.2.6.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__unix_socket__0_5_0",
- url = "https://crates.io/api/v1/crates/unix_socket/0.5.0/download",
- type = "tar.gz",
- sha256 = "6aa2700417c405c38f5e6902d699345241c28c0b7ade4abaad71e35a87eb1564",
- strip_prefix = "unix_socket-0.5.0",
- build_file = Label("//proto/raze/remote:BUILD.unix_socket-0.5.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__void__1_0_2",
- url = "https://crates.io/api/v1/crates/void/1.0.2/download",
- type = "tar.gz",
- sha256 = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d",
- strip_prefix = "void-1.0.2",
- build_file = Label("//proto/raze/remote:BUILD.void-1.0.2.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__winapi__0_2_8",
- url = "https://crates.io/api/v1/crates/winapi/0.2.8/download",
- type = "tar.gz",
- sha256 = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a",
- strip_prefix = "winapi-0.2.8",
- build_file = Label("//proto/raze/remote:BUILD.winapi-0.2.8.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__winapi__0_3_8",
- url = "https://crates.io/api/v1/crates/winapi/0.3.8/download",
- type = "tar.gz",
- sha256 = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6",
- strip_prefix = "winapi-0.3.8",
- build_file = Label("//proto/raze/remote:BUILD.winapi-0.3.8.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__winapi_build__0_1_1",
- url = "https://crates.io/api/v1/crates/winapi-build/0.1.1/download",
- type = "tar.gz",
- sha256 = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc",
- strip_prefix = "winapi-build-0.1.1",
- build_file = Label("//proto/raze/remote:BUILD.winapi-build-0.1.1.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__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("//proto/raze/remote:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__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("//proto/raze/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
- )
-
- maybe(
- http_archive,
- name = "rules_rust_proto__ws2_32_sys__0_2_1",
- url = "https://crates.io/api/v1/crates/ws2_32-sys/0.2.1/download",
- type = "tar.gz",
- sha256 = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e",
- strip_prefix = "ws2_32-sys-0.2.1",
- build_file = Label("//proto/raze/remote:BUILD.ws2_32-sys-0.2.1.bazel"),
- )
diff --git a/proto/raze/patch/BUILD.bazel b/proto/raze/patch/BUILD.bazel
deleted file mode 100644
index 547d104185..0000000000
--- a/proto/raze/patch/BUILD.bazel
+++ /dev/null
@@ -1,19 +0,0 @@
-package(default_visibility = ["//proto/raze:__subpackages__"])
-
-filegroup(
- name = "patches",
- srcs = [
- "protobuf-2.8.2.patch",
- ],
-)
-
-filegroup(
- name = "distro",
- srcs = [
- "BUILD.bazel",
- "README.md",
- ] + glob([
- "*.patch",
- ]),
- visibility = ["//proto:__subpackages__"],
-)
diff --git a/proto/raze/remote/BUILD.autocfg-1.0.0.bazel b/proto/raze/remote/BUILD.autocfg-1.0.0.bazel
deleted file mode 100644
index 81f5a99df7..0000000000
--- a/proto/raze/remote/BUILD.autocfg-1.0.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 "//proto/raze", 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_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=autocfg",
- "manual",
- ],
- version = "1.0.0",
- # buildifier: leave-alone
- deps = [
- ],
-)
-
-# Unsupported target "rustflags" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.base64-0.9.3.bazel b/proto/raze/remote/BUILD.base64-0.9.3.bazel
deleted file mode 100644
index 153754c871..0000000000
--- a/proto/raze/remote/BUILD.base64-0.9.3.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 "//proto/raze", 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 "make_tables" with type "example" omitted
-
-rust_library(
- name = "base64",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=base64",
- "manual",
- ],
- version = "0.9.3",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__byteorder__1_3_4//:byteorder",
- "@rules_rust_proto__safemem__0_3_3//:safemem",
- ],
-)
-
-# 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/proto/raze/remote/BUILD.bazel b/proto/raze/remote/BUILD.bazel
deleted file mode 100644
index b49fb68667..0000000000
--- a/proto/raze/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/proto/raze/remote/BUILD.bitflags-1.2.1.bazel b/proto/raze/remote/BUILD.bitflags-1.2.1.bazel
deleted file mode 100644
index d66eec61f9..0000000000
--- a/proto/raze/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 "//proto/raze", 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/proto/raze/remote/BUILD.byteorder-1.3.4.bazel b/proto/raze/remote/BUILD.byteorder-1.3.4.bazel
deleted file mode 100644
index 6355af9a37..0000000000
--- a/proto/raze/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 "//proto/raze", 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/proto/raze/remote/BUILD.bytes-0.4.12.bazel b/proto/raze/remote/BUILD.bytes-0.4.12.bazel
deleted file mode 100644
index b396872e00..0000000000
--- a/proto/raze/remote/BUILD.bytes-0.4.12.bazel
+++ /dev/null
@@ -1,78 +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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "bytes" with type "bench" omitted
-
-rust_library(
- name = "bytes",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=bytes",
- "manual",
- ],
- version = "0.4.12",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__byteorder__1_3_4//:byteorder",
- "@rules_rust_proto__iovec__0_1_4//:iovec",
- ],
-)
-
-# 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_chain" with type "test" omitted
-
-# Unsupported target "test_debug" with type "test" omitted
-
-# Unsupported target "test_from_buf" 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/proto/raze/remote/BUILD.cfg-if-0.1.10.bazel b/proto/raze/remote/BUILD.cfg-if-0.1.10.bazel
deleted file mode 100644
index d7152921c0..0000000000
--- a/proto/raze/remote/BUILD.cfg-if-0.1.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 "//proto/raze", 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_features = [
- ],
- 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/proto/raze/remote/BUILD.cloudabi-0.0.3.bazel b/proto/raze/remote/BUILD.cloudabi-0.0.3.bazel
deleted file mode 100644
index 72f3ad786d..0000000000
--- a/proto/raze/remote/BUILD.cloudabi-0.0.3.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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "restricted", # BSD-2-Clause from expression "BSD-2-Clause"
-])
-
-# Generated Targets
-
-rust_library(
- name = "cloudabi",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "bitflags",
- "default",
- ],
- crate_root = "cloudabi.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=cloudabi",
- "manual",
- ],
- version = "0.0.3",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__bitflags__1_2_1//:bitflags",
- ],
-)
diff --git a/proto/raze/remote/BUILD.crossbeam-deque-0.7.3.bazel b/proto/raze/remote/BUILD.crossbeam-deque-0.7.3.bazel
deleted file mode 100644
index e04c7d6f14..0000000000
--- a/proto/raze/remote/BUILD.crossbeam-deque-0.7.3.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 "//proto/raze", 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 = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=crossbeam-deque",
- "manual",
- ],
- version = "0.7.3",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__crossbeam_epoch__0_8_2//:crossbeam_epoch",
- "@rules_rust_proto__crossbeam_utils__0_7_2//:crossbeam_utils",
- "@rules_rust_proto__maybe_uninit__2_0_0//:maybe_uninit",
- ],
-)
-
-# 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/proto/raze/remote/BUILD.crossbeam-epoch-0.8.2.bazel b/proto/raze/remote/BUILD.crossbeam-epoch-0.8.2.bazel
deleted file mode 100644
index 4d3dd1e13d..0000000000
--- a/proto/raze/remote/BUILD.crossbeam-epoch-0.8.2.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 "//proto/raze", 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 "build-script-build" with type "custom-build" 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 = [
- "default",
- "lazy_static",
- "std",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=crossbeam-epoch",
- "manual",
- ],
- version = "0.8.2",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__cfg_if__0_1_10//:cfg_if",
- "@rules_rust_proto__crossbeam_utils__0_7_2//:crossbeam_utils",
- "@rules_rust_proto__lazy_static__1_4_0//:lazy_static",
- "@rules_rust_proto__maybe_uninit__2_0_0//:maybe_uninit",
- "@rules_rust_proto__memoffset__0_5_4//:memoffset",
- "@rules_rust_proto__scopeguard__1_1_0//:scopeguard",
- ],
-)
diff --git a/proto/raze/remote/BUILD.crossbeam-queue-0.2.1.bazel b/proto/raze/remote/BUILD.crossbeam-queue-0.2.1.bazel
deleted file mode 100644
index ba6e779525..0000000000
--- a/proto/raze/remote/BUILD.crossbeam-queue-0.2.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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT OR (Apache-2.0 AND BSD-2-Clause)"
-])
-
-# Generated Targets
-
-rust_library(
- name = "crossbeam_queue",
- 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=crossbeam-queue",
- "manual",
- ],
- version = "0.2.1",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__cfg_if__0_1_10//:cfg_if",
- "@rules_rust_proto__crossbeam_utils__0_7_2//:crossbeam_utils",
- ],
-)
-
-# Unsupported target "array_queue" with type "test" omitted
-
-# Unsupported target "seg_queue" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.crossbeam-utils-0.7.2.bazel b/proto/raze/remote/BUILD.crossbeam-utils-0.7.2.bazel
deleted file mode 100644
index bbde1b87cb..0000000000
--- a/proto/raze/remote/BUILD.crossbeam-utils-0.7.2.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 "//proto/raze", 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 = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=crossbeam-utils",
- "manual",
- ],
- version = "0.7.2",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__cfg_if__0_1_10//:cfg_if",
- "@rules_rust_proto__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/proto/raze/remote/BUILD.fnv-1.0.6.bazel b/proto/raze/remote/BUILD.fnv-1.0.6.bazel
deleted file mode 100644
index c3651dc70c..0000000000
--- a/proto/raze/remote/BUILD.fnv-1.0.6.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 "//proto/raze", 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 = [
- ],
- crate_root = "lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=fnv",
- "manual",
- ],
- version = "1.0.6",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/proto/raze/remote/BUILD.fuchsia-zircon-0.3.3.bazel b/proto/raze/remote/BUILD.fuchsia-zircon-0.3.3.bazel
deleted file mode 100644
index 6107ce1a46..0000000000
--- a/proto/raze/remote/BUILD.fuchsia-zircon-0.3.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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # BSD-3-Clause from expression "BSD-3-Clause"
-])
-
-# Generated Targets
-
-rust_library(
- name = "fuchsia_zircon",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=fuchsia-zircon",
- "manual",
- ],
- version = "0.3.3",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__bitflags__1_2_1//:bitflags",
- "@rules_rust_proto__fuchsia_zircon_sys__0_3_3//:fuchsia_zircon_sys",
- ],
-)
diff --git a/proto/raze/remote/BUILD.fuchsia-zircon-sys-0.3.3.bazel b/proto/raze/remote/BUILD.fuchsia-zircon-sys-0.3.3.bazel
deleted file mode 100644
index 834ea8bd4d..0000000000
--- a/proto/raze/remote/BUILD.fuchsia-zircon-sys-0.3.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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # BSD-3-Clause from expression "BSD-3-Clause"
-])
-
-# Generated Targets
-
-# Unsupported target "hello" with type "example" omitted
-
-rust_library(
- name = "fuchsia_zircon_sys",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=fuchsia-zircon-sys",
- "manual",
- ],
- version = "0.3.3",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/proto/raze/remote/BUILD.futures-0.1.29.bazel b/proto/raze/remote/BUILD.futures-0.1.29.bazel
deleted file mode 100644
index 9f38be3c66..0000000000
--- a/proto/raze/remote/BUILD.futures-0.1.29.bazel
+++ /dev/null
@@ -1,119 +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 "//proto/raze", 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 "bilock" with type "bench" omitted
-
-# Unsupported target "futures_unordered" with type "bench" omitted
-
-# Unsupported target "poll" with type "bench" omitted
-
-# Unsupported target "sync_mpsc" with type "bench" omitted
-
-# Unsupported target "thread_notify" with type "bench" omitted
-
-rust_library(
- name = "futures",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "default",
- "use_std",
- "with-deprecated",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=futures",
- "manual",
- ],
- version = "0.1.29",
- # buildifier: leave-alone
- deps = [
- ],
-)
-
-# Unsupported target "all" with type "test" omitted
-
-# Unsupported target "bilock" with type "test" omitted
-
-# Unsupported target "buffer_unordered" with type "test" omitted
-
-# Unsupported target "channel" with type "test" omitted
-
-# Unsupported target "eager_drop" with type "test" omitted
-
-# Unsupported target "eventual" with type "test" omitted
-
-# Unsupported target "fuse" with type "test" omitted
-
-# Unsupported target "future_flatten_stream" with type "test" omitted
-
-# Unsupported target "futures_ordered" with type "test" omitted
-
-# Unsupported target "futures_unordered" with type "test" omitted
-
-# Unsupported target "inspect" 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
-
-# Unsupported target "ready_queue" with type "test" omitted
-
-# Unsupported target "recurse" with type "test" omitted
-
-# Unsupported target "select_all" with type "test" omitted
-
-# Unsupported target "select_ok" with type "test" omitted
-
-# Unsupported target "shared" with type "test" omitted
-
-# Unsupported target "sink" with type "test" omitted
-
-# Unsupported target "split" with type "test" omitted
-
-# Unsupported target "stream" with type "test" omitted
-
-# Unsupported target "stream_catch_unwind" with type "test" omitted
-
-# Unsupported target "unfold" with type "test" omitted
-
-# Unsupported target "unsync" with type "test" omitted
-
-# Unsupported target "unsync-oneshot" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.futures-cpupool-0.1.8.bazel b/proto/raze/remote/BUILD.futures-cpupool-0.1.8.bazel
deleted file mode 100644
index adffc2fbb0..0000000000
--- a/proto/raze/remote/BUILD.futures-cpupool-0.1.8.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 "//proto/raze", 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_cpupool",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "default",
- "with-deprecated",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=futures-cpupool",
- "manual",
- ],
- version = "0.1.8",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__futures__0_1_29//:futures",
- "@rules_rust_proto__num_cpus__1_13_0//:num_cpus",
- ],
-)
-
-# Unsupported target "smoke" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.grpc-0.6.2.bazel b/proto/raze/remote/BUILD.grpc-0.6.2.bazel
deleted file mode 100644
index f440d661bc..0000000000
--- a/proto/raze/remote/BUILD.grpc-0.6.2.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 "//proto/raze", 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 = "grpc",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=grpc",
- "manual",
- ],
- version = "0.6.2",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__base64__0_9_3//:base64",
- "@rules_rust_proto__bytes__0_4_12//:bytes",
- "@rules_rust_proto__futures__0_1_29//:futures",
- "@rules_rust_proto__futures_cpupool__0_1_8//:futures_cpupool",
- "@rules_rust_proto__httpbis__0_7_0//:httpbis",
- "@rules_rust_proto__log__0_4_6//:log",
- "@rules_rust_proto__protobuf__2_8_2//:protobuf",
- "@rules_rust_proto__tls_api__0_1_22//:tls_api",
- "@rules_rust_proto__tls_api_stub__0_1_22//:tls_api_stub",
- "@rules_rust_proto__tokio_core__0_1_17//:tokio_core",
- "@rules_rust_proto__tokio_io__0_1_13//:tokio_io",
- "@rules_rust_proto__tokio_tls_api__0_1_22//:tokio_tls_api",
- ],
-)
-
-# Unsupported target "client" with type "test" omitted
-
-# Unsupported target "server" with type "test" omitted
-
-# Unsupported target "simple" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.grpc-compiler-0.6.2.bazel b/proto/raze/remote/BUILD.grpc-compiler-0.6.2.bazel
deleted file mode 100644
index 81d7e7f909..0000000000
--- a/proto/raze/remote/BUILD.grpc-compiler-0.6.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 "//proto/raze", 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_protoc_gen_rust_grpc",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/bin/protoc-gen-rust-grpc.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=protoc-gen-rust-grpc",
- "manual",
- ],
- version = "0.6.2",
- # buildifier: leave-alone
- deps = [
- ":grpc_compiler",
- "@rules_rust_proto__protobuf__2_8_2//:protobuf",
- "@rules_rust_proto__protobuf_codegen__2_8_2//:protobuf_codegen",
- ],
-)
-
-rust_library(
- name = "grpc_compiler",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=grpc-compiler",
- "manual",
- ],
- version = "0.6.2",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__protobuf__2_8_2//:protobuf",
- "@rules_rust_proto__protobuf_codegen__2_8_2//:protobuf_codegen",
- ],
-)
diff --git a/proto/raze/remote/BUILD.hermit-abi-0.1.11.bazel b/proto/raze/remote/BUILD.hermit-abi-0.1.11.bazel
deleted file mode 100644
index 8585a8f50c..0000000000
--- a/proto/raze/remote/BUILD.hermit-abi-0.1.11.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 "//proto/raze", 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_features = [
- "default",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=hermit-abi",
- "manual",
- ],
- version = "0.1.11",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__libc__0_2_69//:libc",
- ],
-)
diff --git a/proto/raze/remote/BUILD.httpbis-0.7.0.bazel b/proto/raze/remote/BUILD.httpbis-0.7.0.bazel
deleted file mode 100644
index 39b0052964..0000000000
--- a/proto/raze/remote/BUILD.httpbis-0.7.0.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 "//proto/raze", 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_server" with type "bench" omitted
-
-# Unsupported target "build-script-build" with type "custom-build" omitted
-
-# Unsupported target "client" with type "example" omitted
-
-# Unsupported target "server" with type "example" omitted
-
-rust_library(
- name = "httpbis",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=httpbis",
- "manual",
- ],
- version = "0.7.0",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__bytes__0_4_12//:bytes",
- "@rules_rust_proto__futures__0_1_29//:futures",
- "@rules_rust_proto__futures_cpupool__0_1_8//:futures_cpupool",
- "@rules_rust_proto__log__0_4_6//:log",
- "@rules_rust_proto__net2__0_2_33//:net2",
- "@rules_rust_proto__tls_api__0_1_22//:tls_api",
- "@rules_rust_proto__tls_api_stub__0_1_22//:tls_api_stub",
- "@rules_rust_proto__tokio_core__0_1_17//:tokio_core",
- "@rules_rust_proto__tokio_io__0_1_13//:tokio_io",
- "@rules_rust_proto__tokio_timer__0_1_2//:tokio_timer",
- "@rules_rust_proto__tokio_tls_api__0_1_22//:tokio_tls_api",
- "@rules_rust_proto__void__1_0_2//:void",
- ] + selects.with_or({
- # cfg(unix)
- (
- "@rules_rust//rust/platform:i686-apple-darwin",
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-darwin",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- "@rules_rust//rust/platform:aarch64-apple-darwin",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- ): [
- "@rules_rust_proto__tokio_uds__0_1_7//:tokio_uds",
- "@rules_rust_proto__unix_socket__0_5_0//:unix_socket",
- ],
- "//conditions:default": [],
- }),
-)
diff --git a/proto/raze/remote/BUILD.iovec-0.1.4.bazel b/proto/raze/remote/BUILD.iovec-0.1.4.bazel
deleted file mode 100644
index 3f47ec0b62..0000000000
--- a/proto/raze/remote/BUILD.iovec-0.1.4.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 "//proto/raze", 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 = "iovec",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=iovec",
- "manual",
- ],
- version = "0.1.4",
- # buildifier: leave-alone
- deps = [
- ] + selects.with_or({
- # cfg(unix)
- (
- "@rules_rust//rust/platform:i686-apple-darwin",
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-darwin",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- "@rules_rust//rust/platform:aarch64-apple-darwin",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- ): [
- "@rules_rust_proto__libc__0_2_69//:libc",
- ],
- "//conditions:default": [],
- }),
-)
diff --git a/proto/raze/remote/BUILD.kernel32-sys-0.2.2.bazel b/proto/raze/remote/BUILD.kernel32-sys-0.2.2.bazel
deleted file mode 100644
index 9c97df93b0..0000000000
--- a/proto/raze/remote/BUILD.kernel32-sys-0.2.2.bazel
+++ /dev/null
@@ -1,66 +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 "//proto/raze", 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
-
-alias(
- name = "kernel32_sys",
- actual = ":kernel32",
- tags = [
- "cargo-raze",
- "manual",
- ],
-)
-
-rust_library(
- name = "kernel32",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=kernel32",
- "manual",
- ],
- version = "0.2.2",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__winapi__0_2_8//:winapi",
- ],
-)
diff --git a/proto/raze/remote/BUILD.lazy_static-1.4.0.bazel b/proto/raze/remote/BUILD.lazy_static-1.4.0.bazel
deleted file mode 100644
index 8ca830a2de..0000000000
--- a/proto/raze/remote/BUILD.lazy_static-1.4.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 "//proto/raze", 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_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- "--cfg=lazy_static_heap_impl",
- ],
- 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/proto/raze/remote/BUILD.libc-0.2.69.bazel b/proto/raze/remote/BUILD.libc-0.2.69.bazel
deleted file mode 100644
index be5843ae14..0000000000
--- a/proto/raze/remote/BUILD.libc-0.2.69.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 "//proto/raze", 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 = "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.69",
- # buildifier: leave-alone
- deps = [
- ],
-)
-
-# Unsupported target "const_fn" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.lock_api-0.3.4.bazel b/proto/raze/remote/BUILD.lock_api-0.3.4.bazel
deleted file mode 100644
index 92c352123a..0000000000
--- a/proto/raze/remote/BUILD.lock_api-0.3.4.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 "//proto/raze", 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_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=lock_api",
- "manual",
- ],
- version = "0.3.4",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__scopeguard__1_1_0//:scopeguard",
- ],
-)
diff --git a/proto/raze/remote/BUILD.log-0.3.9.bazel b/proto/raze/remote/BUILD.log-0.3.9.bazel
deleted file mode 100644
index c50efa7343..0000000000
--- a/proto/raze/remote/BUILD.log-0.3.9.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 "//proto/raze", 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 = "log",
- 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=log",
- "manual",
- ],
- version = "0.3.9",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__log__0_4_6//:log",
- ],
-)
diff --git a/proto/raze/remote/BUILD.log-0.4.6.bazel b/proto/raze/remote/BUILD.log-0.4.6.bazel
deleted file mode 100644
index 0105df1068..0000000000
--- a/proto/raze/remote/BUILD.log-0.4.6.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 "//proto/raze", 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 = "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.6",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__cfg_if__0_1_10//:cfg_if",
- ],
-)
-
-# Unsupported target "filters" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.maybe-uninit-2.0.0.bazel b/proto/raze/remote/BUILD.maybe-uninit-2.0.0.bazel
deleted file mode 100644
index d10bb6a98c..0000000000
--- a/proto/raze/remote/BUILD.maybe-uninit-2.0.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 "//proto/raze", 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 = "maybe_uninit",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=maybe-uninit",
- "manual",
- ],
- version = "2.0.0",
- # buildifier: leave-alone
- deps = [
- ],
-)
-
-# Unsupported target "doesnt_drop" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.memoffset-0.5.4.bazel b/proto/raze/remote/BUILD.memoffset-0.5.4.bazel
deleted file mode 100644
index 82f4a1ec4a..0000000000
--- a/proto/raze/remote/BUILD.memoffset-0.5.4.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 "//proto/raze", 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.5.4",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/proto/raze/remote/BUILD.mio-0.6.21.bazel b/proto/raze/remote/BUILD.mio-0.6.21.bazel
deleted file mode 100644
index 1279eb2ab1..0000000000
--- a/proto/raze/remote/BUILD.mio-0.6.21.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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "bench_poll" with type "bench" omitted
-
-rust_library(
- name = "mio",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- "default",
- "with-deprecated",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=mio",
- "manual",
- ],
- version = "0.6.21",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__cfg_if__0_1_10//:cfg_if",
- "@rules_rust_proto__iovec__0_1_4//:iovec",
- "@rules_rust_proto__log__0_4_6//:log",
- "@rules_rust_proto__net2__0_2_33//:net2",
- "@rules_rust_proto__slab__0_4_2//:slab",
- ] + selects.with_or({
- # cfg(unix)
- (
- "@rules_rust//rust/platform:i686-apple-darwin",
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-darwin",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- "@rules_rust//rust/platform:aarch64-apple-darwin",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- ): [
- "@rules_rust_proto__libc__0_2_69//:libc",
- ],
- "//conditions:default": [],
- }) + selects.with_or({
- # cfg(windows)
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- "@rules_rust_proto__kernel32_sys__0_2_2//:kernel32_sys",
- "@rules_rust_proto__miow__0_2_1//:miow",
- "@rules_rust_proto__winapi__0_2_8//:winapi",
- ],
- "//conditions:default": [],
- }),
-)
-
-# Unsupported target "test" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.mio-uds-0.6.7.bazel b/proto/raze/remote/BUILD.mio-uds-0.6.7.bazel
deleted file mode 100644
index 42b9b0b891..0000000000
--- a/proto/raze/remote/BUILD.mio-uds-0.6.7.bazel
+++ /dev/null
@@ -1,85 +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 "//proto/raze", 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 = "mio_uds",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=mio-uds",
- "manual",
- ],
- version = "0.6.7",
- # buildifier: leave-alone
- deps = [
- ] + selects.with_or({
- # cfg(unix)
- (
- "@rules_rust//rust/platform:i686-apple-darwin",
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-darwin",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- "@rules_rust//rust/platform:aarch64-apple-darwin",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- ): [
- "@rules_rust_proto__iovec__0_1_4//:iovec",
- "@rules_rust_proto__libc__0_2_69//:libc",
- "@rules_rust_proto__mio__0_6_21//:mio",
- ],
- "//conditions:default": [],
- }),
-)
-
-# Unsupported target "echo" with type "test" omitted
-
-# Unsupported target "smoke" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.miow-0.2.1.bazel b/proto/raze/remote/BUILD.miow-0.2.1.bazel
deleted file mode 100644
index e29645e124..0000000000
--- a/proto/raze/remote/BUILD.miow-0.2.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 "//proto/raze", 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 = "miow",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=miow",
- "manual",
- ],
- version = "0.2.1",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__kernel32_sys__0_2_2//:kernel32_sys",
- "@rules_rust_proto__net2__0_2_33//:net2",
- "@rules_rust_proto__winapi__0_2_8//:winapi",
- "@rules_rust_proto__ws2_32_sys__0_2_1//:ws2_32_sys",
- ],
-)
diff --git a/proto/raze/remote/BUILD.net2-0.2.33.bazel b/proto/raze/remote/BUILD.net2-0.2.33.bazel
deleted file mode 100644
index fda0b63c94..0000000000
--- a/proto/raze/remote/BUILD.net2-0.2.33.bazel
+++ /dev/null
@@ -1,93 +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 "//proto/raze", 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 = "net2",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- "default",
- "duration",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=net2",
- "manual",
- ],
- version = "0.2.33",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__cfg_if__0_1_10//:cfg_if",
- ] + selects.with_or({
- # cfg(any(target_os = "redox", unix))
- (
- "@rules_rust//rust/platform:i686-apple-darwin",
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-darwin",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- "@rules_rust//rust/platform:aarch64-apple-darwin",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- ): [
- "@rules_rust_proto__libc__0_2_69//:libc",
- ],
- "//conditions:default": [],
- }) + selects.with_or({
- # cfg(windows)
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- "@rules_rust_proto__winapi__0_3_8//:winapi",
- ],
- "//conditions:default": [],
- }),
-)
-
-# Unsupported target "all" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.num_cpus-1.13.0.bazel b/proto/raze/remote/BUILD.num_cpus-1.13.0.bazel
deleted file mode 100644
index 87f9029f0a..0000000000
--- a/proto/raze/remote/BUILD.num_cpus-1.13.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 "//proto/raze", 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_features = [
- ],
- 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 = [
- "@rules_rust_proto__libc__0_2_69//:libc",
- ],
-)
diff --git a/proto/raze/remote/BUILD.parking_lot-0.9.0.bazel b/proto/raze/remote/BUILD.parking_lot-0.9.0.bazel
deleted file mode 100644
index de0873a2e4..0000000000
--- a/proto/raze/remote/BUILD.parking_lot-0.9.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 "//proto/raze", 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 = "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.9.0",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__lock_api__0_3_4//:lock_api",
- "@rules_rust_proto__parking_lot_core__0_6_2//:parking_lot_core",
- ],
-)
diff --git a/proto/raze/remote/BUILD.parking_lot_core-0.6.2.bazel b/proto/raze/remote/BUILD.parking_lot_core-0.6.2.bazel
deleted file mode 100644
index 71c073e9fc..0000000000
--- a/proto/raze/remote/BUILD.parking_lot_core-0.6.2.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 "//proto/raze", 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 = "parking_lot_core",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2018",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=parking_lot_core",
- "manual",
- ],
- version = "0.6.2",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__cfg_if__0_1_10//:cfg_if",
- "@rules_rust_proto__smallvec__0_6_13//:smallvec",
- ] + selects.with_or({
- # cfg(unix)
- (
- "@rules_rust//rust/platform:i686-apple-darwin",
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-darwin",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- "@rules_rust//rust/platform:aarch64-apple-darwin",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- ): [
- "@rules_rust_proto__libc__0_2_69//:libc",
- ],
- "//conditions:default": [],
- }) + selects.with_or({
- # cfg(windows)
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- "@rules_rust_proto__winapi__0_3_8//:winapi",
- ],
- "//conditions:default": [],
- }),
-)
diff --git a/proto/raze/remote/BUILD.protobuf-2.8.2.bazel b/proto/raze/remote/BUILD.protobuf-2.8.2.bazel
deleted file mode 100644
index a986e910c5..0000000000
--- a/proto/raze/remote/BUILD.protobuf-2.8.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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "coded_input_stream" with type "bench" omitted
-
-# Unsupported target "coded_output_stream" with type "bench" omitted
-
-# Unsupported target "build-script-build" with type "custom-build" omitted
-
-rust_library(
- name = "protobuf",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "bytes",
- "with-bytes",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=protobuf",
- "manual",
- ],
- version = "2.8.2",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__bytes__0_4_12//:bytes",
- ],
-)
diff --git a/proto/raze/remote/BUILD.protobuf-codegen-2.8.2.bazel b/proto/raze/remote/BUILD.protobuf-codegen-2.8.2.bazel
deleted file mode 100644
index a087c0201a..0000000000
--- a/proto/raze/remote/BUILD.protobuf-codegen-2.8.2.bazel
+++ /dev/null
@@ -1,107 +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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# 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_protobuf_bin_gen_rust_do_not_use",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/bin/protobuf-bin-gen-rust-do-not-use.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=protobuf-bin-gen-rust-do-not-use",
- "manual",
- ],
- version = "2.8.2",
- # buildifier: leave-alone
- deps = [
- ":protobuf_codegen",
- "@rules_rust_proto__protobuf__2_8_2//:protobuf",
- ],
-)
-
-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_protoc_gen_rust",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/bin/protoc-gen-rust.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=protoc-gen-rust",
- "manual",
- ],
- version = "2.8.2",
- # buildifier: leave-alone
- deps = [
- ":protobuf_codegen",
- "@rules_rust_proto__protobuf__2_8_2//:protobuf",
- ],
-)
-
-rust_library(
- name = "protobuf_codegen",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=protobuf-codegen",
- "manual",
- ],
- version = "2.8.2",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__protobuf__2_8_2//:protobuf",
- ],
-)
diff --git a/proto/raze/remote/BUILD.redox_syscall-0.1.56.bazel b/proto/raze/remote/BUILD.redox_syscall-0.1.56.bazel
deleted file mode 100644
index 4e8046d331..0000000000
--- a/proto/raze/remote/BUILD.redox_syscall-0.1.56.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 "//proto/raze", 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_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=syscall",
- "manual",
- ],
- version = "0.1.56",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/proto/raze/remote/BUILD.rustc_version-0.2.3.bazel b/proto/raze/remote/BUILD.rustc_version-0.2.3.bazel
deleted file mode 100644
index 3ccc8297a1..0000000000
--- a/proto/raze/remote/BUILD.rustc_version-0.2.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 "//proto/raze", 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 = "rustc_version",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=rustc_version",
- "manual",
- ],
- version = "0.2.3",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__semver__0_9_0//:semver",
- ],
-)
diff --git a/proto/raze/remote/BUILD.safemem-0.3.3.bazel b/proto/raze/remote/BUILD.safemem-0.3.3.bazel
deleted file mode 100644
index c83b554bda..0000000000
--- a/proto/raze/remote/BUILD.safemem-0.3.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 "//proto/raze", 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 = "safemem",
- 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=safemem",
- "manual",
- ],
- version = "0.3.3",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/proto/raze/remote/BUILD.scoped-tls-0.1.2.bazel b/proto/raze/remote/BUILD.scoped-tls-0.1.2.bazel
deleted file mode 100644
index a209ba2799..0000000000
--- a/proto/raze/remote/BUILD.scoped-tls-0.1.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 "//proto/raze", 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 = "scoped_tls",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=scoped-tls",
- "manual",
- ],
- version = "0.1.2",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/proto/raze/remote/BUILD.scopeguard-1.1.0.bazel b/proto/raze/remote/BUILD.scopeguard-1.1.0.bazel
deleted file mode 100644
index eda9312184..0000000000
--- a/proto/raze/remote/BUILD.scopeguard-1.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 "//proto/raze", 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_features = [
- ],
- 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/proto/raze/remote/BUILD.semver-0.9.0.bazel b/proto/raze/remote/BUILD.semver-0.9.0.bazel
deleted file mode 100644
index c4223cf8f3..0000000000
--- a/proto/raze/remote/BUILD.semver-0.9.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 "//proto/raze", 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 = "semver",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- "default",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=semver",
- "manual",
- ],
- version = "0.9.0",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__semver_parser__0_7_0//:semver_parser",
- ],
-)
-
-# Unsupported target "deprecation" with type "test" omitted
-
-# Unsupported target "regression" with type "test" omitted
-
-# Unsupported target "serde" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.semver-parser-0.7.0.bazel b/proto/raze/remote/BUILD.semver-parser-0.7.0.bazel
deleted file mode 100644
index d6c48333e4..0000000000
--- a/proto/raze/remote/BUILD.semver-parser-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 "//proto/raze", 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 = "semver_parser",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=semver-parser",
- "manual",
- ],
- version = "0.7.0",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/proto/raze/remote/BUILD.slab-0.3.0.bazel b/proto/raze/remote/BUILD.slab-0.3.0.bazel
deleted file mode 100644
index 5cab0ab005..0000000000
--- a/proto/raze/remote/BUILD.slab-0.3.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 "//proto/raze", 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_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=slab",
- "manual",
- ],
- version = "0.3.0",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/proto/raze/remote/BUILD.slab-0.4.2.bazel b/proto/raze/remote/BUILD.slab-0.4.2.bazel
deleted file mode 100644
index 1cfaa933ca..0000000000
--- a/proto/raze/remote/BUILD.slab-0.4.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 "//proto/raze", 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_features = [
- ],
- 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/proto/raze/remote/BUILD.smallvec-0.6.13.bazel b/proto/raze/remote/BUILD.smallvec-0.6.13.bazel
deleted file mode 100644
index 0118109bf2..0000000000
--- a/proto/raze/remote/BUILD.smallvec-0.6.13.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 "//proto/raze", 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_features = [
- "default",
- "std",
- ],
- crate_root = "lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=smallvec",
- "manual",
- ],
- version = "0.6.13",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__maybe_uninit__2_0_0//:maybe_uninit",
- ],
-)
diff --git a/proto/raze/remote/BUILD.tls-api-0.1.22.bazel b/proto/raze/remote/BUILD.tls-api-0.1.22.bazel
deleted file mode 100644
index 51f3d9832c..0000000000
--- a/proto/raze/remote/BUILD.tls-api-0.1.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 "//proto/raze", 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 = "tls_api",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=tls-api",
- "manual",
- ],
- version = "0.1.22",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__log__0_4_6//:log",
- ],
-)
diff --git a/proto/raze/remote/BUILD.tls-api-stub-0.1.22.bazel b/proto/raze/remote/BUILD.tls-api-stub-0.1.22.bazel
deleted file mode 100644
index 74bc1cf655..0000000000
--- a/proto/raze/remote/BUILD.tls-api-stub-0.1.22.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 "//proto/raze", 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 = "tls_api_stub",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=tls-api-stub",
- "manual",
- ],
- version = "0.1.22",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__tls_api__0_1_22//:tls_api",
- "@rules_rust_proto__void__1_0_2//:void",
- ],
-)
diff --git a/proto/raze/remote/BUILD.tokio-0.1.22.bazel b/proto/raze/remote/BUILD.tokio-0.1.22.bazel
deleted file mode 100644
index e73a2992ea..0000000000
--- a/proto/raze/remote/BUILD.tokio-0.1.22.bazel
+++ /dev/null
@@ -1,172 +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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "blocking" with type "example" omitted
-
-# Unsupported target "chat" with type "example" omitted
-
-# Unsupported target "chat-combinator" with type "example" omitted
-
-# Unsupported target "chat-combinator-current-thread" with type "example" omitted
-
-# Unsupported target "connect" with type "example" omitted
-
-# Unsupported target "echo" with type "example" omitted
-
-# Unsupported target "echo-udp" with type "example" omitted
-
-# Unsupported target "hello_world" with type "example" omitted
-
-# Unsupported target "manual-runtime" with type "example" omitted
-
-# Unsupported target "print_each_packet" with type "example" omitted
-
-# Unsupported target "proxy" with type "example" omitted
-
-# Unsupported target "tinydb" with type "example" omitted
-
-# Unsupported target "tinyhttp" with type "example" omitted
-
-# Unsupported target "udp-client" with type "example" omitted
-
-# Unsupported target "udp-codec" with type "example" omitted
-
-rust_library(
- name = "tokio",
- srcs = glob(["**/*.rs"]),
- aliases = {
- },
- crate_features = [
- "bytes",
- "codec",
- "default",
- "fs",
- "io",
- "mio",
- "num_cpus",
- "reactor",
- "rt-full",
- "sync",
- "tcp",
- "timer",
- "tokio-codec",
- "tokio-current-thread",
- "tokio-executor",
- "tokio-fs",
- "tokio-io",
- "tokio-reactor",
- "tokio-sync",
- "tokio-tcp",
- "tokio-threadpool",
- "tokio-timer",
- "tokio-udp",
- "tokio-uds",
- "udp",
- "uds",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=tokio",
- "manual",
- ],
- version = "0.1.22",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__bytes__0_4_12//:bytes",
- "@rules_rust_proto__futures__0_1_29//:futures",
- "@rules_rust_proto__mio__0_6_21//:mio",
- "@rules_rust_proto__num_cpus__1_13_0//:num_cpus",
- "@rules_rust_proto__tokio_codec__0_1_2//:tokio_codec",
- "@rules_rust_proto__tokio_current_thread__0_1_7//:tokio_current_thread",
- "@rules_rust_proto__tokio_executor__0_1_10//:tokio_executor",
- "@rules_rust_proto__tokio_fs__0_1_7//:tokio_fs",
- "@rules_rust_proto__tokio_io__0_1_13//:tokio_io",
- "@rules_rust_proto__tokio_reactor__0_1_12//:tokio_reactor",
- "@rules_rust_proto__tokio_sync__0_1_8//:tokio_sync",
- "@rules_rust_proto__tokio_tcp__0_1_4//:tokio_tcp",
- "@rules_rust_proto__tokio_threadpool__0_1_18//:tokio_threadpool",
- "@rules_rust_proto__tokio_timer__0_2_13//:tokio_timer",
- "@rules_rust_proto__tokio_udp__0_1_6//:tokio_udp",
- ] + selects.with_or({
- # cfg(unix)
- (
- "@rules_rust//rust/platform:i686-apple-darwin",
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-darwin",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- "@rules_rust//rust/platform:aarch64-apple-darwin",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- ): [
- "@rules_rust_proto__tokio_uds__0_2_6//:tokio_uds",
- ],
- "//conditions:default": [],
- }),
-)
-
-# Unsupported target "buffered" with type "test" omitted
-
-# Unsupported target "clock" with type "test" omitted
-
-# Unsupported target "drop-core" with type "test" omitted
-
-# Unsupported target "enumerate" with type "test" omitted
-
-# Unsupported target "global" with type "test" omitted
-
-# Unsupported target "length_delimited" with type "test" omitted
-
-# Unsupported target "line-frames" with type "test" omitted
-
-# Unsupported target "pipe-hup" with type "test" omitted
-
-# Unsupported target "reactor" with type "test" omitted
-
-# Unsupported target "runtime" with type "test" omitted
-
-# Unsupported target "timer" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.tokio-codec-0.1.2.bazel b/proto/raze/remote/BUILD.tokio-codec-0.1.2.bazel
deleted file mode 100644
index 9e14f6e59a..0000000000
--- a/proto/raze/remote/BUILD.tokio-codec-0.1.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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
- name = "tokio_codec",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=tokio-codec",
- "manual",
- ],
- version = "0.1.2",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__bytes__0_4_12//:bytes",
- "@rules_rust_proto__futures__0_1_29//:futures",
- "@rules_rust_proto__tokio_io__0_1_13//:tokio_io",
- ],
-)
-
-# Unsupported target "codecs" 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
diff --git a/proto/raze/remote/BUILD.tokio-core-0.1.17.bazel b/proto/raze/remote/BUILD.tokio-core-0.1.17.bazel
deleted file mode 100644
index 5ba8d66332..0000000000
--- a/proto/raze/remote/BUILD.tokio-core-0.1.17.bazel
+++ /dev/null
@@ -1,119 +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 "//proto/raze", 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 "latency" with type "bench" omitted
-
-# Unsupported target "mio-ops" with type "bench" omitted
-
-# Unsupported target "tcp" with type "bench" omitted
-
-# Unsupported target "chat" with type "example" omitted
-
-# Unsupported target "compress" with type "example" omitted
-
-# Unsupported target "connect" with type "example" omitted
-
-# Unsupported target "echo" with type "example" omitted
-
-# Unsupported target "echo-threads" with type "example" omitted
-
-# Unsupported target "echo-udp" with type "example" omitted
-
-# Unsupported target "hello" with type "example" omitted
-
-# Unsupported target "proxy" with type "example" omitted
-
-# Unsupported target "sink" with type "example" omitted
-
-# Unsupported target "tinydb" with type "example" omitted
-
-# Unsupported target "tinyhttp" with type "example" omitted
-
-# Unsupported target "udp-codec" with type "example" omitted
-
-rust_library(
- name = "tokio_core",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=tokio-core",
- "manual",
- ],
- version = "0.1.17",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__bytes__0_4_12//:bytes",
- "@rules_rust_proto__futures__0_1_29//:futures",
- "@rules_rust_proto__iovec__0_1_4//:iovec",
- "@rules_rust_proto__log__0_4_6//:log",
- "@rules_rust_proto__mio__0_6_21//:mio",
- "@rules_rust_proto__scoped_tls__0_1_2//:scoped_tls",
- "@rules_rust_proto__tokio__0_1_22//:tokio",
- "@rules_rust_proto__tokio_executor__0_1_10//:tokio_executor",
- "@rules_rust_proto__tokio_io__0_1_13//:tokio_io",
- "@rules_rust_proto__tokio_reactor__0_1_12//:tokio_reactor",
- "@rules_rust_proto__tokio_timer__0_2_13//:tokio_timer",
- ],
-)
-
-# Unsupported target "buffered" with type "test" omitted
-
-# Unsupported target "chain" with type "test" omitted
-
-# Unsupported target "echo" with type "test" omitted
-
-# Unsupported target "interval" with type "test" omitted
-
-# Unsupported target "limit" with type "test" omitted
-
-# Unsupported target "line-frames" with type "test" omitted
-
-# Unsupported target "pipe-hup" with type "test" omitted
-
-# Unsupported target "spawn" with type "test" omitted
-
-# Unsupported target "stream-buffered" with type "test" omitted
-
-# Unsupported target "tcp" with type "test" omitted
-
-# Unsupported target "timeout" with type "test" omitted
-
-# Unsupported target "udp" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.tokio-current-thread-0.1.7.bazel b/proto/raze/remote/BUILD.tokio-current-thread-0.1.7.bazel
deleted file mode 100644
index 9e92a85925..0000000000
--- a/proto/raze/remote/BUILD.tokio-current-thread-0.1.7.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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
- name = "tokio_current_thread",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=tokio-current-thread",
- "manual",
- ],
- version = "0.1.7",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__futures__0_1_29//:futures",
- "@rules_rust_proto__tokio_executor__0_1_10//:tokio_executor",
- ],
-)
-
-# Unsupported target "current_thread" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.tokio-executor-0.1.10.bazel b/proto/raze/remote/BUILD.tokio-executor-0.1.10.bazel
deleted file mode 100644
index 1cd5a4dcf7..0000000000
--- a/proto/raze/remote/BUILD.tokio-executor-0.1.10.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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
- name = "tokio_executor",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=tokio-executor",
- "manual",
- ],
- version = "0.1.10",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__crossbeam_utils__0_7_2//:crossbeam_utils",
- "@rules_rust_proto__futures__0_1_29//:futures",
- ],
-)
-
-# Unsupported target "executor" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.tokio-fs-0.1.7.bazel b/proto/raze/remote/BUILD.tokio-fs-0.1.7.bazel
deleted file mode 100644
index 7b6c45b257..0000000000
--- a/proto/raze/remote/BUILD.tokio-fs-0.1.7.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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "std-echo" with type "example" omitted
-
-rust_library(
- name = "tokio_fs",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=tokio-fs",
- "manual",
- ],
- version = "0.1.7",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__futures__0_1_29//:futures",
- "@rules_rust_proto__tokio_io__0_1_13//:tokio_io",
- "@rules_rust_proto__tokio_threadpool__0_1_18//:tokio_threadpool",
- ],
-)
-
-# Unsupported target "dir" with type "test" omitted
-
-# Unsupported target "file" with type "test" omitted
-
-# Unsupported target "link" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.tokio-io-0.1.13.bazel b/proto/raze/remote/BUILD.tokio-io-0.1.13.bazel
deleted file mode 100644
index f407dc1406..0000000000
--- a/proto/raze/remote/BUILD.tokio-io-0.1.13.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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
- name = "tokio_io",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=tokio-io",
- "manual",
- ],
- version = "0.1.13",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__bytes__0_4_12//:bytes",
- "@rules_rust_proto__futures__0_1_29//:futures",
- "@rules_rust_proto__log__0_4_6//:log",
- ],
-)
-
-# Unsupported target "async_read" with type "test" omitted
-
-# Unsupported target "length_delimited" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.tokio-reactor-0.1.12.bazel b/proto/raze/remote/BUILD.tokio-reactor-0.1.12.bazel
deleted file mode 100644
index 9a371f2768..0000000000
--- a/proto/raze/remote/BUILD.tokio-reactor-0.1.12.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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "basic" with type "bench" omitted
-
-rust_library(
- name = "tokio_reactor",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=tokio-reactor",
- "manual",
- ],
- version = "0.1.12",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__crossbeam_utils__0_7_2//:crossbeam_utils",
- "@rules_rust_proto__futures__0_1_29//:futures",
- "@rules_rust_proto__lazy_static__1_4_0//:lazy_static",
- "@rules_rust_proto__log__0_4_6//:log",
- "@rules_rust_proto__mio__0_6_21//:mio",
- "@rules_rust_proto__num_cpus__1_13_0//:num_cpus",
- "@rules_rust_proto__parking_lot__0_9_0//:parking_lot",
- "@rules_rust_proto__slab__0_4_2//:slab",
- "@rules_rust_proto__tokio_executor__0_1_10//:tokio_executor",
- "@rules_rust_proto__tokio_io__0_1_13//:tokio_io",
- "@rules_rust_proto__tokio_sync__0_1_8//:tokio_sync",
- ],
-)
diff --git a/proto/raze/remote/BUILD.tokio-sync-0.1.8.bazel b/proto/raze/remote/BUILD.tokio-sync-0.1.8.bazel
deleted file mode 100644
index d5a752d89d..0000000000
--- a/proto/raze/remote/BUILD.tokio-sync-0.1.8.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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "mpsc" with type "bench" omitted
-
-# Unsupported target "oneshot" with type "bench" omitted
-
-rust_library(
- name = "tokio_sync",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=tokio-sync",
- "manual",
- ],
- version = "0.1.8",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__fnv__1_0_6//:fnv",
- "@rules_rust_proto__futures__0_1_29//:futures",
- ],
-)
-
-# Unsupported target "atomic_task" with type "test" omitted
-
-# Unsupported target "errors" with type "test" omitted
-
-# Unsupported target "fuzz_atomic_task" with type "test" omitted
-
-# Unsupported target "fuzz_list" with type "test" omitted
-
-# Unsupported target "fuzz_mpsc" with type "test" omitted
-
-# Unsupported target "fuzz_oneshot" with type "test" omitted
-
-# Unsupported target "fuzz_semaphore" with type "test" omitted
-
-# Unsupported target "lock" with type "test" omitted
-
-# Unsupported target "mpsc" with type "test" omitted
-
-# Unsupported target "oneshot" with type "test" omitted
-
-# Unsupported target "semaphore" with type "test" omitted
-
-# Unsupported target "watch" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.tokio-tcp-0.1.4.bazel b/proto/raze/remote/BUILD.tokio-tcp-0.1.4.bazel
deleted file mode 100644
index 6475b0653c..0000000000
--- a/proto/raze/remote/BUILD.tokio-tcp-0.1.4.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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
- name = "tokio_tcp",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=tokio-tcp",
- "manual",
- ],
- version = "0.1.4",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__bytes__0_4_12//:bytes",
- "@rules_rust_proto__futures__0_1_29//:futures",
- "@rules_rust_proto__iovec__0_1_4//:iovec",
- "@rules_rust_proto__mio__0_6_21//:mio",
- "@rules_rust_proto__tokio_io__0_1_13//:tokio_io",
- "@rules_rust_proto__tokio_reactor__0_1_12//:tokio_reactor",
- ],
-)
-
-# Unsupported target "chain" with type "test" omitted
-
-# Unsupported target "echo" with type "test" omitted
-
-# Unsupported target "limit" with type "test" omitted
-
-# Unsupported target "stream-buffered" with type "test" omitted
-
-# Unsupported target "tcp" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.tokio-threadpool-0.1.18.bazel b/proto/raze/remote/BUILD.tokio-threadpool-0.1.18.bazel
deleted file mode 100644
index b0abdeed7d..0000000000
--- a/proto/raze/remote/BUILD.tokio-threadpool-0.1.18.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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-# Unsupported target "basic" with type "bench" omitted
-
-# Unsupported target "blocking" with type "bench" omitted
-
-# Unsupported target "depth" with type "bench" omitted
-
-# Unsupported target "depth" with type "example" omitted
-
-# Unsupported target "hello" with type "example" omitted
-
-rust_library(
- name = "tokio_threadpool",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=tokio-threadpool",
- "manual",
- ],
- version = "0.1.18",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__crossbeam_deque__0_7_3//:crossbeam_deque",
- "@rules_rust_proto__crossbeam_queue__0_2_1//:crossbeam_queue",
- "@rules_rust_proto__crossbeam_utils__0_7_2//:crossbeam_utils",
- "@rules_rust_proto__futures__0_1_29//:futures",
- "@rules_rust_proto__lazy_static__1_4_0//:lazy_static",
- "@rules_rust_proto__log__0_4_6//:log",
- "@rules_rust_proto__num_cpus__1_13_0//:num_cpus",
- "@rules_rust_proto__slab__0_4_2//:slab",
- "@rules_rust_proto__tokio_executor__0_1_10//:tokio_executor",
- ],
-)
-
-# Unsupported target "blocking" with type "test" omitted
-
-# Unsupported target "hammer" with type "test" omitted
-
-# Unsupported target "threadpool" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.tokio-timer-0.1.2.bazel b/proto/raze/remote/BUILD.tokio-timer-0.1.2.bazel
deleted file mode 100644
index e287faf980..0000000000
--- a/proto/raze/remote/BUILD.tokio-timer-0.1.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 "//proto/raze", 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_timer",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=tokio-timer",
- "manual",
- ],
- version = "0.1.2",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__futures__0_1_29//:futures",
- "@rules_rust_proto__slab__0_3_0//:slab",
- ],
-)
-
-# Unsupported target "support" with type "test" omitted
-
-# Unsupported target "test_timer" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.tokio-timer-0.2.13.bazel b/proto/raze/remote/BUILD.tokio-timer-0.2.13.bazel
deleted file mode 100644
index 3a0b46e62c..0000000000
--- a/proto/raze/remote/BUILD.tokio-timer-0.2.13.bazel
+++ /dev/null
@@ -1,74 +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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
- name = "tokio_timer",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=tokio-timer",
- "manual",
- ],
- version = "0.2.13",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__crossbeam_utils__0_7_2//:crossbeam_utils",
- "@rules_rust_proto__futures__0_1_29//:futures",
- "@rules_rust_proto__slab__0_4_2//:slab",
- "@rules_rust_proto__tokio_executor__0_1_10//:tokio_executor",
- ],
-)
-
-# Unsupported target "clock" with type "test" omitted
-
-# Unsupported target "deadline" with type "test" omitted
-
-# Unsupported target "delay" with type "test" omitted
-
-# Unsupported target "hammer" with type "test" omitted
-
-# Unsupported target "interval" with type "test" omitted
-
-# Unsupported target "queue" with type "test" omitted
-
-# Unsupported target "throttle" with type "test" omitted
-
-# Unsupported target "timeout" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.tokio-tls-api-0.1.22.bazel b/proto/raze/remote/BUILD.tokio-tls-api-0.1.22.bazel
deleted file mode 100644
index ad4429a947..0000000000
--- a/proto/raze/remote/BUILD.tokio-tls-api-0.1.22.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 "//proto/raze", 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_tls_api",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=tokio-tls-api",
- "manual",
- ],
- version = "0.1.22",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__futures__0_1_29//:futures",
- "@rules_rust_proto__tls_api__0_1_22//:tls_api",
- "@rules_rust_proto__tokio_io__0_1_13//:tokio_io",
- ],
-)
-
-# Unsupported target "bad" with type "test" omitted
-
-# Unsupported target "smoke" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.tokio-udp-0.1.6.bazel b/proto/raze/remote/BUILD.tokio-udp-0.1.6.bazel
deleted file mode 100644
index 469f564ef9..0000000000
--- a/proto/raze/remote/BUILD.tokio-udp-0.1.6.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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
- name = "tokio_udp",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=tokio-udp",
- "manual",
- ],
- version = "0.1.6",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__bytes__0_4_12//:bytes",
- "@rules_rust_proto__futures__0_1_29//:futures",
- "@rules_rust_proto__log__0_4_6//:log",
- "@rules_rust_proto__mio__0_6_21//:mio",
- "@rules_rust_proto__tokio_codec__0_1_2//:tokio_codec",
- "@rules_rust_proto__tokio_io__0_1_13//:tokio_io",
- "@rules_rust_proto__tokio_reactor__0_1_12//:tokio_reactor",
- ],
-)
-
-# Unsupported target "udp" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.tokio-uds-0.1.7.bazel b/proto/raze/remote/BUILD.tokio-uds-0.1.7.bazel
deleted file mode 100644
index 3428469be6..0000000000
--- a/proto/raze/remote/BUILD.tokio-uds-0.1.7.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 "//proto/raze", 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_uds",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=tokio-uds",
- "manual",
- ],
- version = "0.1.7",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__bytes__0_4_12//:bytes",
- "@rules_rust_proto__futures__0_1_29//:futures",
- "@rules_rust_proto__iovec__0_1_4//:iovec",
- "@rules_rust_proto__libc__0_2_69//:libc",
- "@rules_rust_proto__log__0_3_9//:log",
- "@rules_rust_proto__mio__0_6_21//:mio",
- "@rules_rust_proto__mio_uds__0_6_7//:mio_uds",
- "@rules_rust_proto__tokio_core__0_1_17//:tokio_core",
- "@rules_rust_proto__tokio_io__0_1_13//:tokio_io",
- ],
-)
diff --git a/proto/raze/remote/BUILD.tokio-uds-0.2.6.bazel b/proto/raze/remote/BUILD.tokio-uds-0.2.6.bazel
deleted file mode 100644
index 80e4f8464a..0000000000
--- a/proto/raze/remote/BUILD.tokio-uds-0.2.6.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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
- name = "tokio_uds",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=tokio-uds",
- "manual",
- ],
- version = "0.2.6",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__bytes__0_4_12//:bytes",
- "@rules_rust_proto__futures__0_1_29//:futures",
- "@rules_rust_proto__iovec__0_1_4//:iovec",
- "@rules_rust_proto__libc__0_2_69//:libc",
- "@rules_rust_proto__log__0_4_6//:log",
- "@rules_rust_proto__mio__0_6_21//:mio",
- "@rules_rust_proto__mio_uds__0_6_7//:mio_uds",
- "@rules_rust_proto__tokio_codec__0_1_2//:tokio_codec",
- "@rules_rust_proto__tokio_io__0_1_13//:tokio_io",
- "@rules_rust_proto__tokio_reactor__0_1_12//:tokio_reactor",
- ],
-)
-
-# Unsupported target "datagram" with type "test" omitted
-
-# Unsupported target "stream" with type "test" omitted
diff --git a/proto/raze/remote/BUILD.unix_socket-0.5.0.bazel b/proto/raze/remote/BUILD.unix_socket-0.5.0.bazel
deleted file mode 100644
index c50e21e8cf..0000000000
--- a/proto/raze/remote/BUILD.unix_socket-0.5.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 "//proto/raze", 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 = "unix_socket",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=unix_socket",
- "manual",
- ],
- version = "0.5.0",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__cfg_if__0_1_10//:cfg_if",
- "@rules_rust_proto__libc__0_2_69//:libc",
- ],
-)
diff --git a/proto/raze/remote/BUILD.void-1.0.2.bazel b/proto/raze/remote/BUILD.void-1.0.2.bazel
deleted file mode 100644
index 1ac45cd805..0000000000
--- a/proto/raze/remote/BUILD.void-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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
- name = "void",
- 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=void",
- "manual",
- ],
- version = "1.0.2",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/proto/raze/remote/BUILD.winapi-0.2.8.bazel b/proto/raze/remote/BUILD.winapi-0.2.8.bazel
deleted file mode 100644
index c71906f921..0000000000
--- a/proto/raze/remote/BUILD.winapi-0.2.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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-rust_library(
- name = "winapi",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=winapi",
- "manual",
- ],
- version = "0.2.8",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/proto/raze/remote/BUILD.winapi-0.3.8.bazel b/proto/raze/remote/BUILD.winapi-0.3.8.bazel
deleted file mode 100644
index 6901ac3f69..0000000000
--- a/proto/raze/remote/BUILD.winapi-0.3.8.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 "//proto/raze", 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 = [
- "errhandlingapi",
- "handleapi",
- "minwindef",
- "ntstatus",
- "winbase",
- "winerror",
- "winnt",
- "winsock2",
- "ws2def",
- "ws2ipdef",
- "ws2tcpip",
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=winapi",
- "manual",
- ],
- version = "0.3.8",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/proto/raze/remote/BUILD.winapi-build-0.1.1.bazel b/proto/raze/remote/BUILD.winapi-build-0.1.1.bazel
deleted file mode 100644
index 605b46164b..0000000000
--- a/proto/raze/remote/BUILD.winapi-build-0.1.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 "//proto/raze", which limits external
- # visibility to explicit Cargo.toml dependencies.
- "//visibility:public",
-])
-
-licenses([
- "notice", # MIT from expression "MIT"
-])
-
-# Generated Targets
-
-alias(
- name = "winapi_build",
- actual = ":build",
- tags = [
- "cargo-raze",
- "manual",
- ],
-)
-
-rust_library(
- name = "build",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=build",
- "manual",
- ],
- version = "0.1.1",
- # buildifier: leave-alone
- deps = [
- ],
-)
diff --git a/proto/raze/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/proto/raze/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
deleted file mode 100644
index fd675d5d8b..0000000000
--- a/proto/raze/remote/BUILD.winapi-i686-pc-windows-gnu-0.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 "//proto/raze", 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_features = [
- ],
- 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/proto/raze/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/proto/raze/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
deleted file mode 100644
index 7adb7a7dd3..0000000000
--- a/proto/raze/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.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 "//proto/raze", 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_features = [
- ],
- 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/proto/raze/remote/BUILD.ws2_32-sys-0.2.1.bazel b/proto/raze/remote/BUILD.ws2_32-sys-0.2.1.bazel
deleted file mode 100644
index c569cae663..0000000000
--- a/proto/raze/remote/BUILD.ws2_32-sys-0.2.1.bazel
+++ /dev/null
@@ -1,66 +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 "//proto/raze", 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
-
-alias(
- name = "ws2_32_sys",
- actual = ":ws2_32",
- tags = [
- "cargo-raze",
- "manual",
- ],
-)
-
-rust_library(
- name = "ws2_32",
- srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = [],
- edition = "2015",
- rustc_flags = [
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-raze",
- "crate-name=ws2_32",
- "manual",
- ],
- version = "0.2.1",
- # buildifier: leave-alone
- deps = [
- "@rules_rust_proto__winapi__0_2_8//:winapi",
- ],
-)
diff --git a/proto/repositories.bzl b/proto/repositories.bzl
index af230336d6..159161394c 100644
--- a/proto/repositories.bzl
+++ b/proto/repositories.bzl
@@ -15,7 +15,7 @@
# buildifier: disable=module-docstring
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
-load("//proto/raze:crates.bzl", "rules_rust_proto_fetch_remote_crates")
+load("//proto/3rdparty/crates:defs.bzl", "crate_repositories")
# buildifier: disable=unnamed-macro
def rust_proto_repositories(register_default_toolchain = True):
@@ -48,11 +48,11 @@ def rust_proto_repositories(register_default_toolchain = True):
],
patch_args = ["-p1"],
patches = [
- Label("//proto/patches:com_google_protobuf-v3.10.0-bzl_visibility.patch"),
+ Label("//proto/3rdparty/patches:com_google_protobuf-v3.10.0-bzl_visibility.patch"),
],
)
- rules_rust_proto_fetch_remote_crates()
+ crate_repositories()
# Register toolchains
if register_default_toolchain:
diff --git a/proto/toolchain.bzl b/proto/toolchain.bzl
index 80c5cccd50..7225d0d187 100644
--- a/proto/toolchain.bzl
+++ b/proto/toolchain.bzl
@@ -129,14 +129,14 @@ def _rust_proto_toolchain_impl(ctx):
# Default dependencies needed to compile protobuf stubs.
PROTO_COMPILE_DEPS = [
- Label("//proto/raze:protobuf"),
+ Label("//proto/3rdparty/crates:protobuf"),
]
# Default dependencies needed to compile gRPC stubs.
GRPC_COMPILE_DEPS = PROTO_COMPILE_DEPS + [
- Label("//proto/raze:grpc"),
- Label("//proto/raze:tls_api"),
- Label("//proto/raze:tls_api_stub"),
+ Label("//proto/3rdparty/crates:grpc"),
+ Label("//proto/3rdparty/crates:tls-api"),
+ Label("//proto/3rdparty/crates:tls-api-stub"),
]
rust_proto_toolchain = rule(
diff --git a/rust/BUILD.bazel b/rust/BUILD.bazel
index 672f2287b0..f4edbd8b61 100644
--- a/rust/BUILD.bazel
+++ b/rust/BUILD.bazel
@@ -10,7 +10,14 @@ exports_files([
])
toolchain_type(
+ name = "toolchain_type",
+)
+
+alias(
name = "toolchain",
+ actual = "toolchain_type",
+ deprecation = "instead use `@rules_rust//rust:toolchain_type`",
+ tags = ["manual"],
)
bzl_library(
@@ -22,16 +29,3 @@ bzl_library(
"//rust/settings:bzl_lib",
],
)
-
-filegroup(
- name = "distro",
- srcs = glob(["*.bzl"]) + [
- "//rust/platform:distro",
- "//rust/private:distro",
- "//rust/settings:distro",
- "//rust/rust_analyzer:distro",
- "//rust/toolchain:distro",
- "BUILD.bazel",
- ],
- visibility = ["//:__subpackages__"],
-)
diff --git a/rust/defs.bzl b/rust/defs.bzl
index 92c8a77406..d8a5631366 100644
--- a/rust/defs.bzl
+++ b/rust/defs.bzl
@@ -49,6 +49,7 @@ load(
_extra_rustc_flags = "extra_rustc_flags",
_is_proc_macro_dep = "is_proc_macro_dep",
_is_proc_macro_dep_enabled = "is_proc_macro_dep_enabled",
+ _source_path_prefix = "source_path_prefix",
)
load(
"//rust/private:rustdoc.bzl",
@@ -124,6 +125,9 @@ is_proc_macro_dep = _is_proc_macro_dep
is_proc_macro_dep_enabled = _is_proc_macro_dep_enabled
# See @rules_rust//rust/private:rustc.bzl for a complete description.
+source_path_prefix = _source_path_prefix
+# See @rules_rust//rust/private:rustc.bzl for a complete description.
+
rust_common = _rust_common
# See @rules_rust//rust/private:common.bzl for a complete description.
diff --git a/rust/known_shas.bzl b/rust/known_shas.bzl
index d5a4a94e32..f4d363d188 100644
--- a/rust/known_shas.bzl
+++ b/rust/known_shas.bzl
@@ -2278,6 +2278,122 @@ FILE_KEY_TO_SHA = {
"2022-07-18/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz": "33abaea1a4ebce88ff58354d2bab2d983419600c0c8d3b352e4e6f8c56baf2f5",
"2022-07-18/rustfmt-nightly-x86_64-unknown-linux-musl.tar.gz": "8c83332af6a06c6171a99754c19755d6496f9f200a4bd79c634cd14df4866f9d",
"2022-07-18/rustfmt-nightly-x86_64-unknown-linux-musl.tar.xz": "704c90da2cc18a189f5d3e3f4a36aaea26b5f4917086900114c4325008436819",
+ "2022-08-11/cargo-nightly-aarch64-apple-darwin.tar.gz": "cae9b1bd6d6e2dc0e9ee4af2e50fb787bbaca72d5920f044d4f9d0c14cdc8f33",
+ "2022-08-11/cargo-nightly-aarch64-apple-darwin.tar.xz": "3e43e96d8239c77e645089bbe40a429734046d037e9f0bab5e83cb239e1dd9be",
+ "2022-08-11/cargo-nightly-aarch64-unknown-linux-gnu.tar.gz": "e88ed97f883586b4a75ef44d620bb3ebfe6118a00baed385e0111807b4af04a8",
+ "2022-08-11/cargo-nightly-aarch64-unknown-linux-gnu.tar.xz": "93b7ba77e12153e799f4ce209b7d184031bcabbe0c5402379c13b620a5e9b500",
+ "2022-08-11/cargo-nightly-aarch64-unknown-linux-musl.tar.gz": "8cf1518c96a739835c9512d34c765b54a6a25169498e21bf6c5e99029e2e2272",
+ "2022-08-11/cargo-nightly-aarch64-unknown-linux-musl.tar.xz": "7f8d6247fce80130fbbfeba51a163441e3d94442f67c1234e3215bb852e4cdae",
+ "2022-08-11/cargo-nightly-x86_64-apple-darwin.tar.gz": "1af5abe9bfa42f96cc7e1afc852a7c3a8f6284bb278032ad477595afc72ed020",
+ "2022-08-11/cargo-nightly-x86_64-apple-darwin.tar.xz": "3c1869e40e57d628896b021945d8b762bde310cbed39ae4e4e99559b99d6144d",
+ "2022-08-11/cargo-nightly-x86_64-pc-windows-msvc.tar.gz": "601b9a279a93e144b4bb32534dc02631f723c7dc420baffd58cee903eb61dd74",
+ "2022-08-11/cargo-nightly-x86_64-pc-windows-msvc.tar.xz": "23bf85469ea2dee94f7071edc62e4ef4faac66e1440313683b4e0cf745a69c64",
+ "2022-08-11/cargo-nightly-x86_64-unknown-freebsd.tar.gz": "f62adf8c8195412aad1d580001fc4b7a34331fb08ac36e70fb38f5f7cf0b4b7d",
+ "2022-08-11/cargo-nightly-x86_64-unknown-freebsd.tar.xz": "df83473006697d18bc595957847c76ccf4d9fb8d01b9b0c2d5a10970342ef0c7",
+ "2022-08-11/cargo-nightly-x86_64-unknown-linux-gnu.tar.gz": "bbeee38ff2dc17814b3bca6d159e28e85d0db567cc2876b5f583e6fb061f1f9e",
+ "2022-08-11/cargo-nightly-x86_64-unknown-linux-gnu.tar.xz": "610b53bb9ab7086ea36a09b0784a7d601e59a9e2c56a5d88f5071a2323431fb3",
+ "2022-08-11/cargo-nightly-x86_64-unknown-linux-musl.tar.gz": "df384dc9e6eedd6bd3144fe2b82506e837e32b5281ce4c51667acecbf624781a",
+ "2022-08-11/cargo-nightly-x86_64-unknown-linux-musl.tar.xz": "caf658fbc964cf3c191c7efc014fc7b2c45e0ae2a1c78169c760e6a66fd11828",
+ "2022-08-11/clippy-nightly-aarch64-apple-darwin.tar.gz": "e2533993c4afd51fc7ab4db1c2b588739101306d50fcec8f574af039d6524578",
+ "2022-08-11/clippy-nightly-aarch64-apple-darwin.tar.xz": "57aa81fc00017ac127c5e72de7a406c35dceb2b16f944778cab42ea1c3bdbd05",
+ "2022-08-11/clippy-nightly-aarch64-unknown-linux-gnu.tar.gz": "0defdbe8252d3d2ae3df2cf47a27c6a9ab5e30f54f53a19b52b666b4a77fdf7d",
+ "2022-08-11/clippy-nightly-aarch64-unknown-linux-gnu.tar.xz": "924df4295fd4f74933861994b4e307f1c5db3a6463d70655e4921c6ce12e290c",
+ "2022-08-11/clippy-nightly-aarch64-unknown-linux-musl.tar.gz": "3552ce84049c0ca3c568b79fb88a65c3d54c21f41880ee1f2430156856bba3fc",
+ "2022-08-11/clippy-nightly-aarch64-unknown-linux-musl.tar.xz": "4a8f331651855d7b2248632de72d4f072747d239f28c535b44fb78e840d32bb3",
+ "2022-08-11/clippy-nightly-x86_64-apple-darwin.tar.gz": "bd3a29720009057882ba665dfe134db9735844163d29c12159e1cc6ebf597a3c",
+ "2022-08-11/clippy-nightly-x86_64-apple-darwin.tar.xz": "2cd5bbad957b7c1b214e1b2a2068b475a4bbbc4f891688668fe40fac28c795cc",
+ "2022-08-11/clippy-nightly-x86_64-pc-windows-msvc.tar.gz": "e19bdfdc3b54189a73d8b49641e75a76dce444d95a47c4e4ecd74764bac369a3",
+ "2022-08-11/clippy-nightly-x86_64-pc-windows-msvc.tar.xz": "87c7eb33810904372dd986ac39a9d0e2a347b0f67c402cc993fda7a87805dd94",
+ "2022-08-11/clippy-nightly-x86_64-unknown-freebsd.tar.gz": "90688982a6a312f46037f1c198083b8dadf40bfa77d3e4440fe4b56ee712df68",
+ "2022-08-11/clippy-nightly-x86_64-unknown-freebsd.tar.xz": "4116485e82fc29cb9143002e37d7d784df18580b3ad4e07b3809bc75fc2eff3e",
+ "2022-08-11/clippy-nightly-x86_64-unknown-linux-gnu.tar.gz": "4fcead4b34a41c0d0ac6a41c4d45630d3f14238eff9bdb0c67daea74d381a707",
+ "2022-08-11/clippy-nightly-x86_64-unknown-linux-gnu.tar.xz": "a50c09386dbc3b5e39c813777dfa602f251ef80914c418ce85fab506b4a3b60c",
+ "2022-08-11/clippy-nightly-x86_64-unknown-linux-musl.tar.gz": "1d2be0fff560d9b6d13faa270bc30ed78e1f19fca92aec29063332997aef6039",
+ "2022-08-11/clippy-nightly-x86_64-unknown-linux-musl.tar.xz": "4cb2192e1f785bf685c25625a6be794a960535b4695153f01dae4984876346c3",
+ "2022-08-11/llvm-tools-nightly-aarch64-apple-darwin.tar.gz": "32486dd06962034debe6ca577543ceeee9ef189bf94495c450c89b1bc883b9dc",
+ "2022-08-11/llvm-tools-nightly-aarch64-apple-darwin.tar.xz": "1932d1b3cbe40cf32566ebfa8dce89dbaa16394aac6061ddfc0d90acddc60428",
+ "2022-08-11/llvm-tools-nightly-aarch64-unknown-linux-gnu.tar.gz": "58911dd78caf17149d2c586d44421e6f07a223ac93b2047031a03d46799ed916",
+ "2022-08-11/llvm-tools-nightly-aarch64-unknown-linux-gnu.tar.xz": "533dbb53dd60b9b155255086a6ed68936e860c7a29009e964fd9fb5f2dc25f5d",
+ "2022-08-11/llvm-tools-nightly-aarch64-unknown-linux-musl.tar.gz": "6f39d64617dfcf5bd6190926c547be92219eb9594a2fda9bfc1c41d489b7fc10",
+ "2022-08-11/llvm-tools-nightly-aarch64-unknown-linux-musl.tar.xz": "bb545e0253fecd441a4d78990bd8f695bac52fbddedcb580cad1db4d82c9dfac",
+ "2022-08-11/llvm-tools-nightly-x86_64-apple-darwin.tar.gz": "aed5d310f9614a7a92331a612b0fbe3e67b235ad87178209678b4c96574be30f",
+ "2022-08-11/llvm-tools-nightly-x86_64-apple-darwin.tar.xz": "95b71b3857361714d7a94059d2dff6e5403cb5c510b9083687b8abcb67ce831a",
+ "2022-08-11/llvm-tools-nightly-x86_64-pc-windows-msvc.tar.gz": "7ac0cf2f50024f9a2e98e5a8c4b49008f8639dbf8a63c4ce6875f9cfccf7dd00",
+ "2022-08-11/llvm-tools-nightly-x86_64-pc-windows-msvc.tar.xz": "c3a2a5b00a66293274f76e3d51e8417fb113d9a66a4ec8c9642c69d9a8960c63",
+ "2022-08-11/llvm-tools-nightly-x86_64-unknown-freebsd.tar.gz": "22f258ba97ba30b28fea6d81637b253a230926e66d1cb1a1f1bafcbc97c75f07",
+ "2022-08-11/llvm-tools-nightly-x86_64-unknown-freebsd.tar.xz": "e8e4b5d18d2450659f9726f6b01be335c9da16930186cb183ca4bf7a704dd77c",
+ "2022-08-11/llvm-tools-nightly-x86_64-unknown-linux-gnu.tar.gz": "f6a49f1efb5810ac882d10b8249b618f7343e5c04f4f0be42655d81da3f8ecb1",
+ "2022-08-11/llvm-tools-nightly-x86_64-unknown-linux-gnu.tar.xz": "91b4c155691340a7a779e58583d8002ae80788d4767203b36bdd4dcc60baf1bb",
+ "2022-08-11/llvm-tools-nightly-x86_64-unknown-linux-musl.tar.gz": "6eb99b091ad370781cc2b4f81a015d94f5f5e6fbeec0cb61b6e6f342e56a3b42",
+ "2022-08-11/llvm-tools-nightly-x86_64-unknown-linux-musl.tar.xz": "4f0e758f51770286878f10ed3c4baccdd663c9bf3e4bf36d530cbc706d96a838",
+ "2022-08-11/rust-nightly-aarch64-apple-darwin.tar.gz": "0f6f95fb4c8241132232cf64817d2dc9cb4683045a1c25de166d7f4268f085cc",
+ "2022-08-11/rust-nightly-aarch64-apple-darwin.tar.xz": "d6a0b772bec5e267cfb36dcc0f62526c6560a8dba656265f797f76a79b963e54",
+ "2022-08-11/rust-nightly-aarch64-unknown-linux-gnu.tar.gz": "e2f9f47f5bf7b84bd7229bb19e9d21a27a3b3ac8ed8951b73ec26139e5cf9f70",
+ "2022-08-11/rust-nightly-aarch64-unknown-linux-gnu.tar.xz": "3a632057197852303d57f3f1a49a9fd6d8ee49fc45b162bf435d9bb0b7485a05",
+ "2022-08-11/rust-nightly-aarch64-unknown-linux-musl.tar.gz": "92d5666d42c57275e38e646520da442287ce46e4139858f56f1e06c0726264d6",
+ "2022-08-11/rust-nightly-aarch64-unknown-linux-musl.tar.xz": "ce057514a5fd37fa6e968c8cdc0ef6ae01f2a0bff8e19e09f1851179b417a5a9",
+ "2022-08-11/rust-nightly-x86_64-apple-darwin.tar.gz": "ad1643fa9e02dc5684a456feefa5083c8d1dc20e2b1aebc2c78211f753094b18",
+ "2022-08-11/rust-nightly-x86_64-apple-darwin.tar.xz": "8dc1d20c085d4cba3f7e3a0c2ee78a2bae06654a34cd50a97885f1431785fdc7",
+ "2022-08-11/rust-nightly-x86_64-pc-windows-msvc.tar.gz": "5b1b31bd758ca2f7cd1e378bd1be011f92d7ca3135445bd40bdb3556d42255d0",
+ "2022-08-11/rust-nightly-x86_64-pc-windows-msvc.tar.xz": "00edfc241020c4c0647045ea3ff58bfefe013ebf3370fc2396b3c1c79d08568d",
+ "2022-08-11/rust-nightly-x86_64-unknown-freebsd.tar.gz": "3bf4f5bf546f92b4ce593bb261eacc083228b9f5acae9da4e3204ed7fe6cac89",
+ "2022-08-11/rust-nightly-x86_64-unknown-freebsd.tar.xz": "6605a2a6ca6073b1a6f9668d687d2ddf18cf8a38ab44f2c048d5ad2654007979",
+ "2022-08-11/rust-nightly-x86_64-unknown-linux-gnu.tar.gz": "52bde1fa580f103de20e5b0bcff33e9cfe96c5ae7fb668b50e86692ff21a5247",
+ "2022-08-11/rust-nightly-x86_64-unknown-linux-gnu.tar.xz": "ac934cad6d35a0b397e9d6cf123c973d0f478968189f29aabb9f48ef8ab27532",
+ "2022-08-11/rust-nightly-x86_64-unknown-linux-musl.tar.gz": "1d059ccf24f9bcc0637f966b202072e92bd536ae8bc9908e057810b0d5f386d9",
+ "2022-08-11/rust-nightly-x86_64-unknown-linux-musl.tar.xz": "82c1449fa75d02caef7da809f19cc72b64f1c1e6e6da0ba595d46fc4a67f8137",
+ "2022-08-11/rust-std-nightly-aarch64-apple-darwin.tar.gz": "8bf01807d9b976af76646a2cd9e865b0f8cff7828d8aca25d66f21ce478c41c7",
+ "2022-08-11/rust-std-nightly-aarch64-apple-darwin.tar.xz": "938bed24fc69b1cb1568ef18cf700ef15838dcfca3494bf5bfa03828f2efcd48",
+ "2022-08-11/rust-std-nightly-aarch64-unknown-linux-gnu.tar.gz": "aa36cc89f3b1f625e26beba541763d9fbdd71a4e94faffba1e5757f8f7cf710d",
+ "2022-08-11/rust-std-nightly-aarch64-unknown-linux-gnu.tar.xz": "3248c521749947641df7801cb6e6fe6c6354775bf3bddc3b1dc29e00a4e45b2d",
+ "2022-08-11/rust-std-nightly-aarch64-unknown-linux-musl.tar.gz": "07bcafac72728cd47badc71ce84ed71a06dba35b7071851065cf4583048e6668",
+ "2022-08-11/rust-std-nightly-aarch64-unknown-linux-musl.tar.xz": "ecd6a9464a9e887e495343351373d11cdf2de7fd5a2dc6a33bb9231d1e52e3f2",
+ "2022-08-11/rust-std-nightly-wasm32-unknown-unknown.tar.gz": "78e1b18ff1723339d8340edccf1371d8b1205f59d88b04ece7fb0389586dc0b2",
+ "2022-08-11/rust-std-nightly-wasm32-unknown-unknown.tar.xz": "16a2cf631631be69f1e5cb5717b9a44c09fa3f822f529332f51b308261a24072",
+ "2022-08-11/rust-std-nightly-wasm32-wasi.tar.gz": "aa0b1d9d88bf514ba848746c23184c6500a1d7683a0ed7f5da14d36a42cbc10a",
+ "2022-08-11/rust-std-nightly-wasm32-wasi.tar.xz": "f667fd574339fbdd3f9dbb433786511ebde26d19a6d273715b9f9de5e6d44319",
+ "2022-08-11/rust-std-nightly-x86_64-apple-darwin.tar.gz": "2d258ea107dcf2877b90a9eb8185fee9dd5d1d2f454b742a0f09c8c8f292789e",
+ "2022-08-11/rust-std-nightly-x86_64-apple-darwin.tar.xz": "38852608fdf70f208055d05773097a7e20f5e202d2d31be3b78ef35b4e195056",
+ "2022-08-11/rust-std-nightly-x86_64-pc-windows-msvc.tar.gz": "873493e7f36d86c14d993aa9d3bfaab7d4b7cef3c640839bd43af977c54e2d95",
+ "2022-08-11/rust-std-nightly-x86_64-pc-windows-msvc.tar.xz": "934ef42f5ea977652103e854266d863fcb0d8f2e96d45c1f612d83525508100a",
+ "2022-08-11/rust-std-nightly-x86_64-unknown-freebsd.tar.gz": "f208bd471d1213fe588591d559f00b05f3c02a574084103d7f8efd2d0a11e513",
+ "2022-08-11/rust-std-nightly-x86_64-unknown-freebsd.tar.xz": "70187654fccbfdb9576da83fc9a3a99c11c5fa1c0e1ad9f0d983ecfe54dd0c66",
+ "2022-08-11/rust-std-nightly-x86_64-unknown-linux-gnu.tar.gz": "229f9b2dbaf839b89eb6b5202b6b348372a14d7bd2e687a3bf0316a58a901a9b",
+ "2022-08-11/rust-std-nightly-x86_64-unknown-linux-gnu.tar.xz": "e0f225143d46b44a6609f1b513462e3fd328ae9fed9f44c9973054dce2e4e55b",
+ "2022-08-11/rust-std-nightly-x86_64-unknown-linux-musl.tar.gz": "130bbc63457ccdc01c63ed8b2da0e97622dd768ad2d74efe42639e546de48e8a",
+ "2022-08-11/rust-std-nightly-x86_64-unknown-linux-musl.tar.xz": "9a0c96c4b817a72ac9ee9064c7a0f5cfcd6a25629889aa4a3498d3f568c28836",
+ "2022-08-11/rustc-nightly-aarch64-apple-darwin.tar.gz": "d9117462b6b89e43491b54000ef407d428f42287510cc0a56794d4531a123d25",
+ "2022-08-11/rustc-nightly-aarch64-apple-darwin.tar.xz": "bbad5f6d6cf3c4b8c872c5c4ad6726b409282bbb0109dbd71673fb597f1792d2",
+ "2022-08-11/rustc-nightly-aarch64-unknown-linux-gnu.tar.gz": "aaf0eb928335bee1b12adeb8fbba23d36f6a383677d823cac6b0c5ebad190927",
+ "2022-08-11/rustc-nightly-aarch64-unknown-linux-gnu.tar.xz": "663919aca7927f2e67a148d93582abadbfced8d5cb75c3c7329fbb3d9381d928",
+ "2022-08-11/rustc-nightly-aarch64-unknown-linux-musl.tar.gz": "d5c30359853792117d69cd4daccae0a772f6844c2d5ed8aeaada84847533ea23",
+ "2022-08-11/rustc-nightly-aarch64-unknown-linux-musl.tar.xz": "2930e7476dd9f3ccea78741f2a104f35138d4493b4fd3f6f071581064e27cf3a",
+ "2022-08-11/rustc-nightly-x86_64-apple-darwin.tar.gz": "8686fe6fb435af98d12907a5e4516c99fb814a0e88cac75e56450b3c0c37926a",
+ "2022-08-11/rustc-nightly-x86_64-apple-darwin.tar.xz": "a608e4d4d06172ce77a29f370f6e1b6043497989c27c2b63d2de907dab82e771",
+ "2022-08-11/rustc-nightly-x86_64-pc-windows-msvc.tar.gz": "46e644f94e63989e49ef46689ac96f9c5d68c94bba47b43b41c487c70ecff4bd",
+ "2022-08-11/rustc-nightly-x86_64-pc-windows-msvc.tar.xz": "aa21a53799621359c8041bcaae1088a6e248e8e1d5c4c9a1502a35162c8f4801",
+ "2022-08-11/rustc-nightly-x86_64-unknown-freebsd.tar.gz": "34b2ff3434e12e8988a11b3ca64ffff5df861c5f110a7437f410efbb2a729eff",
+ "2022-08-11/rustc-nightly-x86_64-unknown-freebsd.tar.xz": "70a2b636adbbc195b19eddc7f7965805f615301e459e7f6a6a5187b122b88fc4",
+ "2022-08-11/rustc-nightly-x86_64-unknown-linux-gnu.tar.gz": "747c20914b7092122e04f96bb9cc0eb9c9ce464a84c293c4757bb0048a64fab7",
+ "2022-08-11/rustc-nightly-x86_64-unknown-linux-gnu.tar.xz": "d336bad5eafbc6efab8155b074c92a828eadd8a4351ec43e99dba0933edc52ae",
+ "2022-08-11/rustc-nightly-x86_64-unknown-linux-musl.tar.gz": "5e81fc972b15000c53cdbb57656743473608137c2afb232d52b655a1768bd68e",
+ "2022-08-11/rustc-nightly-x86_64-unknown-linux-musl.tar.xz": "257ef0b77267b5e669c4c766624eddf97c82db18ae0177e20cfb08f381170222",
+ "2022-08-11/rustfmt-nightly-aarch64-apple-darwin.tar.gz": "3571fec05338c10bc6d5ee3769e63744c58402ce75e159f8f68e4cd73a74e196",
+ "2022-08-11/rustfmt-nightly-aarch64-apple-darwin.tar.xz": "c1e5e8cc3af2efd6b053c72dc65f2f2a7a921983b114f7e3b29b72fb4c697031",
+ "2022-08-11/rustfmt-nightly-aarch64-unknown-linux-gnu.tar.gz": "15c42f77dfbaa6be9474e039272a29fef9bbfd4e819e290ac6182d71bb035ce1",
+ "2022-08-11/rustfmt-nightly-aarch64-unknown-linux-gnu.tar.xz": "830a2c5bab5e74d9a6fea3a74cdd229de8d8ebc3719933c5bddd5a3ec0772f9d",
+ "2022-08-11/rustfmt-nightly-aarch64-unknown-linux-musl.tar.gz": "352b9d2253e86e27408d42ac19864f6f144d3b8369201ebe55259d0fe7b63121",
+ "2022-08-11/rustfmt-nightly-aarch64-unknown-linux-musl.tar.xz": "06f08c01ac6b98afffb69c5904d0b3637ab22354ca91c24c096b734f8b0b9b48",
+ "2022-08-11/rustfmt-nightly-x86_64-apple-darwin.tar.gz": "3661fae080b7efabea5d3ae9bdf2b1caf9a0a9a94dd6c4fb9eb3c9ef110d3e70",
+ "2022-08-11/rustfmt-nightly-x86_64-apple-darwin.tar.xz": "b22504f531bfbab99a06ba4578f1740bc52c5615bd5282516a7a8357279d22ec",
+ "2022-08-11/rustfmt-nightly-x86_64-pc-windows-msvc.tar.gz": "d659310a7b7cf01f314031aa8a3617bfcb479485fc003185a5e5d4a5e215cb87",
+ "2022-08-11/rustfmt-nightly-x86_64-pc-windows-msvc.tar.xz": "b7ca2ff20b39e646c68a393257dc39738f850256bb9aea0c45ea306a5587d4a9",
+ "2022-08-11/rustfmt-nightly-x86_64-unknown-freebsd.tar.gz": "fc84d1e36a1984e0b8fda3f7ba3cf5d79f7a62d07ec902937af0a31420c5096e",
+ "2022-08-11/rustfmt-nightly-x86_64-unknown-freebsd.tar.xz": "cb5b808b818bdcfcea9173c1440583f0f4e760910e91eb09a1716deb765c5b12",
+ "2022-08-11/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.gz": "08a0a4b8eaf788e94eaacf2990f3f3396e5f0bc073aabdbe52b4228b5645f251",
+ "2022-08-11/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz": "335675f462df9829812228841369d8f22f48d824bea22558be128d0d1d05d552",
+ "2022-08-11/rustfmt-nightly-x86_64-unknown-linux-musl.tar.gz": "9bf2cc7e0f2d8ffb37508b97c677dc4d330b7e7f8f18d891ef86f1b7dc8d949d",
+ "2022-08-11/rustfmt-nightly-x86_64-unknown-linux-musl.tar.xz": "fdfbe854976a0312352b7312690ef12a93acc1c915830b23ee0fbc451b56dd2b",
"cargo-1.48.0-aarch64-unknown-linux-gnu.tar.gz": "71347016f0da96d4250225f7b52701274df958870b1a65482badb87d661035f9",
"cargo-1.48.0-aarch64-unknown-linux-gnu.tar.xz": "9ea440709cf51cf28110847fd769e7fc937a01d03500edec5232408c4459fc80",
"cargo-1.48.0-aarch64-unknown-linux-musl.tar.gz": "873883a9f6eb2e0cae7dafdc6c4262157298b7bc6ac5c3ed899ed1f55cad7e82",
@@ -2580,6 +2696,22 @@ FILE_KEY_TO_SHA = {
"cargo-1.62.1-x86_64-unknown-linux-gnu.tar.xz": "9af4601aed486c982d5f07f8a0c2506a5a278316cfe30f77f5a41b5f69d8382e",
"cargo-1.62.1-x86_64-unknown-linux-musl.tar.gz": "35a5b6fb9950a1825f44bb9f69cc3c0ba9f2014b9645c774a7ecc4597009f7c0",
"cargo-1.62.1-x86_64-unknown-linux-musl.tar.xz": "089705fc085f2806c0c541a1bac918cfb83a775c69db6868185e6a9e62ae09b4",
+ "cargo-1.63.0-aarch64-apple-darwin.tar.gz": "4ae53dd1a0c059ba4a02a728c9250c785e39bd4f51550e2d3040e96457db4731",
+ "cargo-1.63.0-aarch64-apple-darwin.tar.xz": "fc9eb10567ad9b477180d40669c4e6f8edc48f54083689f4a0b4a49db1815b37",
+ "cargo-1.63.0-aarch64-unknown-linux-gnu.tar.gz": "4e359ffb5ef7cb69014d1c7c9a9ccdd2efa1220551f09f52aac16777eb75f01b",
+ "cargo-1.63.0-aarch64-unknown-linux-gnu.tar.xz": "4313ab44dccba4faed20db4aacc16def405773d1676e79d3e65ced4b99d710d4",
+ "cargo-1.63.0-aarch64-unknown-linux-musl.tar.gz": "4cdb73c7b6a5618d3b3b9c1b5361a9d80ddb9f00b3b7ecdddccc774fd644963a",
+ "cargo-1.63.0-aarch64-unknown-linux-musl.tar.xz": "2b9dc58653b17dcff716007730d649b313879d8d5f41b3d0d2e65745ac2bc7c8",
+ "cargo-1.63.0-x86_64-apple-darwin.tar.gz": "91fe0d3477036b0630b09db2a9ef340c29b8be56c48ed244428e2490043ca841",
+ "cargo-1.63.0-x86_64-apple-darwin.tar.xz": "6d245f3426815e07b423ce86db59f135a4347f66fa6ca78f4e3d9128e66eca57",
+ "cargo-1.63.0-x86_64-pc-windows-msvc.tar.gz": "5b1d2d8ef410f218f1ecf5e853bd218cf6f40e3b3f46b04f477875c125821956",
+ "cargo-1.63.0-x86_64-pc-windows-msvc.tar.xz": "5e7eb636ac2632a2c729b07fee84a3c37ede355b352dd36778b304d5f322e6f4",
+ "cargo-1.63.0-x86_64-unknown-freebsd.tar.gz": "ad9503079dde6499f6a7d85f44a931189a84220ad845dc13979c48e04a28ec62",
+ "cargo-1.63.0-x86_64-unknown-freebsd.tar.xz": "2f5128a4ec2caf81a45c37906045eb9e9f43b99e86ab8a4a6d24d41264b763d6",
+ "cargo-1.63.0-x86_64-unknown-linux-gnu.tar.gz": "43445b2131cefa466943ed4867876f5835fcb17243a18e1db1c8231417a1b27e",
+ "cargo-1.63.0-x86_64-unknown-linux-gnu.tar.xz": "f370d12e4c11f0c835becb738bcf00d363f29b76f8b424b4dcb005abcf15fc9a",
+ "cargo-1.63.0-x86_64-unknown-linux-musl.tar.gz": "43b6b236d5e3ccaea3afad43d13bb3d0c7628a22024f770d143a7949b298f3dc",
+ "cargo-1.63.0-x86_64-unknown-linux-musl.tar.xz": "6f6ce044832a2433c250f4f27a61f69081e2b0f7e4e1f141492c2ce99ee8511e",
"clippy-1.48.0-aarch64-unknown-linux-gnu.tar.gz": "2cc894bf75d938c0f7b96c7711d93b6d5a0befed5c09232cdd8413a57942ed88",
"clippy-1.48.0-aarch64-unknown-linux-gnu.tar.xz": "ff5fc4d3b4f1b6147f782d28669fa0e847b3660185fa147e4ebf4d9ace61cd4e",
"clippy-1.48.0-aarch64-unknown-linux-musl.tar.gz": "b3d740358470df6f4c1881a40db16c6fce4082bd251b012963147fdadab96879",
@@ -2882,6 +3014,22 @@ FILE_KEY_TO_SHA = {
"clippy-1.62.1-x86_64-unknown-linux-gnu.tar.xz": "1d7d113459ae1ac060d37c7de8d981c651eac16527e8ba5bedcd89309aca1e10",
"clippy-1.62.1-x86_64-unknown-linux-musl.tar.gz": "470fcf84bc8ce04229f16f493513b05902aa600cb85ddcd7a80a9212bb415a91",
"clippy-1.62.1-x86_64-unknown-linux-musl.tar.xz": "eb07eb7ec59e4a332f3a8d761612fb11eaf6c669f3451c1a056117f3c1ab466e",
+ "clippy-1.63.0-aarch64-apple-darwin.tar.gz": "7b3e9587b9c46633924f03821ac13f71a4a23b64b5d96a364f8aa98f43de38a0",
+ "clippy-1.63.0-aarch64-apple-darwin.tar.xz": "171a7d76a785156f6fbe241cdc699d3beeddfd65d46664fe68d92a0a48d8541a",
+ "clippy-1.63.0-aarch64-unknown-linux-gnu.tar.gz": "54c3f9ddb1f65fb7b4812736dc0a730f383db51403f277a778b90252982ba02f",
+ "clippy-1.63.0-aarch64-unknown-linux-gnu.tar.xz": "2cc6ed88f9972577f38d18d621e488174dd19d6f71ecd6f6845dd804f793b362",
+ "clippy-1.63.0-aarch64-unknown-linux-musl.tar.gz": "5a65b22a410d7a443db56653eb164019fd72b4dd3da24178631ce5fe5efaa169",
+ "clippy-1.63.0-aarch64-unknown-linux-musl.tar.xz": "09f4b9aa9b63f91e28939c26a1193da99bcd33f7f7dc53bb81c7ebd1ce614012",
+ "clippy-1.63.0-x86_64-apple-darwin.tar.gz": "461788df242431c795a80d263866593c6703173317afcdf4bd2e3a0fd4227dc7",
+ "clippy-1.63.0-x86_64-apple-darwin.tar.xz": "2fbae788a4a05b3ea61358e5493803117a8838d5b60c99dfefaa76e30c4c5458",
+ "clippy-1.63.0-x86_64-pc-windows-msvc.tar.gz": "888affa6955d2357d623cd46b682d2fc3bbf76de805fbbe946706f1b2dc4dec1",
+ "clippy-1.63.0-x86_64-pc-windows-msvc.tar.xz": "af40ed8d1a45a75c43cca24ecd522bde1cb63fa98580cfd5639189866142690c",
+ "clippy-1.63.0-x86_64-unknown-freebsd.tar.gz": "bbdabc9d418a4faeb101bc8c6890440d37cd7d41fcc1e8a2beae4d373299839c",
+ "clippy-1.63.0-x86_64-unknown-freebsd.tar.xz": "a3b05571925175e7ca9f98a49864b592b54a8c117f67593c07c213193ec2420a",
+ "clippy-1.63.0-x86_64-unknown-linux-gnu.tar.gz": "ca2ac1eb144cdc70cce77ada3ca69a1bda414997f8e486a73e205ff599e811cc",
+ "clippy-1.63.0-x86_64-unknown-linux-gnu.tar.xz": "94b10fd4c344b62c503767bca07ee4642faa4e70a11d084be2581676ef6cd011",
+ "clippy-1.63.0-x86_64-unknown-linux-musl.tar.gz": "ffe8d5ddb65cc8647ee75797e1fa5f499da4f0436f14fb0f4c54fe0ef87ce29b",
+ "clippy-1.63.0-x86_64-unknown-linux-musl.tar.xz": "f9cb19e93d0431e48143b56b1159fdb3681a812afca40d267761034b31d574f1",
"llvm-tools-1.36.0-aarch64-unknown-linux-gnu.tar.gz": "942856e49837a1c3b9c7d48b52cf0ac0fcb2bb31bb691fe53bfb934afb561c7f",
"llvm-tools-1.36.0-aarch64-unknown-linux-gnu.tar.xz": "e2671f3710f65642779023e46ad7402cc3bdaa15861ccfd6b48f1607e0b76ae1",
"llvm-tools-1.36.0-x86_64-apple-darwin.tar.gz": "ed702a4174a27fcf118f301e79835c3da205d3d98adb4acc294b72293a2ec790",
@@ -3328,6 +3476,22 @@ FILE_KEY_TO_SHA = {
"llvm-tools-1.62.1-x86_64-unknown-linux-gnu.tar.xz": "e3a87c051b6a668abaf5394584917e2d86dd8a8867cb95e309d0bfe345fc2154",
"llvm-tools-1.62.1-x86_64-unknown-linux-musl.tar.gz": "a3a25356445da9e4c433e3a4d1c307727824031ea2aed34c314bd053c4f62fbb",
"llvm-tools-1.62.1-x86_64-unknown-linux-musl.tar.xz": "4e71a395a9cc85364ceba82fab89f5bcaf03ead646eec88405b49a45bc20dc78",
+ "llvm-tools-1.63.0-aarch64-apple-darwin.tar.gz": "910974102c139febc69aed7a835a73524546238380b56635fff266e4736e3ca8",
+ "llvm-tools-1.63.0-aarch64-apple-darwin.tar.xz": "0e945f7e4758c02e123e58fdead64027022f17abd047345ef3cdd3de1d5b9b6f",
+ "llvm-tools-1.63.0-aarch64-unknown-linux-gnu.tar.gz": "2d47785e0fdcbb8dca135c7ef6b10feab1830ee983da8e333ec3b679f7d27a5a",
+ "llvm-tools-1.63.0-aarch64-unknown-linux-gnu.tar.xz": "19854d3350ba279102fbde93b4fb8a2a97b2dc92f607d6d0cb90cb930d3a7980",
+ "llvm-tools-1.63.0-aarch64-unknown-linux-musl.tar.gz": "f88f6b59a83dc04bd23734fbfb88e953abe0782f202eceaba29b0c92fe6f4fa7",
+ "llvm-tools-1.63.0-aarch64-unknown-linux-musl.tar.xz": "f4b62392bacf63f72cb84d264a16d8e91ade8020c8533fa97ecc2142ecd680f4",
+ "llvm-tools-1.63.0-x86_64-apple-darwin.tar.gz": "a19caa6873448b5be6bf5de9a486127f2aa608060bd4fcf8a965226cdbd171f8",
+ "llvm-tools-1.63.0-x86_64-apple-darwin.tar.xz": "b2df5de5202b2ed62c4f5e3dfc87c6f725db1d25a565a019f57a9544aac42057",
+ "llvm-tools-1.63.0-x86_64-pc-windows-msvc.tar.gz": "dc873d6adca59ee0aeebcab33197a0bc2a3e165fbe9d5fbed8e42ca46278ce9c",
+ "llvm-tools-1.63.0-x86_64-pc-windows-msvc.tar.xz": "b33c06fb8208b30e1fc99a6d18f3896d9cd9c15b3fc959e2d339343641b50845",
+ "llvm-tools-1.63.0-x86_64-unknown-freebsd.tar.gz": "233c5c55bf4fbe2023765be72084d9b0586c87bf3ac9629f2ebadaa1230b5dfd",
+ "llvm-tools-1.63.0-x86_64-unknown-freebsd.tar.xz": "f401e4e78f8250f6b2ad3cc9ca536cdd1aa35ec0fe4b5d36bf83d3011f6fbf59",
+ "llvm-tools-1.63.0-x86_64-unknown-linux-gnu.tar.gz": "cffac0e4058a9f1312610f8323eb76bb2a3fe0dfd5e3042545622691d9a3227d",
+ "llvm-tools-1.63.0-x86_64-unknown-linux-gnu.tar.xz": "18b8d821fc4256d564b9a2f1de6f67085e0db526893fcdb7611c404696c3f3d5",
+ "llvm-tools-1.63.0-x86_64-unknown-linux-musl.tar.gz": "8bfc1fd9e162a061cae66f761f41c02986aeba73ad04bdfff36a2b72ca4c14f7",
+ "llvm-tools-1.63.0-x86_64-unknown-linux-musl.tar.xz": "91fd9342217979526f431c08f411376f33b5c1e1d045d232e7f57056506434c4",
"rust-1.26.0-aarch64-unknown-linux-gnu.tar.gz": "e12dc84bdb569cdb382268a5fe6ae6a8e2e53810cb890ec3a7133c20ba8451ac",
"rust-1.26.0-aarch64-unknown-linux-gnu.tar.xz": "773560f577d4bfc34efa69f035b0d397fc8f4d55835d163416bc4f2012a57a4a",
"rust-1.26.0-x86_64-apple-darwin.tar.gz": "38708803c3096b8f101d1919ee2d7e723b0adf1bc1bb986b060973b57d8c7c28",
@@ -3956,6 +4120,22 @@ FILE_KEY_TO_SHA = {
"rust-1.62.1-x86_64-unknown-linux-gnu.tar.xz": "2f4dca8a67e8e3c3aab8da4146a93e3a5fd249af6f5a845083ade716ec0b9be9",
"rust-1.62.1-x86_64-unknown-linux-musl.tar.gz": "32bee487074b105e2582cddce35934a6019eec74bae3f9300fdc3edfcf5b66d4",
"rust-1.62.1-x86_64-unknown-linux-musl.tar.xz": "11c79886f55d314dae8b9a2c38db169cffa94cb536193e8971dbf662cf56bab1",
+ "rust-1.63.0-aarch64-apple-darwin.tar.gz": "25c3f43459da9b8683292999c3522d88980b0ca3244fe830f5a87a8092aac5a6",
+ "rust-1.63.0-aarch64-apple-darwin.tar.xz": "b8c3461e4924093308bff8a8b4bab00502dc7e481c9e5e3b520c8e2d3cd3c876",
+ "rust-1.63.0-aarch64-unknown-linux-gnu.tar.gz": "26745b57500da293a8147122a5998926301350a610c164f053107cbe026d3a51",
+ "rust-1.63.0-aarch64-unknown-linux-gnu.tar.xz": "963dd3c8b0b1ba970e8608b5bf457c24d5dc471d68f40e5cb62582fbd0461988",
+ "rust-1.63.0-aarch64-unknown-linux-musl.tar.gz": "8fee65f2bd7e010259763939cbef8ed0794773ec8959c5ef90273cf39dcba180",
+ "rust-1.63.0-aarch64-unknown-linux-musl.tar.xz": "324b34e3d7d49ff6ac423e259d7bac8d4fddcd9b03442df73f0e6a422063cdd7",
+ "rust-1.63.0-x86_64-apple-darwin.tar.gz": "37f76a45b8616e764c2663850758ce822c730e96af60168a46b818f528c1467d",
+ "rust-1.63.0-x86_64-apple-darwin.tar.xz": "c1259fb8ea25a05b8ddf0c3b6b05e7a8b0fc993764162805181722706cd2d241",
+ "rust-1.63.0-x86_64-pc-windows-msvc.tar.gz": "c774262eb1dc9a65dd9b323584e8984232517d76f0ff11851bc2cee85c2268ab",
+ "rust-1.63.0-x86_64-pc-windows-msvc.tar.xz": "90da69da9bcf00765ab854d027becd2aec6cf0256e9b1c864d39fd3dd33fd07b",
+ "rust-1.63.0-x86_64-unknown-freebsd.tar.gz": "ebbbb80413c4f6a6c30d6e7823016e8c54b07ea273c6578cafe3da55371754e8",
+ "rust-1.63.0-x86_64-unknown-freebsd.tar.xz": "2eff583cc8f76051c468f2d55cc85b49ec351cc768bd0f1a71cf119bb811acbd",
+ "rust-1.63.0-x86_64-unknown-linux-gnu.tar.gz": "536bcf16807a4ff49b7b29af6e573a2f1821055bfad72c275c60e56edc693984",
+ "rust-1.63.0-x86_64-unknown-linux-gnu.tar.xz": "be9b25bcf1e564876762e653688e0b5df11fab53048ac18bf77761cf0a0cc465",
+ "rust-1.63.0-x86_64-unknown-linux-musl.tar.gz": "4516f1fa2a0d9ec9176cc734e5faaa0a3d439bd49f75553a484b6c3c6d7905ab",
+ "rust-1.63.0-x86_64-unknown-linux-musl.tar.xz": "59378c9e14bb9383f3495652ca60b05f46b95464f06297e3b00c81e6025e56da",
"rust-src-1.26.0.tar.gz": "d02fe6fd5c0f330656e9ff0a290ebf23cab7c909f96ce1838247fadc117eb1dd",
"rust-src-1.26.0.tar.xz": "7d313fdecb23afd07826b62360f63c40ca8c12730b00b7cecf2c53098039e326",
"rust-src-1.26.1.tar.gz": "19ef8113ae53ec7ea8f6772a5c9ce5a3dfc28b1bddd800841fb5bbec33fa3619",
@@ -4054,6 +4234,8 @@ FILE_KEY_TO_SHA = {
"rust-src-1.62.0.tar.xz": "14856905c4e49775270c7162403032c2c97f4e656eb12514c5ad9a59c997d2bd",
"rust-src-1.62.1.tar.gz": "4cca13c2e3c6aac4361fc7d928a4c82164bbded56d8bb0c7170b7f15a5da51af",
"rust-src-1.62.1.tar.xz": "23c944887fa5873b58a15c307599c6562aff51fafb7020c3530e7b00a5031a8b",
+ "rust-src-1.63.0.tar.gz": "bb5e585be3f02a1e994b7a372b071b3d00c7e0ff71c1f5fb2cdee353717dde8a",
+ "rust-src-1.63.0.tar.xz": "d4f84d50ea61630df493db5cb1f71e7429f4118e7dbf6af5eb548910abac517d",
"rust-std-1.26.0-aarch64-unknown-linux-gnu.tar.gz": "a583ddc2d4b5f9516bf136f781268ae0e813295d1d145fab4b46a4220f448923",
"rust-std-1.26.0-aarch64-unknown-linux-gnu.tar.xz": "85615b5a109d4c12e9d0910020fceece8f0535848c137c8b8662d38de3d8ca37",
"rust-std-1.26.0-aarch64-unknown-linux-musl.tar.gz": "6a112ecd4cdefee2688bf69fdceb785a4d08cea33ba32296539abe3cb7f5eae1",
@@ -4936,6 +5118,26 @@ FILE_KEY_TO_SHA = {
"rust-std-1.62.1-x86_64-unknown-linux-gnu.tar.xz": "431110528b25c0eeff47304ebedc423fa8051e995b35cfedce880038a52b23a4",
"rust-std-1.62.1-x86_64-unknown-linux-musl.tar.gz": "e4adac8cb3c49241f7c0b61b2e0eca70abe0b3e4786182654f7ba8f33027c177",
"rust-std-1.62.1-x86_64-unknown-linux-musl.tar.xz": "1d286fceccd0370b13a0721bd1e164f5dcad0c0c4f3345af2fe88889583d2c8e",
+ "rust-std-1.63.0-aarch64-apple-darwin.tar.gz": "d7a49553f5385f8f39abd6179500690bd120cc36ee504076bce777f2fa32d02b",
+ "rust-std-1.63.0-aarch64-apple-darwin.tar.xz": "98b07c535a60d3c60eda821378157aca8e604f1b8023b94310f97656c9c4a598",
+ "rust-std-1.63.0-aarch64-unknown-linux-gnu.tar.gz": "4afce4152945642fb4c1a7fa44ffe396f98ce094108ffe29b1833413e8eed49d",
+ "rust-std-1.63.0-aarch64-unknown-linux-gnu.tar.xz": "f1d93b3d48258f701687c63ef9b226c07329fb92c2c5559283258687f958e9d0",
+ "rust-std-1.63.0-aarch64-unknown-linux-musl.tar.gz": "0f3d44e3432ed152d5ad9759741bcc8844386af3286beb6dc856323d7f56565c",
+ "rust-std-1.63.0-aarch64-unknown-linux-musl.tar.xz": "f8facb978bdc56ac6ffbcfb26e9f42762a820990013a5c6278c5e86cea039d44",
+ "rust-std-1.63.0-wasm32-unknown-unknown.tar.gz": "0ba89f8bd8a563c4af34060d0261cb6ffbd11cca1277797510ebfece91ec7cb5",
+ "rust-std-1.63.0-wasm32-unknown-unknown.tar.xz": "4fe359d61dff870157639d320e61c5e61c9e220cd71214f44337b50b9733de59",
+ "rust-std-1.63.0-wasm32-wasi.tar.gz": "79ba7355da31da483b2a1e22367ad5bee21d216a3095ae9e19f5ce38fd580b5d",
+ "rust-std-1.63.0-wasm32-wasi.tar.xz": "c8b2a9d116db93cfed3373f1fcd5cc8b40669154e3fe0b2e37a76783492ae9b2",
+ "rust-std-1.63.0-x86_64-apple-darwin.tar.gz": "a8653b57d0efbccf3e95953cfb9c7a2ddaa68ba789edc8378c5b0b8200cc3be5",
+ "rust-std-1.63.0-x86_64-apple-darwin.tar.xz": "2f870140d7dbf313bd612692c93a020e285d70557cb093eee20f38af2d11138c",
+ "rust-std-1.63.0-x86_64-pc-windows-msvc.tar.gz": "e72b994d365e02242f2ef50cca73019c5c7ec57f55585b4f02e819a5cfd204f1",
+ "rust-std-1.63.0-x86_64-pc-windows-msvc.tar.xz": "3b336cb1a423f37fa9fd1927a311f1daf32ebfc0e48cb430178995c942bc4fa3",
+ "rust-std-1.63.0-x86_64-unknown-freebsd.tar.gz": "9f8e178831660036f918376a84c7e98f53a3fa5ed2a297a9b56f805774968d7a",
+ "rust-std-1.63.0-x86_64-unknown-freebsd.tar.xz": "f35fd4780a421f661e30996b1fc02a99747c88e0ae598f8db374dafcc296c182",
+ "rust-std-1.63.0-x86_64-unknown-linux-gnu.tar.gz": "4211c28e3359e915c116524aeb13a728dfd1e8889d1b01d32ed64b2995534eae",
+ "rust-std-1.63.0-x86_64-unknown-linux-gnu.tar.xz": "993c2c17bf76ac626bfb5b17bddce65fbdfc14f70d183f33773de0cd12df46d2",
+ "rust-std-1.63.0-x86_64-unknown-linux-musl.tar.gz": "5d754e45cc659e616d2866e1ddb6142d75b7793acfd550c142b83d5170cdff58",
+ "rust-std-1.63.0-x86_64-unknown-linux-musl.tar.xz": "6fcfa4f9a51d35bf2c5c92ac15c688baa8c98d9fded05ab6abfdae85cb5aed8c",
"rustc-1.26.0-aarch64-unknown-linux-gnu.tar.gz": "ddddaddb585b95d81854171ac4e02d07790505853cee3034f199c8b7897f32e2",
"rustc-1.26.0-aarch64-unknown-linux-gnu.tar.xz": "859daf94bd0f9c14aa58af41c30b5105c49f28860bcebba3ddcd9699813954cb",
"rustc-1.26.0-x86_64-apple-darwin.tar.gz": "5cb67314656d16cf2a1bdc84213aaaf6afdb5811825c7afba916e2d42d3d641f",
@@ -5564,6 +5766,22 @@ FILE_KEY_TO_SHA = {
"rustc-1.62.1-x86_64-unknown-linux-gnu.tar.xz": "10a269b15d569dc07fa7bd4a701784d5a897395622891e1003710a6a386fcf09",
"rustc-1.62.1-x86_64-unknown-linux-musl.tar.gz": "54cb96ad8db976c4deed44f202522b4f02235af578c7219e9e11865b2113cc9c",
"rustc-1.62.1-x86_64-unknown-linux-musl.tar.xz": "1818c682fc8e48537c1c43a9fd7eee4bb12ae24c201f1ac7b0e889ab01b32f2b",
+ "rustc-1.63.0-aarch64-apple-darwin.tar.gz": "521e392d218cc2610c530d5b380e68fb91161ca598b55a7dac93fd04228caf62",
+ "rustc-1.63.0-aarch64-apple-darwin.tar.xz": "630dca8e83d93a64b734693a1ece88c3881ef979c5c711174bc029bb2fb517e2",
+ "rustc-1.63.0-aarch64-unknown-linux-gnu.tar.gz": "a4189dda06098813fb1e08861deae8993c809051c3c716b6aefe3793f5f0fb5e",
+ "rustc-1.63.0-aarch64-unknown-linux-gnu.tar.xz": "d78799bb8f4177877f97b9051c9cba1fd85173f2e9cecab9486388fc6fa66259",
+ "rustc-1.63.0-aarch64-unknown-linux-musl.tar.gz": "8ea10281826193f3be19db68995805b5a098cb76f74de18bda09642d44cfcc64",
+ "rustc-1.63.0-aarch64-unknown-linux-musl.tar.xz": "93dfb20c91f3aa00b31bbad099c8a42badb0b2bd1ebbd4d94eaf196d5c8a193e",
+ "rustc-1.63.0-x86_64-apple-darwin.tar.gz": "47cd3aac451fe69a131d452023578d6da2fe954b4a90b2d65177c217628f2faa",
+ "rustc-1.63.0-x86_64-apple-darwin.tar.xz": "013af630df1136febf784c91f61d04f501226acc3b08b099b17456c62e0bd42c",
+ "rustc-1.63.0-x86_64-pc-windows-msvc.tar.gz": "258e22e8b6500038b421ed328dd844856409b78a3c76585b02b6d22b62dd818d",
+ "rustc-1.63.0-x86_64-pc-windows-msvc.tar.xz": "c953562b6ce63b2cd8d36dcc3d6c598ca430b041573961e942ce978ee7e68522",
+ "rustc-1.63.0-x86_64-unknown-freebsd.tar.gz": "1b2f4143b4c9b3d22d1c0f7bf34b965f4a37f8d88c7c8fbe6478b997ca18a801",
+ "rustc-1.63.0-x86_64-unknown-freebsd.tar.xz": "13f55761f1fe00e04046bfa37e01dd66c10d33dfc66b8790e284eeb0a6e8da62",
+ "rustc-1.63.0-x86_64-unknown-linux-gnu.tar.gz": "c5bb7656557bf6451b2c53b18b6d092814fcba922ff2ffa4f704a41d79595f2d",
+ "rustc-1.63.0-x86_64-unknown-linux-gnu.tar.xz": "bdab9d9afa5c329c40f9ba568364815237fab8426477c12bfabad35ffc484ab5",
+ "rustc-1.63.0-x86_64-unknown-linux-musl.tar.gz": "91b3fd3883fff758ccff5349cf7960caa567b02ee0911dd6beaeed1f45b3e3bc",
+ "rustc-1.63.0-x86_64-unknown-linux-musl.tar.xz": "b6566a9b1dafe03cf4a01b58b2db0e14a0044ae5773736827882bd549108277e",
"rustfmt-1.48.0-aarch64-unknown-linux-gnu.tar.gz": "28f7d1ef37c034033eb0e30a13e5f0ad5bbc506adb8a8a9c03adce2b0d4842d5",
"rustfmt-1.48.0-aarch64-unknown-linux-gnu.tar.xz": "24f5e32213cd81bbb854f836c4da44e31652b4f6dff3a9b5455d5433bffacf9f",
"rustfmt-1.48.0-aarch64-unknown-linux-musl.tar.gz": "e6efa0fae347f97dca3b892565302d35b4cedfee7cb6e2b5fcdb2801074fe018",
@@ -5866,4 +6084,20 @@ FILE_KEY_TO_SHA = {
"rustfmt-1.62.1-x86_64-unknown-linux-gnu.tar.xz": "572c0176b1333f06995f52ec85a3a4afd742fe2cff92d8aa7a4a168b64f4a773",
"rustfmt-1.62.1-x86_64-unknown-linux-musl.tar.gz": "b4d0187b841b8fdb68f05d36d1febf5150abf00dff887042012bafc3f05020b1",
"rustfmt-1.62.1-x86_64-unknown-linux-musl.tar.xz": "7e73643b6a376d3bb82671a6204df5c47bc191e317e7a697cbe09c113cf053a4",
+ "rustfmt-1.63.0-aarch64-apple-darwin.tar.gz": "c60aecedfe87998bd5a2c99f37222cc27ee86ca26813f3bdf9411c0bdf09bfc8",
+ "rustfmt-1.63.0-aarch64-apple-darwin.tar.xz": "3d9c7ea12327e7123d705d359db9fd2807227bd8fac8330d21c15a82aa00f543",
+ "rustfmt-1.63.0-aarch64-unknown-linux-gnu.tar.gz": "dc15f1c7fbb07b51b6c158d93e608d19e90db18ce72a9cf64329c1defd2a07ff",
+ "rustfmt-1.63.0-aarch64-unknown-linux-gnu.tar.xz": "ccbec07b0eec7789882a1fdfbff8dfaac26f38f98b2ace8573d214fc72094093",
+ "rustfmt-1.63.0-aarch64-unknown-linux-musl.tar.gz": "0e37eb19479f9ac871268193d61b72032a1da47934eeda82189d38258ac23c71",
+ "rustfmt-1.63.0-aarch64-unknown-linux-musl.tar.xz": "eb5fb8414f26784021a3aed69fac6e14472d3b77a7d2fe66aa0a9a682d0e7cb4",
+ "rustfmt-1.63.0-x86_64-apple-darwin.tar.gz": "f889d77d17e13575b2da905799a4c5ba65127bc90939643413e7fc5b4a268e2e",
+ "rustfmt-1.63.0-x86_64-apple-darwin.tar.xz": "cfdd7e31bf7e4b0090334f593f50c3ba7d01692cc2e4d35d23f06bcafa2f4c59",
+ "rustfmt-1.63.0-x86_64-pc-windows-msvc.tar.gz": "f6bff6a2ef5d54d73e5fe32bec5da9407daace41628166bc4a3b061bb885b91d",
+ "rustfmt-1.63.0-x86_64-pc-windows-msvc.tar.xz": "40fdf436d062570e02406e90d817555ad50f46578bc5dd5dc2e05e63a08504c4",
+ "rustfmt-1.63.0-x86_64-unknown-freebsd.tar.gz": "89953fcd07356801e9cda98083c454e4899eec511b26c438c0363c097e3ddc28",
+ "rustfmt-1.63.0-x86_64-unknown-freebsd.tar.xz": "d8e305e5acfc41a62108974e091a322828eeabc70745983beacf3a71e768e3ec",
+ "rustfmt-1.63.0-x86_64-unknown-linux-gnu.tar.gz": "835fe6282a72bae31c55b76f68eca90d04b9b812f89c3f27e583cf98c7ff2766",
+ "rustfmt-1.63.0-x86_64-unknown-linux-gnu.tar.xz": "21db548c9736fe31ec5950b3f44d7ff4d712dccd9bac1a6f706f9d0b0ce9a026",
+ "rustfmt-1.63.0-x86_64-unknown-linux-musl.tar.gz": "f3a3ac317b4b657e2c2664c808d0b32bbaf566f783e591b1e91f1538ebd4ec90",
+ "rustfmt-1.63.0-x86_64-unknown-linux-musl.tar.xz": "3deb1e808db8030320148f0b45ca752403eafe8d946165b7d7a59b61af00986d",
}
diff --git a/rust/platform/BUILD.bazel b/rust/platform/BUILD.bazel
index 79dd9d6592..56ed34620b 100644
--- a/rust/platform/BUILD.bazel
+++ b/rust/platform/BUILD.bazel
@@ -17,14 +17,3 @@ bzl_library(
srcs = glob(["**/*.bzl"]),
visibility = ["//rust:__subpackages__"],
)
-
-filegroup(
- name = "distro",
- srcs = glob(["*.bzl"]) + [
- "//rust/platform/channel:distro",
- "//rust/platform/cpu:distro",
- "//rust/platform/os:distro",
- "BUILD.bazel",
- ],
- visibility = ["//:__subpackages__"],
-)
diff --git a/rust/platform/channel/BUILD.bazel b/rust/platform/channel/BUILD.bazel
index d097d42810..84fc8c7a91 100644
--- a/rust/platform/channel/BUILD.bazel
+++ b/rust/platform/channel/BUILD.bazel
@@ -20,11 +20,3 @@ constraint_value(
name = "stable",
constraint_setting = ":channel",
)
-
-filegroup(
- name = "distro",
- srcs = [
- "BUILD.bazel",
- ],
- visibility = ["//:__subpackages__"],
-)
diff --git a/rust/platform/cpu/BUILD.bazel b/rust/platform/cpu/BUILD.bazel
index 36e026a817..476f8cf392 100644
--- a/rust/platform/cpu/BUILD.bazel
+++ b/rust/platform/cpu/BUILD.bazel
@@ -3,11 +3,3 @@ constraint_value(
constraint_setting = "@platforms//cpu",
visibility = ["//visibility:public"],
)
-
-filegroup(
- name = "distro",
- srcs = [
- "BUILD.bazel",
- ],
- visibility = ["//:__subpackages__"],
-)
diff --git a/rust/platform/os/BUILD.bazel b/rust/platform/os/BUILD.bazel
index 5c2d48a8f2..7692abe696 100644
--- a/rust/platform/os/BUILD.bazel
+++ b/rust/platform/os/BUILD.bazel
@@ -9,11 +9,3 @@ constraint_value(
constraint_setting = "@platforms//os",
visibility = ["//visibility:public"],
)
-
-filegroup(
- name = "distro",
- srcs = [
- "BUILD.bazel",
- ],
- visibility = ["//:__subpackages__"],
-)
diff --git a/rust/private/BUILD.bazel b/rust/private/BUILD.bazel
index 40f4a69b1b..d175b28e53 100644
--- a/rust/private/BUILD.bazel
+++ b/rust/private/BUILD.bazel
@@ -10,15 +10,6 @@ bzl_library(
deps = ["//rust/platform:bzl_lib"],
)
-filegroup(
- name = "distro",
- srcs = glob(["*.bzl"]) + [
- "//rust/private/dummy_cc_toolchain:distro",
- "BUILD.bazel",
- ],
- visibility = ["//:__subpackages__"],
-)
-
stamp_build_setting(name = "stamp")
rust_analyzer_detect_sysroot(
diff --git a/rust/private/clippy.bzl b/rust/private/clippy.bzl
index ec94ae7628..21f3965664 100644
--- a/rust/private/clippy.bzl
+++ b/rust/private/clippy.bzl
@@ -226,7 +226,7 @@ rust_clippy_aspect = aspect(
},
provides = [ClippyInfo],
toolchains = [
- str(Label("//rust:toolchain")),
+ str(Label("//rust:toolchain_type")),
"@bazel_tools//tools/cpp:toolchain_type",
],
incompatible_use_toolchain_transition = True,
diff --git a/rust/private/common.bzl b/rust/private/common.bzl
index 1cf84cb1c1..c87faf53c8 100644
--- a/rust/private/common.bzl
+++ b/rust/private/common.bzl
@@ -31,7 +31,7 @@ load(":providers.bzl", "CrateInfo", "DepInfo", "StdLibInfo", "TestCrateInfo")
#
# Note: Code in `.github/workflows/crate_universe.yaml` looks for this line, if
# you remove it or change its format, you will also need to update that code.
-DEFAULT_RUST_VERSION = "1.62.1"
+DEFAULT_RUST_VERSION = "1.63.0"
def _create_crate_info(**kwargs):
"""A constructor for a `CrateInfo` provider
@@ -47,6 +47,10 @@ def _create_crate_info(**kwargs):
"""
if not "wrapped_crate_type" in kwargs:
kwargs.update({"wrapped_crate_type": None})
+ if not "metadata" in kwargs:
+ kwargs.update({"metadata": None})
+ if not "rustc_env_files" in kwargs:
+ kwargs.update({"rustc_env_files": []})
return CrateInfo(**kwargs)
rust_common = struct(
diff --git a/rust/private/dummy_cc_toolchain/BUILD.bazel b/rust/private/dummy_cc_toolchain/BUILD.bazel
index 140c8f201b..004d233a74 100644
--- a/rust/private/dummy_cc_toolchain/BUILD.bazel
+++ b/rust/private/dummy_cc_toolchain/BUILD.bazel
@@ -11,11 +11,3 @@ toolchain(
toolchain = ":dummy_cc_wasm32",
toolchain_type = "@bazel_tools//tools/cpp:toolchain_type",
)
-
-filegroup(
- name = "distro",
- srcs = glob(["*.bzl"]) + [
- "BUILD.bazel",
- ],
- visibility = ["//:__subpackages__"],
-)
diff --git a/rust/private/providers.bzl b/rust/private/providers.bzl
index 6009aa05e0..464444ba93 100644
--- a/rust/private/providers.bzl
+++ b/rust/private/providers.bzl
@@ -22,12 +22,14 @@ CrateInfo = provider(
"deps": "depset[DepVariantInfo]: This crate's (rust or cc) dependencies' providers.",
"edition": "str: The edition of this crate.",
"is_test": "bool: If the crate is being compiled in a test context",
+ "metadata": "File: The rmeta file produced for this crate. It is optional.",
"name": "str: The name of this crate.",
"output": "File: The output File that will be produced, depends on crate type.",
"owner": "Label: The label of the target that produced this CrateInfo",
"proc_macro_deps": "depset[DepVariantInfo]: This crate's rust proc_macro dependencies' providers.",
"root": "File: The source File entrypoint to this crate, eg. lib.rs",
"rustc_env": "Dict[String, String]: Additional `\"key\": \"value\"` environment variables to set for rustc.",
+ "rustc_env_files": "[File]: Files containing additional environment variables to set for rustc.",
"srcs": "depset[File]: All source Files that are part of the crate.",
"type": (
"str: The type of this crate " +
@@ -49,6 +51,7 @@ DepInfo = provider(
"transitive_build_infos": "depset[BuildInfo]",
"transitive_crate_outputs": "depset[File]: All transitive crate outputs.",
"transitive_crates": "depset[CrateInfo]",
+ "transitive_metadata_outputs": "depset[File]: All transitive metadata dependencies (.rmeta, for crates that provide them) and all transitive object dependencies (.rlib) for crates that don't provide metadata.",
"transitive_noncrates": "depset[LinkerInput]: All transitive dependencies that aren't crates.",
},
)
@@ -94,6 +97,7 @@ StdLibInfo = provider(
"srcs": "List[Target]: All targets from the original `srcs` attribute.",
"std_files": "Depset[File]: `.a` files associated with the `std` module.",
"std_rlibs": "List[File]: All `.rlib` files",
+ "test_files": "Depset[File]: `.a` files associated with the `test` module.",
},
)
diff --git a/rust/private/repository_utils.bzl b/rust/private/repository_utils.bzl
index 7d7f1e3da4..86d3f78ace 100644
--- a/rust/private/repository_utils.bzl
+++ b/rust/private/repository_utils.bzl
@@ -215,6 +215,7 @@ rust_toolchain(
llvm_profdata = {llvm_profdata_label},
rustc_lib = "@{workspace_name}//:rustc_lib",
rustc_srcs = {rustc_srcs},
+ allocator_library = {allocator_library},
binary_ext = "{binary_ext}",
staticlib_ext = "{staticlib_ext}",
dylib_ext = "{dylib_ext}",
@@ -233,6 +234,7 @@ def BUILD_for_rust_toolchain(
exec_triple,
target_triple,
include_rustc_srcs,
+ allocator_library,
default_edition,
include_rustfmt,
include_llvm_tools,
@@ -245,6 +247,7 @@ def BUILD_for_rust_toolchain(
exec_triple (str): The rust-style target that this compiler runs on
target_triple (str): The rust-style target triple of the tool
include_rustc_srcs (bool, optional): Whether to download rustc's src code. This is required in order to use rust-analyzer support. Defaults to False.
+ allocator_library (str, optional): Target that provides allocator functions when rust_library targets are embedded in a cc_binary.
default_edition (str): Default Rust edition.
include_rustfmt (bool): Whether rustfmt is present in the toolchain.
include_llvm_tools (bool): Whether llvm-tools are present in the toolchain.
@@ -271,6 +274,9 @@ def BUILD_for_rust_toolchain(
if include_llvm_tools:
llvm_cov_label = "\"@{workspace_name}//:llvm_cov_bin\"".format(workspace_name = workspace_name)
llvm_profdata_label = "\"@{workspace_name}//:llvm_profdata_bin\"".format(workspace_name = workspace_name)
+ allocator_library_label = "None"
+ if allocator_library:
+ allocator_library_label = "\"{allocator_library}\"".format(allocator_library = allocator_library)
return _build_file_for_rust_toolchain_template.format(
toolchain_name = name,
@@ -279,6 +285,7 @@ def BUILD_for_rust_toolchain(
staticlib_ext = system_to_staticlib_ext(system),
dylib_ext = system_to_dylib_ext(system),
rustc_srcs = rustc_srcs,
+ allocator_library = allocator_library_label,
stdlib_linkflags = stdlib_linkflags,
system = system,
default_edition = default_edition,
diff --git a/rust/private/rust.bzl b/rust/private/rust.bzl
index 1c84312019..9b9bacc6c4 100644
--- a/rust/private/rust.bzl
+++ b/rust/private/rust.bzl
@@ -13,10 +13,12 @@
# limitations under the License.
# buildifier: disable=module-docstring
+load("@bazel_skylib//lib:paths.bzl", "paths")
load("//rust/private:common.bzl", "rust_common")
load("//rust/private:rustc.bzl", "rustc_compile_action")
load(
"//rust/private:utils.bzl",
+ "can_build_metadata",
"compute_crate_name",
"dedent",
"determine_output_hash",
@@ -25,7 +27,6 @@ load(
"get_import_macro_deps",
"transform_deps",
)
-
# TODO(marco): Separate each rule into its own file.
def _assert_no_deprecated_attributes(_ctx):
@@ -150,9 +151,10 @@ def _transform_sources(ctx, srcs, crate_root):
generated_sources = []
generated_root = crate_root
+ package_root = paths.dirname(ctx.build_file_path)
if crate_root and (crate_root.is_source or crate_root.root.path != ctx.bin_dir.path):
- generated_root = ctx.actions.declare_file(crate_root.basename)
+ generated_root = ctx.actions.declare_file(paths.relativize(crate_root.short_path, package_root))
ctx.actions.symlink(
output = generated_root,
target_file = crate_root,
@@ -166,7 +168,7 @@ def _transform_sources(ctx, srcs, crate_root):
if src == crate_root:
continue
if src.is_source or src.root.path != ctx.bin_dir.path:
- src_symlink = ctx.actions.declare_file(src.basename)
+ src_symlink = ctx.actions.declare_file(paths.relativize(src.short_path, package_root))
ctx.actions.symlink(
output = src_symlink,
target_file = src,
@@ -316,6 +318,13 @@ def _rust_library_common(ctx, crate_type):
)
rust_lib = ctx.actions.declare_file(rust_lib_name)
+ rust_metadata = None
+ if can_build_metadata(toolchain, ctx, crate_type) and not ctx.attr.disable_pipelining:
+ rust_metadata = ctx.actions.declare_file(
+ paths.replace_extension(rust_lib_name, ".rmeta"),
+ sibling = rust_lib,
+ )
+
deps = transform_deps(ctx.attr.deps)
proc_macro_deps = transform_deps(ctx.attr.proc_macro_deps + get_import_macro_deps(ctx))
@@ -332,8 +341,10 @@ def _rust_library_common(ctx, crate_type):
proc_macro_deps = depset(proc_macro_deps),
aliases = ctx.attr.aliases,
output = rust_lib,
+ metadata = rust_metadata,
edition = get_edition(ctx.attr, toolchain, ctx.label),
rustc_env = ctx.attr.rustc_env,
+ rustc_env_files = ctx.files.rustc_env_files,
is_test = False,
compile_data = depset(ctx.files.compile_data),
owner = ctx.label,
@@ -378,6 +389,7 @@ def _rust_binary_impl(ctx):
output = output,
edition = get_edition(ctx.attr, toolchain, ctx.label),
rustc_env = ctx.attr.rustc_env,
+ rustc_env_files = ctx.files.rustc_env_files,
is_test = False,
compile_data = depset(ctx.files.compile_data),
owner = ctx.label,
@@ -422,6 +434,9 @@ def _rust_test_impl(ctx):
compile_data = depset(ctx.files.compile_data, transitive = [crate.compile_data])
else:
compile_data = depset(ctx.files.compile_data)
+ rustc_env_files = ctx.files.rustc_env_files + crate.rustc_env_files
+ rustc_env = dict(crate.rustc_env)
+ rustc_env.update(**ctx.attr.rustc_env)
# Build the test binary using the dependency's srcs.
crate_info = rust_common.create_crate_info(
@@ -434,7 +449,8 @@ def _rust_test_impl(ctx):
aliases = ctx.attr.aliases,
output = output,
edition = crate.edition,
- rustc_env = ctx.attr.rustc_env,
+ rustc_env = rustc_env,
+ rustc_env_files = rustc_env_files,
is_test = True,
compile_data = compile_data,
wrapped_crate_type = crate.type,
@@ -465,6 +481,7 @@ def _rust_test_impl(ctx):
output = output,
edition = get_edition(ctx.attr, toolchain, ctx.label),
rustc_env = ctx.attr.rustc_env,
+ rustc_env_files = ctx.files.rustc_env_files,
is_test = True,
compile_data = depset(ctx.files.compile_data),
owner = ctx.label,
@@ -684,6 +701,9 @@ _common_attrs = {
"_extra_rustc_flags": attr.label(
default = Label("//:extra_rustc_flags"),
),
+ "_source_path_prefix": attr.label(
+ default = Label("//:source_path_prefix"),
+ ),
"_import_macro_dep": attr.label(
default = Label("//util/import"),
cfg = "exec",
@@ -707,7 +727,22 @@ _common_attrs = {
),
}
-_rust_test_attrs = {
+_experimental_use_cc_common_link_attrs = {
+ "experimental_use_cc_common_link": attr.int(
+ doc = (
+ "Whether to use cc_common.link to link rust binaries. " +
+ "Possible values: [-1, 0, 1]. " +
+ "-1 means use the value of the toolchain.experimental_use_cc_common_link " +
+ "boolean build setting to determine. " +
+ "0 means do not use cc_common.link (use rustc instead). " +
+ "1 means use cc_common.link."
+ ),
+ values = [-1, 0, 1],
+ default = -1,
+ ),
+}
+
+_rust_test_attrs = dict({
"crate": attr.label(
mandatory = False,
doc = dedent("""\
@@ -744,7 +779,7 @@ _rust_test_attrs = {
default = Label("@bazel_tools//tools/cpp:grep-includes"),
executable = True,
),
-}
+}.items() + _experimental_use_cc_common_link_attrs.items())
_common_providers = [
rust_common.crate_info,
@@ -755,11 +790,20 @@ _common_providers = [
rust_library = rule(
implementation = _rust_library_impl,
provides = _common_providers,
- attrs = dict(_common_attrs.items()),
+ attrs = dict(_common_attrs.items() + {
+ "disable_pipelining": attr.bool(
+ default = False,
+ doc = dedent("""\
+ Disables pipelining for this rule if it is globally enabled.
+ This will cause this rule to not produce a `.rmeta` file and all the dependent
+ crates will instead use the `.rlib` file.
+ """),
+ ),
+ }.items()),
fragments = ["cpp"],
host_fragments = ["cpp"],
toolchains = [
- str(Label("//rust:toolchain")),
+ str(Label("//rust:toolchain_type")),
"@bazel_tools//tools/cpp:toolchain_type",
],
incompatible_use_toolchain_transition = True,
@@ -835,7 +879,7 @@ rust_static_library = rule(
fragments = ["cpp"],
host_fragments = ["cpp"],
toolchains = [
- str(Label("//rust:toolchain")),
+ str(Label("//rust:toolchain_type")),
"@bazel_tools//tools/cpp:toolchain_type",
],
incompatible_use_toolchain_transition = True,
@@ -858,7 +902,7 @@ rust_shared_library = rule(
fragments = ["cpp"],
host_fragments = ["cpp"],
toolchains = [
- str(Label("//rust:toolchain")),
+ str(Label("//rust:toolchain_type")),
"@bazel_tools//tools/cpp:toolchain_type",
],
incompatible_use_toolchain_transition = True,
@@ -910,7 +954,7 @@ rust_proc_macro = rule(
fragments = ["cpp"],
host_fragments = ["cpp"],
toolchains = [
- str(Label("//rust:toolchain")),
+ str(Label("//rust:toolchain_type")),
"@bazel_tools//tools/cpp:toolchain_type",
],
incompatible_use_toolchain_transition = True,
@@ -919,7 +963,7 @@ rust_proc_macro = rule(
"""),
)
-_rust_binary_attrs = {
+_rust_binary_attrs = dict({
"crate_type": attr.string(
doc = dedent("""\
Crate type that will be passed to `rustc` to be used for building this crate.
@@ -951,7 +995,7 @@ _rust_binary_attrs = {
default = Label("@bazel_tools//tools/cpp:grep-includes"),
executable = True,
),
-}
+}.items() + _experimental_use_cc_common_link_attrs.items())
rust_binary = rule(
implementation = _rust_binary_impl,
@@ -961,7 +1005,7 @@ rust_binary = rule(
fragments = ["cpp"],
host_fragments = ["cpp"],
toolchains = [
- str(Label("//rust:toolchain")),
+ str(Label("//rust:toolchain_type")),
"@bazel_tools//tools/cpp:toolchain_type",
],
incompatible_use_toolchain_transition = True,
@@ -1089,7 +1133,7 @@ rust_binary_without_process_wrapper = rule(
fragments = ["cpp"],
host_fragments = ["cpp"],
toolchains = [
- str(Label("//rust:toolchain")),
+ str(Label("//rust:toolchain_type")),
"@bazel_tools//tools/cpp:toolchain_type",
],
incompatible_use_toolchain_transition = True,
@@ -1102,7 +1146,7 @@ rust_library_without_process_wrapper = rule(
fragments = ["cpp"],
host_fragments = ["cpp"],
toolchains = [
- str(Label("//rust:toolchain")),
+ str(Label("//rust:toolchain_type")),
"@bazel_tools//tools/cpp:toolchain_type",
],
incompatible_use_toolchain_transition = True,
@@ -1118,7 +1162,7 @@ rust_test = rule(
host_fragments = ["cpp"],
test = True,
toolchains = [
- str(Label("//rust:toolchain")),
+ str(Label("//rust:toolchain_type")),
"@bazel_tools//tools/cpp:toolchain_type",
],
incompatible_use_toolchain_transition = True,
diff --git a/rust/private/rust_analyzer.bzl b/rust/private/rust_analyzer.bzl
index 48582b3c33..7515fd7c33 100644
--- a/rust/private/rust_analyzer.bzl
+++ b/rust/private/rust_analyzer.bzl
@@ -129,7 +129,7 @@ def find_proc_macro_dylib_path(toolchain, target):
rust_analyzer_aspect = aspect(
attr_aspects = ["deps", "proc_macro_deps", "crate", "actual"],
implementation = _rust_analyzer_aspect_impl,
- toolchains = [str(Label("//rust:toolchain"))],
+ toolchains = [str(Label("//rust:toolchain_type"))],
incompatible_use_toolchain_transition = True,
doc = "Annotates rust rules with RustAnalyzerInfo later used to build a rust-project.json",
)
@@ -249,7 +249,7 @@ def _rust_analyzer_detect_sysroot_impl(ctx):
rust_analyzer_detect_sysroot = rule(
implementation = _rust_analyzer_detect_sysroot_impl,
toolchains = [
- "@rules_rust//rust:toolchain",
+ "@rules_rust//rust:toolchain_type",
"@rules_rust//rust/rust_analyzer:toolchain_type",
],
incompatible_use_toolchain_transition = True,
diff --git a/rust/private/rustc.bzl b/rust/private/rustc.bzl
index 21fb46c15e..98037c19c9 100644
--- a/rust/private/rustc.bzl
+++ b/rust/private/rustc.bzl
@@ -27,7 +27,8 @@ load(
"expand_dict_value_locations",
"expand_list_element_locations",
"find_cc_toolchain",
- "get_lib_name",
+ "get_lib_name_default",
+ "get_lib_name_for_windows",
"get_preferred_artifact",
"is_exec_configuration",
"make_static_lib_symlink",
@@ -89,6 +90,11 @@ is_proc_macro_dep_enabled = rule(
build_setting = config.bool(flag = True),
)
+SourcePathPrefixInfo = provider(
+ doc = "Remap source path prefixes in all output, including compiler diagnostics, debug information, macro expansions to a path",
+ fields = {"source_path_prefix": "string The path to substitute ${pwd} for"},
+)
+
def _get_rustc_env(attr, toolchain, crate_name):
"""Gathers rustc environment variables
@@ -169,6 +175,9 @@ def _should_use_pic(cc_toolchain, feature_configuration, crate_type):
return cc_toolchain.needs_pic_for_dynamic_libraries(feature_configuration = feature_configuration)
return False
+def _is_proc_macro(crate_info):
+ return "proc-macro" in (crate_info.type, crate_info.wrapped_crate_type)
+
def collect_deps(
deps,
proc_macro_deps,
@@ -197,6 +206,7 @@ def collect_deps(
build_info = None
linkstamps = []
transitive_crate_outputs = []
+ transitive_metadata_outputs = []
aliases = {k.label: v for k, v in aliases.items()}
for dep in depset(transitive = [deps, proc_macro_deps]).to_list():
@@ -222,19 +232,31 @@ def collect_deps(
transitive_crates.append(
depset(
[crate_info],
- transitive = [] if "proc-macro" in [
- crate_info.type,
- crate_info.wrapped_crate_type,
- ] else [dep_info.transitive_crates],
+ transitive = [] if _is_proc_macro(crate_info) else [dep_info.transitive_crates],
),
)
+
+ # If this dependency produces metadata, add it to the metadata outputs.
+ # If it doesn't (for example a custom library that exports crate_info),
+ # we depend on crate_info.output.
+ depend_on = crate_info.metadata
+ if not crate_info.metadata:
+ depend_on = crate_info.output
+
+ # If this dependency is a proc_macro, it still can be used for lib crates
+ # that produce metadata.
+ # In that case, we don't depend on its metadata dependencies.
+ transitive_metadata_outputs.append(
+ depset(
+ [depend_on],
+ transitive = [] if _is_proc_macro(crate_info) else [dep_info.transitive_metadata_outputs],
+ ),
+ )
+
transitive_crate_outputs.append(
depset(
[crate_info.output],
- transitive = [] if "proc-macro" in [
- crate_info.type,
- crate_info.wrapped_crate_type,
- ] else [dep_info.transitive_crate_outputs],
+ transitive = [] if _is_proc_macro(crate_info) else [dep_info.transitive_crate_outputs],
),
)
@@ -269,6 +291,7 @@ def collect_deps(
order = "topological", # dylib link flag ordering matters.
),
transitive_crate_outputs = depset(transitive = transitive_crate_outputs),
+ transitive_metadata_outputs = depset(transitive = transitive_metadata_outputs),
transitive_build_infos = depset(transitive = transitive_build_infos),
link_search_path_files = depset(transitive = transitive_link_search_paths),
dep_env = build_info.dep_env if build_info else None,
@@ -408,7 +431,7 @@ def _symlink_for_ambiguous_lib(actions, toolchain, crate_info, lib):
# Take the absolute value of hash() since it could be negative.
path_hash = abs(hash(lib.path))
- lib_name = get_lib_name(lib)
+ lib_name = get_lib_name_for_windows(lib) if toolchain.os.startswith("windows") else get_lib_name_default(lib)
prefix = "lib"
extension = ".a"
@@ -471,7 +494,7 @@ def _disambiguate_libs(actions, toolchain, crate_info, dep_info, use_pic):
if _is_dylib(lib):
continue
artifact = get_preferred_artifact(lib, use_pic)
- name = get_lib_name(artifact)
+ name = get_lib_name_for_windows(artifact) if toolchain.os.startswith("windows") else get_lib_name_default(artifact)
# On Linux-like platforms, normally library base names start with
# `lib`, following the pattern `lib[name].(a|lo)` and we pass
@@ -505,6 +528,28 @@ def _disambiguate_libs(actions, toolchain, crate_info, dep_info, use_pic):
visited_libs[name] = artifact
return ambiguous_libs
+def _depend_on_metadata(crate_info, force_depend_on_objects):
+ """Determines if we can depend on metadata for this crate.
+
+ By default (when pipelining is disabled or when the crate type needs to link against
+ objects) we depend on the set of object files (.rlib).
+ When pipelining is enabled and the crate type supports depending on metadata,
+ we depend on metadata files only (.rmeta).
+ In some rare cases, even if both of those conditions are true, we still want to
+ depend on objects. This is what force_depend_on_objects is.
+
+ Args:
+ crate_info (CrateInfo): The Crate to determine this for.
+ force_depend_on_objects (bool): if set we will not depend on metadata.
+
+ Returns:
+ Whether we can depend on metadata for this crate.
+ """
+ if force_depend_on_objects:
+ return False
+
+ return crate_info.type in ("rlib", "lib")
+
def collect_inputs(
ctx,
file,
@@ -516,7 +561,9 @@ def collect_inputs(
crate_info,
dep_info,
build_info,
- stamp = False):
+ stamp = False,
+ force_depend_on_objects = False,
+ experimental_use_cc_common_link = False):
"""Gather's the inputs and required input information for a rustc action
Args:
@@ -532,6 +579,10 @@ def collect_inputs(
build_info (BuildInfo): The target Crate's build settings.
stamp (bool, optional): Whether or not workspace status stamping is enabled. For more details see
https://docs.bazel.build/versions/main/user-manual.html#flag--stamp
+ force_depend_on_objects (bool, optional): Forces dependencies of this rule to be objects rather than
+ metadata, even for libraries. This is used in rustdoc tests.
+ experimental_use_cc_common_link (bool, optional): Whether rules_rust uses cc_common.link to link
+ rust binaries.
Returns:
tuple: A tuple: A tuple of the following items:
@@ -572,6 +623,10 @@ def collect_inputs(
# change.
linkstamp_outs = []
+ transitive_crate_outputs = dep_info.transitive_crate_outputs
+ if _depend_on_metadata(crate_info, force_depend_on_objects):
+ transitive_crate_outputs = dep_info.transitive_metadata_outputs
+
nolinkstamp_compile_inputs = depset(
getattr(files, "data", []) +
([build_info.rustc_env, build_info.flags] if build_info else []) +
@@ -580,14 +635,16 @@ def collect_inputs(
transitive = [
linker_depset,
crate_info.srcs,
- dep_info.transitive_crate_outputs,
+ transitive_crate_outputs,
depset(additional_transitive_inputs),
crate_info.compile_data,
toolchain.all_files,
],
)
- if crate_info.type in ("bin", "cdylib"):
+ # Register linkstamps when linking with rustc (when linking with
+ # cc_common.link linkstamps are handled by cc_common.link itself).
+ if not experimental_use_cc_common_link and crate_info.type in ("bin", "cdylib"):
# There is no other way to register an action for each member of a depset than
# flattening the depset as of 2021-10-12. Luckily, usually there is only one linkstamp
# in a build, and we only flatten the list on binary targets that perform transitive linking,
@@ -625,7 +682,9 @@ def collect_inputs(
],
)
- build_env_files = getattr(files, "rustc_env_files", [])
+ # For backwards compatibility, we also check the value of the `rustc_env_files` attribute when
+ # `crate_info.rustc_env_files` is not populated.
+ build_env_files = crate_info.rustc_env_files if crate_info.rustc_env_files else getattr(files, "rustc_env_files", [])
compile_inputs, out_dir, build_env_file, build_flags_files = _process_build_scripts(build_info, dep_info, compile_inputs)
if build_env_file:
build_env_files = [f for f in build_env_files] + [build_env_file]
@@ -654,7 +713,10 @@ def construct_arguments(
force_all_deps_direct = False,
force_link = False,
stamp = False,
- remap_path_prefix = "."):
+ remap_path_prefix = True,
+ use_json_output = False,
+ build_metadata = False,
+ force_depend_on_objects = False):
"""Builds an Args object containing common rustc flags
Args:
@@ -680,7 +742,9 @@ def construct_arguments(
force_link (bool, optional): Whether to add link flags to the command regardless of `emit`.
stamp (bool, optional): Whether or not workspace status stamping is enabled. For more details see
https://docs.bazel.build/versions/main/user-manual.html#flag--stamp
- remap_path_prefix (str, optional): A value used to remap `${pwd}` to. If set to a falsey value, no prefix will be set.
+ use_json_output (bool): Have rustc emit json and process_wrapper parse json messages to output rendered output.
+ build_metadata (bool): Generate CLI arguments for building *only* .rmeta files. This requires use_json_output.
+ force_depend_on_objects (bool): Force using `.rlib` object files instead of metadata (`.rmeta`) files even if they are available.
Returns:
tuple: A tuple of the following items
@@ -692,6 +756,9 @@ def construct_arguments(
This is to be passed to the `arguments` parameter of actions
- (dict): Common rustc environment variables
"""
+ if build_metadata and not use_json_output:
+ fail("build_metadata requires parse_json_output")
+
output_dir = getattr(crate_info.output, "dirname", None)
linker_script = getattr(file, "linker_script", None)
@@ -761,8 +828,35 @@ def construct_arguments(
rustc_flags.add(crate_info.root)
rustc_flags.add("--crate-name=" + crate_info.name)
rustc_flags.add("--crate-type=" + crate_info.type)
+
+ error_format = "human"
if hasattr(attr, "_error_format"):
- rustc_flags.add("--error-format=" + attr._error_format[ErrorFormatInfo].error_format)
+ error_format = attr._error_format[ErrorFormatInfo].error_format
+
+ if use_json_output:
+ # If --error-format was set to json, we just pass the output through
+ # Otherwise process_wrapper uses the "rendered" field.
+ process_wrapper_flags.add("--rustc-output-format", "json" if error_format == "json" else "rendered")
+
+ # Configure rustc json output by adding artifact notifications.
+ # These will always be filtered out by process_wrapper and will be use to terminate
+ # rustc when appropriate.
+ json = ["artifacts"]
+ if error_format == "short":
+ json.append("diagnostic-short")
+ elif error_format == "human" and toolchain.os != "windows":
+ # If the os is not windows, we can get colorized output.
+ json.append("diagnostic-rendered-ansi")
+
+ rustc_flags.add("--json=" + ",".join(json))
+
+ error_format = "json"
+
+ if build_metadata:
+ # Configure process_wrapper to terminate rustc when metadata are emitted
+ process_wrapper_flags.add("--rustc-quit-on-rmeta", "true")
+
+ rustc_flags.add("--error-format=" + error_format)
# Mangle symbols to disambiguate crates with the same name. This could
# happen only for non-final artifacts where we compute an output_hash,
@@ -784,12 +878,14 @@ def construct_arguments(
rustc_flags.add("--codegen=debuginfo=" + compilation_mode.debug_info)
# For determinism to help with build distribution and such
- if remap_path_prefix:
- rustc_flags.add("--remap-path-prefix=${{pwd}}={}".format(remap_path_prefix))
+ if remap_path_prefix and hasattr(ctx.attr, "_source_path_prefix"):
+ rustc_flags.add("--remap-path-prefix=${{pwd}}={}".format(ctx.attr._source_path_prefix[SourcePathPrefixInfo].source_path_prefix))
if emit:
rustc_flags.add("--emit=" + ",".join(emit_with_paths))
- rustc_flags.add("--color=always")
+ if error_format != "json":
+ # Color is not compatible with json output.
+ rustc_flags.add("--color=always")
rustc_flags.add("--target=" + toolchain.target_flag_value)
if hasattr(attr, "crate_features"):
rustc_flags.add_all(getattr(attr, "crate_features"), before_each = "--cfg", format_each = 'feature="%s"')
@@ -832,11 +928,12 @@ def construct_arguments(
_add_native_link_flags(rustc_flags, dep_info, linkstamp_outs, ambiguous_libs, crate_info.type, toolchain, cc_toolchain, feature_configuration)
+ use_metadata = _depend_on_metadata(crate_info, force_depend_on_objects)
+
# These always need to be added, even if not linking this crate.
- add_crate_link_flags(rustc_flags, dep_info, force_all_deps_direct)
+ add_crate_link_flags(rustc_flags, dep_info, force_all_deps_direct, use_metadata)
- needs_extern_proc_macro_flag = "proc-macro" in [crate_info.type, crate_info.wrapped_crate_type] and \
- crate_info.edition != "2015"
+ needs_extern_proc_macro_flag = _is_proc_macro(crate_info) and crate_info.edition != "2015"
if needs_extern_proc_macro_flag:
rustc_flags.add("--extern")
rustc_flags.add("proc_macro")
@@ -919,8 +1016,23 @@ def rustc_compile_action(
- (DepInfo): The transitive dependencies of this crate.
- (DefaultInfo): The output file for this crate, and its runfiles.
"""
+ build_metadata = getattr(crate_info, "metadata", None)
+
cc_toolchain, feature_configuration = find_cc_toolchain(ctx)
+ # Determine whether to use cc_common.link:
+ # * either if experimental_use_cc_common_link is 1,
+ # * or if experimental_use_cc_common_link is -1 and
+ # the toolchain experimental_use_cc_common_link is true.
+ experimental_use_cc_common_link = False
+ if hasattr(ctx.attr, "experimental_use_cc_common_link"):
+ if ctx.attr.experimental_use_cc_common_link == 0:
+ experimental_use_cc_common_link = False
+ elif ctx.attr.experimental_use_cc_common_link == 1:
+ experimental_use_cc_common_link = True
+ elif ctx.attr.experimental_use_cc_common_link == -1:
+ experimental_use_cc_common_link = toolchain._experimental_use_cc_common_link
+
dep_info, build_info, linkstamps = collect_deps(
deps = crate_info.deps,
proc_macro_deps = crate_info.proc_macro_deps,
@@ -946,8 +1058,23 @@ def rustc_compile_action(
dep_info = dep_info,
build_info = build_info,
stamp = stamp,
+ experimental_use_cc_common_link = experimental_use_cc_common_link,
)
+ # The types of rustc outputs to emit.
+ # If we build metadata, we need to keep the command line of the two invocations
+ # (rlib and rmeta) as similar as possible, otherwise rustc rejects the rmeta as
+ # a candidate.
+ # Because of that we need to add emit=metadata to both the rlib and rmeta invocation.
+ #
+ # When cc_common linking is enabled, emit a `.o` file, which is later
+ # passed to the cc_common.link action.
+ emit = ["dep-info", "link"]
+ if build_metadata:
+ emit.append("metadata")
+ if experimental_use_cc_common_link:
+ emit = ["obj"]
+
args, env_from_args = construct_arguments(
ctx = ctx,
attr = attr,
@@ -955,6 +1082,7 @@ def rustc_compile_action(
toolchain = toolchain,
tool_path = toolchain.rustc.path,
cc_toolchain = cc_toolchain,
+ emit = emit,
feature_configuration = feature_configuration,
crate_info = crate_info,
dep_info = dep_info,
@@ -967,8 +1095,35 @@ def rustc_compile_action(
build_flags_files = build_flags_files,
force_all_deps_direct = force_all_deps_direct,
stamp = stamp,
+ use_json_output = bool(build_metadata),
)
+ args_metadata = None
+ if build_metadata:
+ args_metadata, _ = construct_arguments(
+ ctx = ctx,
+ attr = attr,
+ file = ctx.file,
+ toolchain = toolchain,
+ tool_path = toolchain.rustc.path,
+ cc_toolchain = cc_toolchain,
+ emit = emit,
+ feature_configuration = feature_configuration,
+ crate_info = crate_info,
+ dep_info = dep_info,
+ linkstamp_outs = linkstamp_outs,
+ ambiguous_libs = ambiguous_libs,
+ output_hash = output_hash,
+ rust_flags = rust_flags,
+ out_dir = out_dir,
+ build_env_files = build_env_files,
+ build_flags_files = build_flags_files,
+ force_all_deps_direct = force_all_deps_direct,
+ stamp = stamp,
+ use_json_output = True,
+ build_metadata = True,
+ )
+
env = dict(ctx.configuration.default_shell_env)
env.update(env_from_args)
@@ -977,8 +1132,18 @@ def rustc_compile_action(
else:
formatted_version = ""
+ # Declares the outputs of the rustc compile action.
+ # By default this is the binary output; if cc_common.link is used, this is
+ # the main `.o` file (`output_o` below).
outputs = [crate_info.output]
+ # The `.o` output file, only used for linking via cc_common.link.
+ output_o = None
+ if experimental_use_cc_common_link:
+ obj_ext = ".o"
+ output_o = ctx.actions.declare_file(crate_info.name + obj_ext, sibling = crate_info.output)
+ outputs = [output_o]
+
# For a cdylib that might be added as a dependency to a cc_* target on Windows, it is important to include the
# interface library that rustc generates in the output files.
interface_library = None
@@ -1019,10 +1184,25 @@ def rustc_compile_action(
len(crate_info.srcs.to_list()),
),
)
+ if args_metadata:
+ ctx.actions.run(
+ executable = ctx.executable._process_wrapper,
+ inputs = compile_inputs,
+ outputs = [build_metadata],
+ env = env,
+ arguments = args_metadata.all,
+ mnemonic = "RustcMetadata",
+ progress_message = "Compiling Rust metadata {} {}{} ({} files)".format(
+ crate_info.type,
+ ctx.label.name,
+ formatted_version,
+ len(crate_info.srcs.to_list()),
+ ),
+ )
else:
# Run without process_wrapper
- if build_env_files or build_flags_files or stamp:
- fail("build_env_files, build_flags_files, stamp are not supported when building without process_wrapper")
+ if build_env_files or build_flags_files or stamp or build_metadata:
+ fail("build_env_files, build_flags_files, stamp, build_metadata are not supported when building without process_wrapper")
ctx.actions.run(
executable = toolchain.rustc,
inputs = compile_inputs,
@@ -1038,6 +1218,52 @@ def rustc_compile_action(
),
)
+ if experimental_use_cc_common_link:
+ # Wrap the main `.o` file into a compilation output suitable for
+ # cc_common.link. The main `.o` file is useful in both PIC and non-PIC
+ # modes.
+ compilation_outputs = cc_common.create_compilation_outputs(
+ objects = depset([output_o]),
+ pic_objects = depset([output_o]),
+ )
+
+ # Collect the linking contexts of the standard library and dependencies.
+ linking_contexts = [toolchain.libstd_and_allocator_ccinfo.linking_context, toolchain.stdlib_linkflags.linking_context]
+
+ for dep in crate_info.deps.to_list():
+ if dep.cc_info:
+ linking_contexts.append(dep.cc_info.linking_context)
+
+ # In the cc_common.link action we need to pass the name of the final
+ # binary (output) relative to the package of this target.
+ # We compute it by stripping the path to the package directory,
+ # which is a prefix of the path of `crate_info.output`.
+
+ # The path to the package dir, including a trailing "/".
+ package_dir = ctx.bin_dir.path + "/"
+ if ctx.label.workspace_root:
+ package_dir = package_dir + ctx.label.workspace_root + "/"
+ if ctx.label.package:
+ package_dir = package_dir + ctx.label.package + "/"
+
+ if not crate_info.output.path.startswith(package_dir):
+ fail("The package dir path {} should be a prefix of the crate_info.output.path {}", package_dir, crate_info.output.path)
+
+ output_relative_to_package = crate_info.output.path[len(package_dir):]
+
+ cc_common.link(
+ actions = ctx.actions,
+ feature_configuration = feature_configuration,
+ cc_toolchain = cc_toolchain,
+ linking_contexts = linking_contexts,
+ compilation_outputs = compilation_outputs,
+ name = output_relative_to_package,
+ grep_includes = ctx.file._grep_includes,
+ stamp = ctx.attr.stamp,
+ )
+
+ outputs = [crate_info.output]
+
coverage_runfiles = []
if toolchain.llvm_cov and ctx.configuration.coverage_enabled and crate_info.is_test:
coverage_runfiles = [toolchain.llvm_cov, toolchain.llvm_profdata]
@@ -1262,7 +1488,8 @@ def _compute_rpaths(toolchain, output_dir, dep_info, use_pic):
"""
# Windows has no rpath equivalent, so always return an empty depset.
- if toolchain.os == "windows":
+ # Fuchsia assembles shared libraries during packaging.
+ if toolchain.os == "windows" or toolchain.os == "fuchsia":
return depset([])
dylibs = [
@@ -1304,7 +1531,7 @@ def _get_dir_names(files):
dirs[f.dirname] = None
return dirs.keys()
-def add_crate_link_flags(args, dep_info, force_all_deps_direct = False):
+def add_crate_link_flags(args, dep_info, force_all_deps_direct = False, use_metadata = False):
"""Adds link flags to an Args object reference
Args:
@@ -1312,22 +1539,19 @@ def add_crate_link_flags(args, dep_info, force_all_deps_direct = False):
dep_info (DepInfo): The current target's dependency info
force_all_deps_direct (bool, optional): Whether to pass the transitive rlibs with --extern
to the commandline as opposed to -L.
+ use_metadata (bool, optional): Build command line arugments using metadata for crates that provide it.
"""
- if force_all_deps_direct:
- args.add_all(
- depset(
- transitive = [
- dep_info.direct_crates,
- dep_info.transitive_crates,
- ],
- ),
- uniquify = True,
- map_each = _crate_to_link_flag,
- )
- else:
- # nb. Direct crates are linked via --extern regardless of their crate_type
- args.add_all(dep_info.direct_crates, map_each = _crate_to_link_flag)
+ direct_crates = depset(
+ transitive = [
+ dep_info.direct_crates,
+ dep_info.transitive_crates,
+ ],
+ ) if force_all_deps_direct else dep_info.direct_crates
+
+ crate_to_link_flags = _crate_to_link_flag_metadata if use_metadata else _crate_to_link_flag
+ args.add_all(direct_crates, uniquify = True, map_each = crate_to_link_flags)
+
args.add_all(
dep_info.transitive_crates,
map_each = _get_crate_dirname,
@@ -1335,6 +1559,29 @@ def add_crate_link_flags(args, dep_info, force_all_deps_direct = False):
format_each = "-Ldependency=%s",
)
+def _crate_to_link_flag_metadata(crate):
+ """A helper macro used by `add_crate_link_flags` for adding crate link flags to a Arg object
+
+ Args:
+ crate (CrateInfo|AliasableDepInfo): A CrateInfo or an AliasableDepInfo provider
+
+ Returns:
+ list: Link flags for the given provider
+ """
+
+ # This is AliasableDepInfo, we should use the alias as a crate name
+ if hasattr(crate, "dep"):
+ name = crate.name
+ crate_info = crate.dep
+ else:
+ name = crate.name
+ crate_info = crate
+
+ lib_or_meta = crate_info.metadata
+ if not crate_info.metadata:
+ lib_or_meta = crate_info.output
+ return ["--extern={}={}".format(name, lib_or_meta.path)]
+
def _crate_to_link_flag(crate):
"""A helper macro used by `add_crate_link_flags` for adding crate link flags to a Arg object
@@ -1365,7 +1612,7 @@ def _get_crate_dirname(crate):
"""
return crate.output.dirname
-def _portable_link_flags(lib, use_pic, ambiguous_libs):
+def _portable_link_flags(lib, use_pic, ambiguous_libs, get_lib_name, for_windows):
artifact = get_preferred_artifact(lib, use_pic)
if ambiguous_libs and artifact.path in ambiguous_libs:
artifact = ambiguous_libs[artifact.path]
@@ -1386,9 +1633,27 @@ def _portable_link_flags(lib, use_pic, ambiguous_libs):
# and adding references to these symlinks in the native section A.
# We rely in the behavior of -Clink-arg to put the linker args
# at the end of the linker invocation constructed by rustc.
+
+ # We skip adding `-Clink-arg=-l` for libstd and libtest from the standard library, as
+ # these two libraries are present both as an `.rlib` and a `.so` format.
+ # On linux, Rustc adds a -Bdynamic to the linker command line before the libraries specified
+ # with `-Clink-arg`, which leads to us linking against the `.so`s but not putting the
+ # corresponding value to the runtime library search paths, which results in a
+ # "cannot open shared object file: No such file or directory" error at exectuion time.
+ # We can fix this by adding a `-Clink-arg=-Bstatic` on linux, but we don't have that option for
+ # macos. The proper solution for this issue would be to remove `libtest-{hash}.so` and `libstd-{hash}.so`
+ # from the toolchain. However, it is not enough to change the toolchain's `rust_std_{...}` filegroups
+ # here: https://github.com/bazelbuild/rules_rust/blob/a9d5d894ad801002d007b858efd154e503796b9f/rust/private/repository_utils.bzl#L144
+ # because rustc manages to escape the sandbox and still finds them at linking time.
+ # We need to modify the repository rules to erase those files completely.
+ if "lib/rustlib" in artifact.path and (
+ artifact.basename.startswith("libtest-") or artifact.basename.startswith("libstd-") or
+ artifact.basename.startswith("test-") or artifact.basename.startswith("std-")
+ ):
+ return ["-lstatic=%s" % get_lib_name(artifact)]
return [
"-lstatic=%s" % get_lib_name(artifact),
- "-Clink-arg=-l%s" % get_lib_name(artifact),
+ "-Clink-arg=-l%s" % (get_lib_name(artifact) if not for_windows else artifact.basename),
]
elif _is_dylib(lib):
return [
@@ -1404,7 +1669,7 @@ def _make_link_flags_windows(linker_input_and_use_pic_and_ambiguous_libs):
if lib.alwayslink:
ret.extend(["-C", "link-arg=/WHOLEARCHIVE:%s" % get_preferred_artifact(lib, use_pic).path])
else:
- ret.extend(_portable_link_flags(lib, use_pic, ambiguous_libs))
+ ret.extend(_portable_link_flags(lib, use_pic, ambiguous_libs, get_lib_name_for_windows, for_windows = True))
return ret
def _make_link_flags_darwin(linker_input_and_use_pic_and_ambiguous_libs):
@@ -1417,7 +1682,7 @@ def _make_link_flags_darwin(linker_input_and_use_pic_and_ambiguous_libs):
("link-arg=-Wl,-force_load,%s" % get_preferred_artifact(lib, use_pic).path),
])
else:
- ret.extend(_portable_link_flags(lib, use_pic, ambiguous_libs))
+ ret.extend(_portable_link_flags(lib, use_pic, ambiguous_libs, get_lib_name_default, for_windows = False))
return ret
def _make_link_flags_default(linker_input_and_use_pic_and_ambiguous_libs):
@@ -1434,7 +1699,7 @@ def _make_link_flags_default(linker_input_and_use_pic_and_ambiguous_libs):
"link-arg=-Wl,--no-whole-archive",
])
else:
- ret.extend(_portable_link_flags(lib, use_pic, ambiguous_libs))
+ ret.extend(_portable_link_flags(lib, use_pic, ambiguous_libs, get_lib_name_default, for_windows = False))
return ret
def _libraries_dirnames(linker_input_and_use_pic_and_ambiguous_libs):
@@ -1463,10 +1728,13 @@ def _add_native_link_flags(args, dep_info, linkstamp_outs, ambiguous_libs, crate
if toolchain.os == "windows":
make_link_flags = _make_link_flags_windows
+ get_lib_name = get_lib_name_for_windows
elif toolchain.os.startswith("mac") or toolchain.os.startswith("darwin"):
make_link_flags = _make_link_flags_darwin
+ get_lib_name = get_lib_name_default
else:
make_link_flags = _make_link_flags_default
+ get_lib_name = get_lib_name_default
# TODO(hlopko): Remove depset flattening by using lambdas once we are on >=Bazel 5.0
args_and_pic_and_ambiguous_libs = [(arg, use_pic, ambiguous_libs) for arg in dep_info.transitive_noncrates.to_list()]
@@ -1574,6 +1842,19 @@ extra_rustc_flag = rule(
build_setting = config.string(flag = True, allow_multiple = True),
)
+def _source_path_prefix_impl(ctx):
+ return SourcePathPrefixInfo(source_path_prefix = ctx.build_setting_value)
+
+source_path_prefix = rule(
+ doc = (
+ "Specify the path for the compiler to remap the source path prefix in all output, including compiler diagnostics," +
+ "debug information, and macro expansions with `--@rules_rust//:static_path_prefix`." +
+ "Setting the prefix a fixed value enables reproducible builds that do not depend on the location of the source directory."
+ ),
+ implementation = _source_path_prefix_impl,
+ build_setting = config.string(flag = True),
+)
+
def _extra_exec_rustc_flags_impl(ctx):
return ExtraExecRustcFlagsInfo(extra_exec_rustc_flags = ctx.build_setting_value)
diff --git a/rust/private/rustdoc.bzl b/rust/private/rustdoc.bzl
index 7da57e5f55..b9699f0c29 100644
--- a/rust/private/rustdoc.bzl
+++ b/rust/private/rustdoc.bzl
@@ -37,8 +37,10 @@ def _strip_crate_info_output(crate_info):
aliases = crate_info.aliases,
# This crate info should have no output
output = None,
+ metadata = None,
edition = crate_info.edition,
rustc_env = crate_info.rustc_env,
+ rustc_env_files = crate_info.rustc_env_files,
is_test = crate_info.is_test,
compile_data = crate_info.compile_data,
)
@@ -90,6 +92,8 @@ def rustdoc_compile_action(
crate_info = crate_info,
dep_info = dep_info,
build_info = build_info,
+ # If this is a rustdoc test, we need to depend on rlibs rather than .rmeta.
+ force_depend_on_objects = is_test,
)
# Since this crate is not actually producing the output described by the
@@ -116,8 +120,9 @@ def rustdoc_compile_action(
build_env_files = build_env_files,
build_flags_files = build_flags_files,
emit = [],
- remap_path_prefix = None,
+ remap_path_prefix = False,
force_link = True,
+ force_depend_on_objects = is_test,
)
# Because rustdoc tests compile tests outside of the sandbox, the sysroot
@@ -321,7 +326,7 @@ rust_doc = rule(
"rust_doc_zip": "%{name}.zip",
},
toolchains = [
- str(Label("//rust:toolchain")),
+ str(Label("//rust:toolchain_type")),
"@bazel_tools//tools/cpp:toolchain_type",
],
incompatible_use_toolchain_transition = True,
diff --git a/rust/private/rustdoc_test.bzl b/rust/private/rustdoc_test.bzl
index 3a1124ebb9..525838ee5c 100644
--- a/rust/private/rustdoc_test.bzl
+++ b/rust/private/rustdoc_test.bzl
@@ -19,7 +19,7 @@ load("//rust/private:providers.bzl", "CrateInfo")
load("//rust/private:rustdoc.bzl", "rustdoc_compile_action")
load("//rust/private:utils.bzl", "dedent", "find_toolchain", "transform_deps")
-def _construct_writer_arguments(ctx, test_runner, action, crate_info):
+def _construct_writer_arguments(ctx, test_runner, opt_test_params, action, crate_info):
"""Construct arguments and environment variables specific to `rustdoc_test_writer`.
This is largely solving for the fact that tests run from a runfiles directory
@@ -29,6 +29,7 @@ def _construct_writer_arguments(ctx, test_runner, action, crate_info):
Args:
ctx (ctx): The rule's context object.
test_runner (File): The test_runner output file declared by `rustdoc_test`.
+ opt_test_params (File): An output file we can optionally use to store params for `rustdoc`.
action (struct): Action arguments generated by `rustdoc_compile_action`.
crate_info (CrateInfo): The provider of the crate who's docs are being tested.
@@ -43,6 +44,9 @@ def _construct_writer_arguments(ctx, test_runner, action, crate_info):
# Track the output path where the test writer should write the test
writer_args.add("--output={}".format(test_runner.path))
+ # Track where the test writer should move "spilled" Args to
+ writer_args.add("--optional_test_params={}".format(opt_test_params.path))
+
# Track what environment variables should be written to the test runner
writer_args.add("--action_env=DEVELOPER_DIR")
writer_args.add("--action_env=PATHEXT")
@@ -56,19 +60,29 @@ def _construct_writer_arguments(ctx, test_runner, action, crate_info):
# files. To ensure rustdoc can find the appropriate dependencies, the
# file roots are identified and tracked for each dependency so it can be
# stripped from the test runner.
+
+ # Collect and dedupe all of the file roots in a list before appending
+ # them to args to prevent generating a large amount of identical args
+ roots = []
for dep in crate_info.deps.to_list():
dep_crate_info = getattr(dep, "crate_info", None)
dep_dep_info = getattr(dep, "dep_info", None)
if dep_crate_info:
root = dep_crate_info.output.root.path
- writer_args.add("--strip_substring={}/".format(root))
+ if not root in roots:
+ roots.append(root)
if dep_dep_info:
for direct_dep in dep_dep_info.direct_crates.to_list():
root = direct_dep.dep.output.root.path
- writer_args.add("--strip_substring={}/".format(root))
+ if not root in roots:
+ roots.append(root)
for transitive_dep in dep_dep_info.transitive_crates.to_list():
root = transitive_dep.output.root.path
- writer_args.add("--strip_substring={}/".format(root))
+ if not root in roots:
+ roots.append(root)
+
+ for root in roots:
+ writer_args.add("--strip_substring={}/".format(root))
# Indicate that the rustdoc_test args are over.
writer_args.add("--")
@@ -105,6 +119,7 @@ def _rust_doc_test_impl(ctx):
output = crate.output,
edition = crate.edition,
rustc_env = crate.rustc_env,
+ rustc_env_files = crate.rustc_env_files,
is_test = True,
compile_data = crate.compile_data,
wrapped_crate_type = crate.type,
@@ -116,6 +131,12 @@ def _rust_doc_test_impl(ctx):
else:
test_runner = ctx.actions.declare_file(ctx.label.name + ".rustdoc_test.sh")
+ # Bazel will auto-magically spill params to a file, if they are too many for a given OSes shell
+ # (e.g. Windows ~32k, Linux ~2M). The executable script (aka test_runner) that gets generated,
+ # is run from the runfiles, which is separate from the params_file Bazel generates. To handle
+ # this case, we declare our own params file, that the test_writer will populate, if necessary
+ opt_test_params = ctx.actions.declare_file(ctx.label.name + ".rustdoc_opt_params", sibling = test_runner)
+
# Add the current crate as an extern for the compile action
rustdoc_flags = [
"--extern",
@@ -136,6 +157,7 @@ def _rust_doc_test_impl(ctx):
writer_args, env = _construct_writer_arguments(
ctx = ctx,
test_runner = test_runner,
+ opt_test_params = opt_test_params,
action = action,
crate_info = crate_info,
)
@@ -151,12 +173,12 @@ def _rust_doc_test_impl(ctx):
tools = tools,
arguments = [writer_args] + action.arguments,
env = action.env,
- outputs = [test_runner],
+ outputs = [test_runner, opt_test_params],
)
return [DefaultInfo(
files = depset([test_runner]),
- runfiles = ctx.runfiles(files = tools, transitive_files = action.inputs),
+ runfiles = ctx.runfiles(files = tools + [opt_test_params], transitive_files = action.inputs),
executable = test_runner,
)]
@@ -206,7 +228,7 @@ rust_doc_test = rule(
fragments = ["cpp"],
host_fragments = ["cpp"],
toolchains = [
- str(Label("//rust:toolchain")),
+ str(Label("//rust:toolchain_type")),
"@bazel_tools//tools/cpp:toolchain_type",
],
incompatible_use_toolchain_transition = True,
diff --git a/rust/private/rustfmt.bzl b/rust/private/rustfmt.bzl
index 0de817d2f4..db5ef43a9d 100644
--- a/rust/private/rustfmt.bzl
+++ b/rust/private/rustfmt.bzl
@@ -138,7 +138,7 @@ generated source files are also ignored by this aspect.
fragments = ["cpp"],
host_fragments = ["cpp"],
toolchains = [
- str(Label("//rust:toolchain")),
+ str(Label("//rust:toolchain_type")),
],
)
diff --git a/rust/private/toolchain_utils.bzl b/rust/private/toolchain_utils.bzl
index 3d61746de9..13c94acc53 100644
--- a/rust/private/toolchain_utils.bzl
+++ b/rust/private/toolchain_utils.bzl
@@ -1,7 +1,7 @@
"""A module defining toolchain utilities"""
def _toolchain_files_impl(ctx):
- toolchain = ctx.toolchains[str(Label("//rust:toolchain"))]
+ toolchain = ctx.toolchains[str(Label("//rust:toolchain_type"))]
runfiles = None
if ctx.attr.tool == "cargo":
@@ -73,13 +73,13 @@ toolchain_files = rule(
),
},
toolchains = [
- str(Label("//rust:toolchain")),
+ str(Label("//rust:toolchain_type")),
],
incompatible_use_toolchain_transition = True,
)
def _current_rust_toolchain_impl(ctx):
- toolchain = ctx.toolchains[str(Label("@rules_rust//rust:toolchain"))]
+ toolchain = ctx.toolchains[str(Label("@rules_rust//rust:toolchain_type"))]
return [
toolchain,
@@ -98,7 +98,7 @@ current_rust_toolchain = rule(
doc = "A rule for exposing the current registered `rust_toolchain`.",
implementation = _current_rust_toolchain_impl,
toolchains = [
- str(Label("@rules_rust//rust:toolchain")),
+ str(Label("@rules_rust//rust:toolchain_type")),
],
incompatible_use_toolchain_transition = True,
)
diff --git a/rust/private/utils.bzl b/rust/private/utils.bzl
index b3e8e809d3..583dc6e5ee 100644
--- a/rust/private/utils.bzl
+++ b/rust/private/utils.bzl
@@ -34,7 +34,7 @@ def find_toolchain(ctx):
Returns:
rust_toolchain: A Rust toolchain context.
"""
- return ctx.toolchains[Label("//rust:toolchain")]
+ return ctx.toolchains[Label("//rust:toolchain_type")]
def find_cc_toolchain(ctx):
"""Extracts a CcToolchain from the current target's context
@@ -97,8 +97,8 @@ def _path_parts(path):
path_parts = path.split("/")
return [part for part in path_parts if part != "."]
-def get_lib_name(lib):
- """Returns the name of a library artifact, eg. libabc.a -> abc
+def get_lib_name_default(lib):
+ """Returns the name of a library artifact.
Args:
lib (File): A library file
@@ -130,6 +130,44 @@ def get_lib_name(lib):
else:
return libname
+# TODO: Could we remove this function in favor of a "windows" parameter in the
+# above function? It looks like currently lambdas cannot accept local parameters
+# so the following doesn't work:
+# args.add_all(
+# cc_toolchain.dynamic_runtime_lib(feature_configuration = feature_configuration),
+# map_each = lambda x: get_lib_name(x, for_windows = toolchain.os.startswith("windows)),
+# format_each = "-ldylib=%s",
+# )
+def get_lib_name_for_windows(lib):
+ """Returns the name of a library artifact for Windows builds.
+
+ Args:
+ lib (File): A library file
+
+ Returns:
+ str: The name of the library
+ """
+ # On macos and windows, dynamic/static libraries always end with the
+ # extension and potential versions will be before the extension, and should
+ # be part of the library name.
+ # On linux, the version usually comes after the extension.
+ # So regardless of the platform we want to find the extension and make
+ # everything left to it the library name.
+
+ # Search for the extension - starting from the right - by removing any
+ # trailing digit.
+ comps = lib.basename.split(".")
+ for comp in reversed(comps):
+ if comp.isdigit():
+ comps.pop()
+ else:
+ break
+
+ # The library name is now everything minus the extension.
+ libname = ".".join(comps[:-1])
+
+ return libname
+
def abs(value):
"""Returns the absolute value of a number.
@@ -610,3 +648,25 @@ def _replace_all(string, substitutions):
string = string[:pattern_start] + replacement + string[after_pattern:]
return string
+
+def can_build_metadata(toolchain, ctx, crate_type):
+ """Can we build metadata for this rust_library?
+
+ Args:
+ toolchain (toolchain): The rust toolchain
+ ctx (ctx): The rule's context object
+ crate_type (String): one of lib|rlib|dylib|staticlib|cdylib|proc-macro
+
+ Returns:
+ bool: whether we can build metadata for this rule.
+ """
+
+ # In order to enable pipelined compilation we require that:
+ # 1) The _pipelined_compilation flag is enabled,
+ # 2) the OS running the rule is something other than windows as we require sandboxing (for now),
+ # 3) process_wrapper is enabled (this is disabled when compiling process_wrapper itself),
+ # 4) the crate_type is rlib or lib.
+ return toolchain._pipelined_compilation and \
+ toolchain.os != "windows" and \
+ ctx.attr._process_wrapper and \
+ crate_type in ("rlib", "lib")
diff --git a/rust/repositories.bzl b/rust/repositories.bzl
index 3fcfba3dfb..77b4bac5bc 100644
--- a/rust/repositories.bzl
+++ b/rust/repositories.bzl
@@ -92,6 +92,7 @@ def rust_register_toolchains(
dev_components = False,
edition = None,
include_rustc_srcs = False,
+ allocator_library = None,
iso_date = None,
register_toolchains = True,
rustfmt_version = None,
@@ -122,6 +123,7 @@ def rust_register_toolchains(
edition (str, optional): The rust edition to be used by default (2015, 2018, or 2021). If absent, every target is required to specify its `edition` attribute.
include_rustc_srcs (bool, optional): Whether to download rustc's src code. This is required in order to use rust-analyzer support.
See [rust_toolchain_repository.include_rustc_srcs](#rust_toolchain_repository-include_rustc_srcs). for more details
+ allocator_library (str, optional): Target that provides allocator functions when rust_library targets are embedded in a cc_binary.
iso_date (str, optional): The date of the nightly or beta release (ignored if the version is a specific version).
register_toolchains (bool): If true, repositories will be generated to produce and register `rust_toolchain` targets.
rustfmt_version (str, optional): The version of rustfmt. Either "nightly", "beta", or an exact version. Defaults to `version` if not specified.
@@ -166,6 +168,7 @@ def rust_register_toolchains(
exec_triple = exec_triple,
extra_target_triples = extra_target_triples,
include_rustc_srcs = include_rustc_srcs,
+ allocator_library = allocator_library,
iso_date = iso_date,
register_toolchain = register_toolchains,
rustfmt_version = rustfmt_version,
@@ -219,6 +222,7 @@ def _rust_toolchain_tools_repository_impl(ctx):
name = "rust_toolchain",
exec_triple = ctx.attr.exec_triple,
include_rustc_srcs = should_include_rustc_srcs(ctx),
+ allocator_library = ctx.attr.allocator_library,
target_triple = ctx.attr.target_triple,
stdlib_linkflags = stdlib_linkflags,
workspace_name = ctx.attr.name,
@@ -244,6 +248,9 @@ rust_toolchain_tools_repository = repository_rule(
"selection from toolchain fetching."
),
attrs = {
+ "allocator_library": attr.string(
+ doc = "Target that provides allocator functions when rust_library targets are embedded in a cc_binary.",
+ ),
"auth": attr.string_dict(
doc = (
"Auth object compatible with repository_ctx.download to use when downloading files. " +
@@ -348,6 +355,7 @@ def rust_toolchain_repository(
exec_compatible_with = None,
target_compatible_with = None,
include_rustc_srcs = False,
+ allocator_library = None,
iso_date = None,
rustfmt_version = None,
edition = None,
@@ -369,6 +377,7 @@ def rust_toolchain_repository(
exec_compatible_with (list, optional): A list of constraints for the execution platform for this toolchain.
target_compatible_with (list, optional): A list of constraints for the target platform for this toolchain.
include_rustc_srcs (bool, optional): Whether to download rustc's src code. This is required in order to use rust-analyzer support.
+ allocator_library (str, optional): Target that provides allocator functions when rust_library targets are embedded in a cc_binary.
iso_date (str, optional): The date of the tool.
rustfmt_version (str, optional): The version of rustfmt to be associated with the
toolchain.
@@ -395,6 +404,7 @@ def rust_toolchain_repository(
name = name + "_tools",
exec_triple = exec_triple,
include_rustc_srcs = include_rustc_srcs,
+ allocator_library = allocator_library,
target_triple = target_triple,
iso_date = iso_date,
version = version,
@@ -532,6 +542,7 @@ def rust_repository_set(
version,
exec_triple,
include_rustc_srcs = False,
+ allocator_library = None,
extra_target_triples = [],
iso_date = None,
rustfmt_version = None,
@@ -552,6 +563,7 @@ def rust_repository_set(
version (str): The version of the tool among "nightly", "beta', or an exact version.
exec_triple (str): The Rust-style target that this compiler runs on
include_rustc_srcs (bool, optional): Whether to download rustc's src code. This is required in order to use rust-analyzer support. Defaults to False.
+ allocator_library (str, optional): Target that provides allocator functions when rust_library targets are embedded in a cc_binary.
extra_target_triples (list, optional): Additional rust-style targets that this set of
toolchains should support. Defaults to [].
iso_date (str, optional): The date of the tool. Defaults to None.
@@ -575,6 +587,7 @@ def rust_repository_set(
name = toolchain_name,
exec_triple = exec_triple,
include_rustc_srcs = include_rustc_srcs,
+ allocator_library = allocator_library,
target_triple = target_triple,
iso_date = iso_date,
version = version,
diff --git a/rust/rust_analyzer/BUILD.bazel b/rust/rust_analyzer/BUILD.bazel
index 2b9f2bf970..04e6c60d79 100644
--- a/rust/rust_analyzer/BUILD.bazel
+++ b/rust/rust_analyzer/BUILD.bazel
@@ -3,11 +3,3 @@ package(default_visibility = ["//visibility:public"])
toolchain_type(
name = "toolchain_type",
)
-
-filegroup(
- name = "distro",
- srcs = [
- "BUILD.bazel",
- ],
- visibility = ["//:__subpackages__"],
-)
diff --git a/rust/settings/BUILD.bazel b/rust/settings/BUILD.bazel
index 2ff9a439fc..3171bc9551 100644
--- a/rust/settings/BUILD.bazel
+++ b/rust/settings/BUILD.bazel
@@ -29,15 +29,22 @@ bool_flag(
build_setting_default = False,
)
+# When set, this flag causes rustc to emit .rmeta files and use them for rlib -> rlib dependencies.
+# While this involves one extra (short) rustc invocation to build the rmeta file,
+# it allows library dependencies to be unlocked much sooner, increasing parallelism during compilation.
+bool_flag(
+ name = "pipelined_compilation",
+ build_setting_default = False,
+)
+
+# A flag to control whether to link rust_binary and rust_test targets using
+# cc_common.link instead of rustc.
+bool_flag(
+ name = "experimental_use_cc_common_link",
+ build_setting_default = False,
+)
+
bzl_library(
name = "bzl_lib",
srcs = glob(["**/*.bzl"]),
)
-
-filegroup(
- name = "distro",
- srcs = glob(["*.bzl"]) + [
- "BUILD.bazel",
- ],
- visibility = ["//:__subpackages__"],
-)
diff --git a/rust/toolchain.bzl b/rust/toolchain.bzl
index 349c3932f3..45fd8925e3 100644
--- a/rust/toolchain.bzl
+++ b/rust/toolchain.bzl
@@ -14,6 +14,7 @@ def _rust_stdlib_filegroup_impl(ctx):
core_files = []
between_core_and_std_files = []
std_files = []
+ test_files = []
memchr_files = []
alloc_files = []
self_contained_files = [
@@ -24,7 +25,8 @@ def _rust_stdlib_filegroup_impl(ctx):
std_rlibs = [f for f in rust_std if f.basename.endswith(".rlib")]
if std_rlibs:
- # std depends on everything
+ # test depends on std
+ # std depends on everything except test
#
# core only depends on alloc, but we poke adler in there
# because that needs to be before miniz_oxide
@@ -39,14 +41,15 @@ def _rust_stdlib_filegroup_impl(ctx):
between_core_and_std_files = [
f
for f in dot_a_files
- if "alloc" not in f.basename and "compiler_builtins" not in f.basename and "core" not in f.basename and "adler" not in f.basename and "std" not in f.basename and "memchr" not in f.basename
+ if "alloc" not in f.basename and "compiler_builtins" not in f.basename and "core" not in f.basename and "adler" not in f.basename and "std" not in f.basename and "memchr" not in f.basename and "test" not in f.basename
]
memchr_files = [f for f in dot_a_files if "memchr" in f.basename]
std_files = [f for f in dot_a_files if "std" in f.basename]
+ test_files = [f for f in dot_a_files if "test" in f.basename]
- partitioned_files_len = len(alloc_files) + len(between_alloc_and_core_files) + len(core_files) + len(between_core_and_std_files) + len(memchr_files) + len(std_files)
+ partitioned_files_len = len(alloc_files) + len(between_alloc_and_core_files) + len(core_files) + len(between_core_and_std_files) + len(memchr_files) + len(std_files) + len(test_files)
if partitioned_files_len != len(dot_a_files):
- partitioned = alloc_files + between_alloc_and_core_files + core_files + between_core_and_std_files + memchr_files + std_files
+ partitioned = alloc_files + between_alloc_and_core_files + core_files + between_core_and_std_files + memchr_files + std_files + test_files
for f in sorted(partitioned):
# buildifier: disable=print
print("File partitioned: {}".format(f.basename))
@@ -63,6 +66,7 @@ def _rust_stdlib_filegroup_impl(ctx):
core_files = core_files,
between_core_and_std_files = between_core_and_std_files,
std_files = std_files,
+ test_files = test_files,
memchr_files = memchr_files,
alloc_files = alloc_files,
self_contained_files = self_contained_files,
@@ -198,10 +202,18 @@ def _make_libstd_and_allocator_ccinfo(ctx, rust_std, allocator_library):
transitive = [between_core_and_std_inputs],
order = "topological",
)
+ test_inputs = depset(
+ [
+ _ltl(f, ctx, cc_toolchain, feature_configuration)
+ for f in rust_stdlib_info.test_files
+ ],
+ transitive = [std_inputs],
+ order = "topological",
+ )
link_inputs = cc_common.create_linker_input(
owner = rust_std.label,
- libraries = std_inputs,
+ libraries = test_inputs,
)
allocator_inputs = None
@@ -414,6 +426,11 @@ def _rust_toolchain_impl(ctx):
rename_first_party_crates = ctx.attr._rename_first_party_crates[BuildSettingInfo].value
third_party_dir = ctx.attr._third_party_dir[BuildSettingInfo].value
+ pipelined_compilation = ctx.attr._pipelined_compilation[BuildSettingInfo].value
+
+ experimental_use_cc_common_link = ctx.attr.experimental_use_cc_common_link[BuildSettingInfo].value
+ if experimental_use_cc_common_link and not ctx.attr.allocator_library:
+ fail("rust_toolchain.experimental_use_cc_common_link requires rust_toolchain.allocator_library to be set")
if ctx.attr.rust_lib:
# buildifier: disable=print
@@ -524,6 +541,8 @@ def _rust_toolchain_impl(ctx):
# Experimental and incompatible flags
_rename_first_party_crates = rename_first_party_crates,
_third_party_dir = third_party_dir,
+ _pipelined_compilation = pipelined_compilation,
+ _experimental_use_cc_common_link = experimental_use_cc_common_link,
)
return [
toolchain,
@@ -579,6 +598,10 @@ rust_toolchain = rule(
),
mandatory = True,
),
+ "experimental_use_cc_common_link": attr.label(
+ default = Label("//rust/settings:experimental_use_cc_common_link"),
+ doc = "Label to a boolean build setting that controls whether cc_common.link is used to link rust binaries.",
+ ),
"llvm_cov": attr.label(
doc = "The location of the `llvm-cov` binary. Can be a direct source or a filegroup containing one item. If None, rust code is not instrumented for coverage.",
allow_single_file = True,
@@ -661,6 +684,9 @@ rust_toolchain = rule(
"_cc_toolchain": attr.label(
default = Label("@bazel_tools//tools/cpp:current_cc_toolchain"),
),
+ "_pipelined_compilation": attr.label(
+ default = "@rules_rust//rust/settings:pipelined_compilation",
+ ),
"_rename_first_party_crates": attr.label(
default = Label("//rust/settings:rename_first_party_crates"),
),
diff --git a/rust/toolchain/BUILD.bazel b/rust/toolchain/BUILD.bazel
index fede5de030..766f1e5eeb 100644
--- a/rust/toolchain/BUILD.bazel
+++ b/rust/toolchain/BUILD.bazel
@@ -7,86 +7,36 @@ toolchain_files(
tool = "cargo",
)
-alias(
- name = "current_exec_cargo_files",
- actual = "current_cargo_files",
- deprecation = "instead use `@rules_rust//rust/toolchain:current_cargo_files`",
-)
-
toolchain_files(
name = "current_clippy_files",
tool = "clippy",
)
-alias(
- name = "current_exec_clippy_files",
- actual = "current_clippy_files",
- deprecation = "instead use `@rules_rust//rust/toolchain:current_clippy_files`",
-)
-
toolchain_files(
name = "current_rustc_files",
tool = "rustc",
)
-alias(
- name = "current_exec_rustc_files",
- actual = "current_rustc_files",
- deprecation = "instead use `@rules_rust//rust/toolchain:current_rustc_files`",
-)
-
toolchain_files(
name = "current_rustdoc_files",
tool = "rustdoc",
)
-alias(
- name = "current_exec_rustdoc_files",
- actual = "current_rustdoc_files",
- deprecation = "instead use `@rules_rust//rust/toolchain:current_rustdoc_files`",
-)
-
toolchain_files(
name = "current_rustfmt_files",
tool = "rustfmt",
)
-alias(
- name = "current_exec_rustfmt_files",
- actual = "current_rustfmt_files",
- deprecation = "instead use `@rules_rust//rust/toolchain:current_rustfmt_files`",
-)
-
toolchain_files(
name = "current_rustc_lib_files",
tool = "rustc_lib",
)
-alias(
- name = "current_exec_rustc_lib_files",
- actual = "current_rustc_lib_files",
- deprecation = "instead use `@rules_rust//rust/toolchain:current_rustc_lib_files`",
-)
-
toolchain_files(
name = "current_rust_stdlib_files",
tool = "rust_stdlib",
)
-alias(
- name = "current_exec_rust_stdlib_files",
- actual = "current_rust_stdlib_files",
- deprecation = "instead use `@rules_rust//rust/toolchain:current_rust_stdlib_files`",
-)
-
current_rust_toolchain(
name = "current_rust_toolchain",
)
-
-filegroup(
- name = "distro",
- srcs = [
- "BUILD.bazel",
- ],
- visibility = ["//:__subpackages__"],
-)
diff --git a/test/build_env/BUILD.bazel b/test/build_env/BUILD.bazel
index 908749a72e..b4e1a92457 100644
--- a/test/build_env/BUILD.bazel
+++ b/test/build_env/BUILD.bazel
@@ -2,7 +2,7 @@ load(
"//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
-load("//rust:defs.bzl", "rust_test")
+load("//rust:defs.bzl", "rust_library", "rust_test")
package(default_visibility = ["//visibility:public"])
@@ -13,6 +13,39 @@ rust_test(
edition = "2018",
)
+rust_library(
+ name = "arbitrary_env_lib",
+ srcs = ["tests/arbitrary_env_lib.rs"],
+ edition = "2018",
+ rustc_env = {
+ "USER_DEFINED_KEY": "USER_DEFINED_VALUE",
+ },
+)
+
+rust_test(
+ name = "arbitrary_env_lib_test",
+ crate = ":arbitrary_env_lib",
+ edition = "2018",
+)
+
+rust_library(
+ name = "arbitrary_env_lib_in_test",
+ srcs = ["tests/arbitrary_env_lib.rs"],
+ edition = "2018",
+ rustc_env = {
+ "USER_DEFINED_KEY": "DIFFERENT_USER_DEFINED_VALUE",
+ },
+)
+
+rust_test(
+ name = "arbitrary_env_lib_test_in_test",
+ crate = ":arbitrary_env_lib_in_test",
+ edition = "2018",
+ rustc_env = {
+ "USER_DEFINED_KEY": "USER_DEFINED_VALUE",
+ },
+)
+
rust_test(
name = "arbitrary_env_test",
srcs = ["tests/arbitrary_env.rs"],
diff --git a/test/build_env/tests/arbitrary_env_lib.rs b/test/build_env/tests/arbitrary_env_lib.rs
new file mode 100644
index 0000000000..e89fc2e545
--- /dev/null
+++ b/test/build_env/tests/arbitrary_env_lib.rs
@@ -0,0 +1,16 @@
+pub fn from_lib() -> &'static str {
+ env!("USER_DEFINED_KEY")
+}
+
+#[cfg(test)]
+mod tests {
+ #[test]
+ fn verify_from_lib() {
+ assert_eq!(super::from_lib(), "USER_DEFINED_VALUE");
+ }
+
+ #[test]
+ fn verify_from_test() {
+ assert_eq!(env!("USER_DEFINED_KEY"), "USER_DEFINED_VALUE");
+ }
+}
diff --git a/test/cc_common_link/BUILD.bazel b/test/cc_common_link/BUILD.bazel
new file mode 100644
index 0000000000..e996993f57
--- /dev/null
+++ b/test/cc_common_link/BUILD.bazel
@@ -0,0 +1,36 @@
+load("@rules_cc//cc:defs.bzl", "cc_library")
+load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", "rust_test")
+
+cc_library(
+ name = "allocator_library",
+ srcs = ["allocator_library.cc"],
+ visibility = ["//visibility:public"],
+)
+
+cc_library(
+ name = "cclinkstampdep",
+ linkstamp = "cclinkstampdep.cc",
+)
+
+rust_library(
+ name = "rdep",
+ srcs = ["rdep.rs"],
+ edition = "2021",
+)
+
+rust_binary(
+ name = "bin",
+ srcs = ["bin.rs"],
+ edition = "2021",
+ deps = [
+ ":cclinkstampdep",
+ ":rdep",
+ ],
+)
+
+rust_test(
+ name = "test",
+ srcs = ["test.rs"],
+ edition = "2021",
+ deps = [":rdep"],
+)
diff --git a/test/cc_common_link/WORKSPACE.bazel b/test/cc_common_link/WORKSPACE.bazel
new file mode 100644
index 0000000000..b2138761d4
--- /dev/null
+++ b/test/cc_common_link/WORKSPACE.bazel
@@ -0,0 +1,15 @@
+workspace(name = "test_cc_common_link")
+
+local_repository(
+ name = "rules_rust",
+ path = "../../",
+)
+
+load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains")
+
+rules_rust_dependencies()
+
+rust_register_toolchains(
+ allocator_library = "@test_cc_common_link//:allocator_library",
+ edition = "2018",
+)
diff --git a/test/cc_common_link/allocator_library.cc b/test/cc_common_link/allocator_library.cc
new file mode 100644
index 0000000000..be82631b07
--- /dev/null
+++ b/test/cc_common_link/allocator_library.cc
@@ -0,0 +1,52 @@
+#include