diff --git a/.bazelrc b/.bazelrc deleted file mode 100644 index dcaa60cf..00000000 --- a/.bazelrc +++ /dev/null @@ -1,4 +0,0 @@ -build --compilation_mode=opt -build --strip=never - -build --experimental_proto_descriptor_sets_include_source_info \ No newline at end of file diff --git a/.bazelversion b/.bazelversion deleted file mode 100644 index f4965a31..00000000 --- a/.bazelversion +++ /dev/null @@ -1 +0,0 @@ -6.0.0 \ No newline at end of file diff --git a/WORKSPACE b/WORKSPACE index d100a8cc..9923c614 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -281,7 +281,7 @@ load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencie crate_universe_dependencies(bootstrap = True) -load("//rust/crates:crates.bzl", "crate_repositories") +load("//rust:crate_deps.bzl", "crate_repositories") crate_repositories() diff --git a/example/rust/rust_grpc_compile/BUILD.bazel b/example/rust/rust_grpc_compile/BUILD.bazel deleted file mode 100644 index 10832b80..00000000 --- a/example/rust/rust_grpc_compile/BUILD.bazel +++ /dev/null @@ -1,11 +0,0 @@ -load("@rules_proto_grpc//rust:defs.bzl", "rust_grpc_compile") - -rust_grpc_compile( - name = "thing_rust_grpc", - protos = ["@rules_proto_grpc//example/proto:thing_proto"], -) - -rust_grpc_compile( - name = "greeter_rust_grpc", - protos = ["@rules_proto_grpc//example/proto:greeter_grpc"], -) diff --git a/example/rust/rust_grpc_compile/WORKSPACE b/example/rust/rust_grpc_compile/WORKSPACE deleted file mode 100644 index de01bd19..00000000 --- a/example/rust/rust_grpc_compile/WORKSPACE +++ /dev/null @@ -1,30 +0,0 @@ -local_repository( - name = "rules_proto_grpc", - path = "../../../", -) - -load("@rules_proto_grpc//:repositories.bzl", "rules_proto_grpc_repos", "rules_proto_grpc_toolchains") - -rules_proto_grpc_toolchains() - -rules_proto_grpc_repos() - -load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains") - -rules_proto_dependencies() - -rules_proto_toolchains() - -load("@rules_proto_grpc//rust:repositories.bzl", rules_proto_grpc_rust_repos = "rust_repos") - -rules_proto_grpc_rust_repos() - -load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps") - -grpc_deps() - -load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains") - -rules_rust_dependencies() - -rust_register_toolchains(edition = "2021") diff --git a/example/rust/rust_grpc_library/BUILD.bazel b/example/rust/rust_grpc_library/BUILD.bazel deleted file mode 100644 index 4fc4a438..00000000 --- a/example/rust/rust_grpc_library/BUILD.bazel +++ /dev/null @@ -1,9 +0,0 @@ -load("@rules_proto_grpc//rust:defs.bzl", "rust_grpc_library") - -rust_grpc_library( - name = "greeter_rust_grpc", - protos = [ - "@rules_proto_grpc//example/proto:greeter_grpc", - "@rules_proto_grpc//example/proto:thing_proto", - ], -) diff --git a/example/rust/rust_grpc_library/WORKSPACE b/example/rust/rust_grpc_library/WORKSPACE deleted file mode 100644 index de01bd19..00000000 --- a/example/rust/rust_grpc_library/WORKSPACE +++ /dev/null @@ -1,30 +0,0 @@ -local_repository( - name = "rules_proto_grpc", - path = "../../../", -) - -load("@rules_proto_grpc//:repositories.bzl", "rules_proto_grpc_repos", "rules_proto_grpc_toolchains") - -rules_proto_grpc_toolchains() - -rules_proto_grpc_repos() - -load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains") - -rules_proto_dependencies() - -rules_proto_toolchains() - -load("@rules_proto_grpc//rust:repositories.bzl", rules_proto_grpc_rust_repos = "rust_repos") - -rules_proto_grpc_rust_repos() - -load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps") - -grpc_deps() - -load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains") - -rules_rust_dependencies() - -rust_register_toolchains(edition = "2021") diff --git a/example/rust/rust_prost_proto_compile/BUILD.bazel b/example/rust/rust_prost_proto_compile/BUILD.bazel index 845a28cb..98044a4f 100644 --- a/example/rust/rust_prost_proto_compile/BUILD.bazel +++ b/example/rust/rust_prost_proto_compile/BUILD.bazel @@ -1,16 +1,31 @@ load("@rules_proto_grpc//rust:defs.bzl", "rust_prost_proto_compile") rust_prost_proto_compile( - name = "person_rust_proto", + name = "person_prost", + declared_proto_packages = ["example.proto"], + options = { + "//rust:rust_prost_plugin": ["type_attribute=.other.space.Person=#[derive(Eq\\,Hash)]"], + }, protos = ["@rules_proto_grpc//example/proto:person_proto"], ) rust_prost_proto_compile( - name = "place_rust_proto", + name = "place_prost", + declared_proto_packages = ["example.proto"], + options = { + "//rust:rust_prost_plugin": ["type_attribute=.other.space.Place=#[derive(Eq\\,Hash)]"], + }, protos = ["@rules_proto_grpc//example/proto:place_proto"], + + prost_proto_deps = [] ) rust_prost_proto_compile( - name = "thing_rust_proto", + name = "thing_prost", + declared_proto_packages = ["example.proto"], + options = { + # Known limitation, can't derive if the type contains a pbjson type. + # "//rust:rust_prost_plugin": ["type_attribute=.other.space.Thing=#[derive(Eq\\,Hash)]"], + }, protos = ["@rules_proto_grpc//example/proto:thing_proto"], -) +) \ No newline at end of file diff --git a/example/rust/rust_prost_proto_compile/WORKSPACE b/example/rust/rust_prost_proto_compile/WORKSPACE index de01bd19..09fcd079 100644 --- a/example/rust/rust_prost_proto_compile/WORKSPACE +++ b/example/rust/rust_prost_proto_compile/WORKSPACE @@ -4,27 +4,24 @@ local_repository( ) load("@rules_proto_grpc//:repositories.bzl", "rules_proto_grpc_repos", "rules_proto_grpc_toolchains") - rules_proto_grpc_toolchains() - rules_proto_grpc_repos() load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains") - rules_proto_dependencies() - rules_proto_toolchains() -load("@rules_proto_grpc//rust:repositories.bzl", rules_proto_grpc_rust_repos = "rust_repos") - -rules_proto_grpc_rust_repos() +load("@rules_proto_grpc//rust:repositories.bzl", "rust_repos") +rust_repos() load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps") - grpc_deps() load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains") - rules_rust_dependencies() - rust_register_toolchains(edition = "2021") + +load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies") +crate_universe_dependencies(bootstrap = True) +load("@rules_proto_grpc//rust:crate_deps.bzl", "crate_repositories") +crate_repositories() \ No newline at end of file diff --git a/example/rust/rust_prost_proto_library/BUILD.bazel b/example/rust/rust_prost_proto_library/BUILD.bazel index a2808770..f1c8562f 100644 --- a/example/rust/rust_prost_proto_library/BUILD.bazel +++ b/example/rust/rust_prost_proto_library/BUILD.bazel @@ -1,10 +1,32 @@ load("@rules_proto_grpc//rust:defs.bzl", "rust_prost_proto_library") + rust_prost_proto_library( - name = "proto_rust_prost_proto", + name = "personplace_prost", + declared_proto_packages = ["example.proto"], protos = [ "@rules_proto_grpc//example/proto:person_proto", "@rules_proto_grpc//example/proto:place_proto", + ], + options = { + "//rust:rust_prost_plugin": [ + "type_attribute=.example.proto.Person=#[derive(Eq\\,Hash)]", + "type_attribute=.example.proto.Place=#[derive(Eq\\,Hash)]", + ]}, + prost_proto_deps = [ + ":thing_prost" + ] +) + +rust_prost_proto_library( + name = "thing_prost", + declared_proto_packages = ["example.proto"], + protos = [ "@rules_proto_grpc//example/proto:thing_proto", ], -) + options = { + "//rust:rust_prost_plugin": [ + # Intentionally Ommitted. + # "type_attribute=.example.proto.Thing=#[derive(Eq\\,Hash)]", + ]} +) \ No newline at end of file diff --git a/example/rust/rust_prost_proto_library/WORKSPACE b/example/rust/rust_prost_proto_library/WORKSPACE index de01bd19..09fcd079 100644 --- a/example/rust/rust_prost_proto_library/WORKSPACE +++ b/example/rust/rust_prost_proto_library/WORKSPACE @@ -4,27 +4,24 @@ local_repository( ) load("@rules_proto_grpc//:repositories.bzl", "rules_proto_grpc_repos", "rules_proto_grpc_toolchains") - rules_proto_grpc_toolchains() - rules_proto_grpc_repos() load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains") - rules_proto_dependencies() - rules_proto_toolchains() -load("@rules_proto_grpc//rust:repositories.bzl", rules_proto_grpc_rust_repos = "rust_repos") - -rules_proto_grpc_rust_repos() +load("@rules_proto_grpc//rust:repositories.bzl", "rust_repos") +rust_repos() load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps") - grpc_deps() load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains") - rules_rust_dependencies() - rust_register_toolchains(edition = "2021") + +load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies") +crate_universe_dependencies(bootstrap = True) +load("@rules_proto_grpc//rust:crate_deps.bzl", "crate_repositories") +crate_repositories() \ No newline at end of file diff --git a/example/rust/rust_proto_library/BUILD.bazel b/example/rust/rust_proto_library/BUILD.bazel deleted file mode 100644 index 06106490..00000000 --- a/example/rust/rust_proto_library/BUILD.bazel +++ /dev/null @@ -1,10 +0,0 @@ -load("@rules_proto_grpc//rust:defs.bzl", "rust_proto_library") - -rust_proto_library( - name = "proto_rust_proto", - protos = [ - "@rules_proto_grpc//example/proto:person_proto", - "@rules_proto_grpc//example/proto:place_proto", - "@rules_proto_grpc//example/proto:thing_proto", - ], -) diff --git a/example/rust/rust_proto_library/WORKSPACE b/example/rust/rust_proto_library/WORKSPACE deleted file mode 100644 index de01bd19..00000000 --- a/example/rust/rust_proto_library/WORKSPACE +++ /dev/null @@ -1,30 +0,0 @@ -local_repository( - name = "rules_proto_grpc", - path = "../../../", -) - -load("@rules_proto_grpc//:repositories.bzl", "rules_proto_grpc_repos", "rules_proto_grpc_toolchains") - -rules_proto_grpc_toolchains() - -rules_proto_grpc_repos() - -load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains") - -rules_proto_dependencies() - -rules_proto_toolchains() - -load("@rules_proto_grpc//rust:repositories.bzl", rules_proto_grpc_rust_repos = "rust_repos") - -rules_proto_grpc_rust_repos() - -load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps") - -grpc_deps() - -load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains") - -rules_rust_dependencies() - -rust_register_toolchains(edition = "2021") diff --git a/example/rust/rust_tonic_grpc_compile/BUILD.bazel b/example/rust/rust_tonic_grpc_compile/BUILD.bazel index 585cc52d..8a67fdad 100644 --- a/example/rust/rust_tonic_grpc_compile/BUILD.bazel +++ b/example/rust/rust_tonic_grpc_compile/BUILD.bazel @@ -1,11 +1,12 @@ -load("@rules_proto_grpc//rust:defs.bzl", "rust_tonic_grpc_compile") +load("@rules_proto_grpc//rust:defs.bzl", "rust_tonic_grpc_compile", ) rust_tonic_grpc_compile( - name = "thing_rust_grpc", - protos = ["@rules_proto_grpc//example/proto:thing_proto"], -) - -rust_tonic_grpc_compile( - name = "greeter_rust_grpc", - protos = ["@rules_proto_grpc//example/proto:greeter_grpc"], -) + name = "greeter_tonic", + declared_proto_packages = ["example.proto"], + protos = [ + "@rules_proto_grpc//example/proto:greeter_grpc", + "@rules_proto_grpc//example/proto:person_proto", + "@rules_proto_grpc//example/proto:place_proto", + "@rules_proto_grpc//example/proto:thing_proto", + ] +) \ No newline at end of file diff --git a/example/rust/rust_tonic_grpc_compile/WORKSPACE b/example/rust/rust_tonic_grpc_compile/WORKSPACE index de01bd19..09fcd079 100644 --- a/example/rust/rust_tonic_grpc_compile/WORKSPACE +++ b/example/rust/rust_tonic_grpc_compile/WORKSPACE @@ -4,27 +4,24 @@ local_repository( ) load("@rules_proto_grpc//:repositories.bzl", "rules_proto_grpc_repos", "rules_proto_grpc_toolchains") - rules_proto_grpc_toolchains() - rules_proto_grpc_repos() load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains") - rules_proto_dependencies() - rules_proto_toolchains() -load("@rules_proto_grpc//rust:repositories.bzl", rules_proto_grpc_rust_repos = "rust_repos") - -rules_proto_grpc_rust_repos() +load("@rules_proto_grpc//rust:repositories.bzl", "rust_repos") +rust_repos() load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps") - grpc_deps() load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains") - rules_rust_dependencies() - rust_register_toolchains(edition = "2021") + +load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies") +crate_universe_dependencies(bootstrap = True) +load("@rules_proto_grpc//rust:crate_deps.bzl", "crate_repositories") +crate_repositories() \ No newline at end of file diff --git a/example/rust/rust_tonic_grpc_library/BUILD.bazel b/example/rust/rust_tonic_grpc_library/BUILD.bazel index 23e18612..4ae60305 100644 --- a/example/rust/rust_tonic_grpc_library/BUILD.bazel +++ b/example/rust/rust_tonic_grpc_library/BUILD.bazel @@ -1,9 +1,25 @@ -load("@rules_proto_grpc//rust:defs.bzl", "rust_tonic_grpc_library") +load("@rules_proto_grpc//rust:defs.bzl", "rust_tonic_grpc_library", "rust_prost_proto_library") + rust_tonic_grpc_library( - name = "greeter_rust_tonic_grpc", + name = "greeter_tonic", + declared_proto_packages = ["example.proto"], protos = [ "@rules_proto_grpc//example/proto:greeter_grpc", + "@rules_proto_grpc//example/proto:person_proto", + "@rules_proto_grpc//example/proto:place_proto", "@rules_proto_grpc//example/proto:thing_proto", ], + options = { + "//rust:rust_prost_plugin": [ + "type_attribute=.example.proto.Person=#[derive(Eq\\,Hash)]", + "type_attribute=.example.proto.Place=#[derive(Eq\\,Hash)]", + ]}, ) +# rust_prost_proto_library( +# name = "thing_prost", +# declared_proto_packages = ["example.proto"], +# protos = [ +# "@rules_proto_grpc//example/proto:thing_proto", +# ], +# ) diff --git a/example/rust/rust_tonic_grpc_library/WORKSPACE b/example/rust/rust_tonic_grpc_library/WORKSPACE index de01bd19..09fcd079 100644 --- a/example/rust/rust_tonic_grpc_library/WORKSPACE +++ b/example/rust/rust_tonic_grpc_library/WORKSPACE @@ -4,27 +4,24 @@ local_repository( ) load("@rules_proto_grpc//:repositories.bzl", "rules_proto_grpc_repos", "rules_proto_grpc_toolchains") - rules_proto_grpc_toolchains() - rules_proto_grpc_repos() load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains") - rules_proto_dependencies() - rules_proto_toolchains() -load("@rules_proto_grpc//rust:repositories.bzl", rules_proto_grpc_rust_repos = "rust_repos") - -rules_proto_grpc_rust_repos() +load("@rules_proto_grpc//rust:repositories.bzl", "rust_repos") +rust_repos() load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps") - grpc_deps() load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains") - rules_rust_dependencies() - rust_register_toolchains(edition = "2021") + +load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies") +crate_universe_dependencies(bootstrap = True) +load("@rules_proto_grpc//rust:crate_deps.bzl", "crate_repositories") +crate_repositories() \ No newline at end of file diff --git a/repositories.bzl b/repositories.bzl index a3edbef5..db8e46dc 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -263,8 +263,8 @@ VERSIONS = { # Rust "rules_rust": { "type": "http", - "urls": ["https://github.com/bazelbuild/rules_rust/releases/download/0.16.1/rules_rust-v0.16.1.tar.gz"], - "sha256": "aaaa4b9591a5dad8d8907ae2dbe6e0eb49e6314946ce4c7149241648e56a1277", + "urls": ["https://github.com/bazelbuild/rules_rust/releases/download/0.22.0/rules_rust-v0.22.0.tar.gz"], + "sha256": "50272c39f20a3a3507cb56dcb5c3b348bda697a7d868708449e2fa6fb893444c", }, # Scala diff --git a/rust/3rdparty/BUILD b/rust/3rdparty/BUILD new file mode 100644 index 00000000..0dbc4476 --- /dev/null +++ b/rust/3rdparty/BUILD @@ -0,0 +1,110 @@ +# Third party crates/deps for rules_proto_grpc_rust. + +load("@rules_rust//crate_universe:defs.bzl", "crate", "crates_vendor") +crates_vendor( + name = "crates_vendor", + annotations = { + "prost-build": [crate.annotation( + build_script_env = { + "PROTOC_NO_VENDOR": "true", + "PROTOC": "$(execpath @com_google_protobuf//:protoc)", + "PROTOC_INCLUDE": ".", + }, + build_script_tools = ["@com_google_protobuf//:protoc"], + )], + }, + generate_binaries = True, + mode = "remote", + packages = { + "protoc-gen-prost": crate.spec( + version = "0.2.1", + ), + # See https://github.com/neoeinstein/protoc-gen-prost/issues/62 + "protoc-gen-prost-crate": crate.spec( + git = "https://github.com/neoeinstein/protoc-gen-prost", + rev = "038cd342677dfa869f8c3a2a2787a139fc561df8" + ), + "protoc-gen-tonic": crate.spec( + version = "0.2.1", + ), + "protoc-gen-prost-serde": crate.spec( + version = "0.2.1", + ), + "prost": crate.spec( + version = "0.11.6", + ), + "prost-derive": crate.spec( + version = "0.11.6", + ), + "prost-types": crate.spec( + version = "0.11.6", + ), + "tonic": crate.spec( + version = "0.8.2", + ), + "tonic-build": crate.spec( + version = "0.8.2", + ), + + # routeguide example deps + "serde": crate.spec( + features = ["derive"], + version = "1.0.152", + ), + "serde_json": crate.spec( + version = "1.0.91", + ), + "rand": crate.spec( + version = "0.8.5", + ), + "tokio": crate.spec( + version = "1.24.2", + ), + "tokio-stream": crate.spec( + version = "0.1.11", + ), + "async-stream": crate.spec( + version = "0.3.3", + ), + "futures": crate.spec( + version = "0.3.25", + ), + # See: https://github.com/influxdata/pbjson/pull/90 + "pbjson-types": crate.spec( + git = 'https://github.com/echochamber/pbjson', + rev = 'a4f760e5d53086d989f28dc9d1d0adcc22fe37c4' + ), + "pbjson": crate.spec( + version = "0.5.1", + ), + }, + repository_name = "rules_proto_grpc_rust", + supported_platform_triples = [ + "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", # disabled as @platforms doesn't have //cpu:riscv32 in the version embedded in Bazel 5.x + ], + tags = ["manual"], + vendor_path = "crates", +) diff --git a/rust/3rdparty/crates/BUILD.android-tzdata-0.1.1.bazel b/rust/3rdparty/crates/BUILD.android-tzdata-0.1.1.bazel new file mode 100644 index 00000000..31d3cfee --- /dev/null +++ b/rust/3rdparty/crates/BUILD.android-tzdata-0.1.1.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "android_tzdata", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=android-tzdata", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.1", +) diff --git a/rust/3rdparty/crates/BUILD.anyhow-1.0.71.bazel b/rust/3rdparty/crates/BUILD.anyhow-1.0.71.bazel new file mode 100644 index 00000000..81cd92b0 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.anyhow-1.0.71.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "anyhow", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=anyhow", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.71", + deps = [ + "@rules_proto_grpc_rust__anyhow-1.0.71//:build_script_build", + ], +) + +cargo_build_script( + name = "anyhow_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=anyhow", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.71", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "anyhow_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.async-stream-0.3.5.bazel b/rust/3rdparty/crates/BUILD.async-stream-0.3.5.bazel new file mode 100644 index 00000000..d964b7fa --- /dev/null +++ b/rust/3rdparty/crates/BUILD.async-stream-0.3.5.bazel @@ -0,0 +1,48 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "async_stream", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@rules_proto_grpc_rust__async-stream-impl-0.3.5//:async_stream_impl", + ], + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=async-stream", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.5", + deps = [ + "@rules_proto_grpc_rust__futures-core-0.3.28//:futures_core", + "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", + ], +) diff --git a/rust/3rdparty/crates/BUILD.async-stream-impl-0.3.5.bazel b/rust/3rdparty/crates/BUILD.async-stream-impl-0.3.5.bazel new file mode 100644 index 00000000..ffaa8b8c --- /dev/null +++ b/rust/3rdparty/crates/BUILD.async-stream-impl-0.3.5.bazel @@ -0,0 +1,46 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_proc_macro( + name = "async_stream_impl", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=async-stream-impl", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.5", + deps = [ + "@rules_proto_grpc_rust__proc-macro2-1.0.59//:proc_macro2", + "@rules_proto_grpc_rust__quote-1.0.28//:quote", + "@rules_proto_grpc_rust__syn-2.0.18//:syn", + ], +) diff --git a/rust/3rdparty/crates/BUILD.async-trait-0.1.68.bazel b/rust/3rdparty/crates/BUILD.async-trait-0.1.68.bazel new file mode 100644 index 00000000..49932f3f --- /dev/null +++ b/rust/3rdparty/crates/BUILD.async-trait-0.1.68.bazel @@ -0,0 +1,84 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_proc_macro( + name = "async_trait", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=async-trait", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.68", + deps = [ + "@rules_proto_grpc_rust__async-trait-0.1.68//:build_script_build", + "@rules_proto_grpc_rust__proc-macro2-1.0.59//:proc_macro2", + "@rules_proto_grpc_rust__quote-1.0.28//:quote", + "@rules_proto_grpc_rust__syn-2.0.18//:syn", + ], +) + +cargo_build_script( + name = "async-trait_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=async-trait", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.68", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "async-trait_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.autocfg-1.1.0.bazel b/rust/3rdparty/crates/BUILD.autocfg-1.1.0.bazel new file mode 100644 index 00000000..3f604951 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.autocfg-1.1.0.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 @//rust/3rdparty:crates_vendor +############################################################################### + +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(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=autocfg", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.1.0", +) diff --git a/rust/3rdparty/crates/BUILD.axum-0.6.18.bazel b/rust/3rdparty/crates/BUILD.axum-0.6.18.bazel new file mode 100644 index 00000000..c2be975b --- /dev/null +++ b/rust/3rdparty/crates/BUILD.axum-0.6.18.bazel @@ -0,0 +1,105 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "axum", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@rules_proto_grpc_rust__async-trait-0.1.68//:async_trait", + ], + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=axum", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.6.18", + deps = [ + "@rules_proto_grpc_rust__axum-0.6.18//:build_script_build", + "@rules_proto_grpc_rust__axum-core-0.3.4//:axum_core", + "@rules_proto_grpc_rust__bitflags-1.3.2//:bitflags", + "@rules_proto_grpc_rust__bytes-1.4.0//:bytes", + "@rules_proto_grpc_rust__futures-util-0.3.28//:futures_util", + "@rules_proto_grpc_rust__http-0.2.9//:http", + "@rules_proto_grpc_rust__http-body-0.4.5//:http_body", + "@rules_proto_grpc_rust__hyper-0.14.26//:hyper", + "@rules_proto_grpc_rust__itoa-1.0.6//:itoa", + "@rules_proto_grpc_rust__matchit-0.7.0//:matchit", + "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", + "@rules_proto_grpc_rust__mime-0.3.17//:mime", + "@rules_proto_grpc_rust__percent-encoding-2.3.0//:percent_encoding", + "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", + "@rules_proto_grpc_rust__serde-1.0.163//:serde", + "@rules_proto_grpc_rust__sync_wrapper-0.1.2//:sync_wrapper", + "@rules_proto_grpc_rust__tower-0.4.13//:tower", + "@rules_proto_grpc_rust__tower-layer-0.3.2//:tower_layer", + "@rules_proto_grpc_rust__tower-service-0.3.2//:tower_service", + ], +) + +cargo_build_script( + name = "axum_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + proc_macro_deps = [ + "@rules_proto_grpc_rust__rustversion-1.0.12//:rustversion", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=axum", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.6.18", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "axum_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.axum-core-0.3.4.bazel b/rust/3rdparty/crates/BUILD.axum-core-0.3.4.bazel new file mode 100644 index 00000000..9badeff5 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.axum-core-0.3.4.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "axum_core", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@rules_proto_grpc_rust__async-trait-0.1.68//:async_trait", + ], + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=axum-core", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.4", + deps = [ + "@rules_proto_grpc_rust__axum-core-0.3.4//:build_script_build", + "@rules_proto_grpc_rust__bytes-1.4.0//:bytes", + "@rules_proto_grpc_rust__futures-util-0.3.28//:futures_util", + "@rules_proto_grpc_rust__http-0.2.9//:http", + "@rules_proto_grpc_rust__http-body-0.4.5//:http_body", + "@rules_proto_grpc_rust__mime-0.3.17//:mime", + "@rules_proto_grpc_rust__tower-layer-0.3.2//:tower_layer", + "@rules_proto_grpc_rust__tower-service-0.3.2//:tower_service", + ], +) + +cargo_build_script( + name = "axum-core_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + proc_macro_deps = [ + "@rules_proto_grpc_rust__rustversion-1.0.12//:rustversion", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=axum-core", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.4", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "axum-core_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.base64-0.13.1.bazel b/rust/3rdparty/crates/BUILD.base64-0.13.1.bazel new file mode 100644 index 00000000..314bdf77 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.base64-0.13.1.bazel @@ -0,0 +1,45 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +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(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=base64", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.13.1", +) diff --git a/rust/crates/BUILD.bazel b/rust/3rdparty/crates/BUILD.bazel similarity index 53% rename from rust/crates/BUILD.bazel rename to rust/3rdparty/crates/BUILD.bazel index 061c354e..10f32aab 100644 --- a/rust/crates/BUILD.bazel +++ b/rust/3rdparty/crates/BUILD.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //rust:crates_vendor +# bazel run @//rust/3rdparty:crates_vendor ############################################################################### package(default_visibility = ["//visibility:public"]) @@ -11,11 +11,9 @@ package(default_visibility = ["//visibility:public"]) exports_files( [ "cargo-bazel.json", - "defs.bzl", "crates.bzl", - ] + glob([ - "*.bazel", - ]), + "defs.bzl", + ] + glob(["*.bazel"]), ) filegroup( @@ -29,37 +27,49 @@ filegroup( # Workspace Member Dependencies alias( name = "async-stream", - actual = "@rules_proto_grpc_rust__async-stream-0.3.3//:async_stream", + actual = "@rules_proto_grpc_rust__async-stream-0.3.5//:async_stream", tags = ["manual"], ) alias( name = "futures", - actual = "@rules_proto_grpc_rust__futures-0.3.25//:futures", + actual = "@rules_proto_grpc_rust__futures-0.3.28//:futures", + tags = ["manual"], +) + +alias( + name = "pbjson", + actual = "@rules_proto_grpc_rust__pbjson-0.5.1//:pbjson", + tags = ["manual"], +) + +alias( + name = "pbjson-types", + actual = "@rules_proto_grpc_rust__pbjson-types-0.5.1//:pbjson_types", tags = ["manual"], ) alias( name = "prost", - actual = "@rules_proto_grpc_rust__prost-0.11.6//:prost", + actual = "@rules_proto_grpc_rust__prost-0.11.9//:prost", tags = ["manual"], ) alias( name = "prost-derive", - actual = "@rules_proto_grpc_rust__prost-derive-0.11.6//:prost_derive", + actual = "@rules_proto_grpc_rust__prost-derive-0.11.9//:prost_derive", tags = ["manual"], ) alias( name = "prost-types", - actual = "@rules_proto_grpc_rust__prost-types-0.11.6//:prost_types", + actual = "@rules_proto_grpc_rust__prost-types-0.11.9//:prost_types", tags = ["manual"], ) alias( name = "protoc-gen-prost", - actual = "@rules_proto_grpc_rust__protoc-gen-prost-0.2.1//:protoc_gen_prost", + actual = "@rules_proto_grpc_rust__protoc-gen-prost-0.2.2//:protoc_gen_prost", tags = ["manual"], ) @@ -69,9 +79,15 @@ alias( tags = ["manual"], ) +alias( + name = "protoc-gen-prost-serde", + actual = "@rules_proto_grpc_rust__protoc-gen-prost-serde-0.2.3//:protoc_gen_prost_serde", + tags = ["manual"], +) + alias( name = "protoc-gen-tonic", - actual = "@rules_proto_grpc_rust__protoc-gen-tonic-0.2.1//:protoc_gen_tonic", + actual = "@rules_proto_grpc_rust__protoc-gen-tonic-0.2.2//:protoc_gen_tonic", tags = ["manual"], ) @@ -83,25 +99,25 @@ alias( alias( name = "serde", - actual = "@rules_proto_grpc_rust__serde-1.0.152//:serde", + actual = "@rules_proto_grpc_rust__serde-1.0.163//:serde", tags = ["manual"], ) alias( name = "serde_json", - actual = "@rules_proto_grpc_rust__serde_json-1.0.91//:serde_json", + actual = "@rules_proto_grpc_rust__serde_json-1.0.96//:serde_json", tags = ["manual"], ) alias( name = "tokio", - actual = "@rules_proto_grpc_rust__tokio-1.24.2//:tokio", + actual = "@rules_proto_grpc_rust__tokio-1.28.2//:tokio", tags = ["manual"], ) alias( name = "tokio-stream", - actual = "@rules_proto_grpc_rust__tokio-stream-0.1.11//:tokio_stream", + actual = "@rules_proto_grpc_rust__tokio-stream-0.1.14//:tokio_stream", tags = ["manual"], ) @@ -113,17 +129,29 @@ alias( alias( name = "tonic-build", - actual = "@rules_proto_grpc_rust__tonic-build-0.8.2//:tonic_build", + actual = "@rules_proto_grpc_rust__tonic-build-0.8.4//:tonic_build", tags = ["manual"], ) # Binaries alias( - name = "protoc-gen-prost__protoc-gen-prost", + name = "cc__gcc-shim", + actual = "@rules_proto_grpc_rust__cc-1.0.79//:gcc-shim__bin", + tags = ["manual"], +) + +alias( + name = "protoc-gen-prost-0.2.1__protoc-gen-prost", actual = "@rules_proto_grpc_rust__protoc-gen-prost-0.2.1//:protoc-gen-prost__bin", tags = ["manual"], ) +alias( + name = "protoc-gen-prost-0.2.2__protoc-gen-prost", + actual = "@rules_proto_grpc_rust__protoc-gen-prost-0.2.2//:protoc-gen-prost__bin", + tags = ["manual"], +) + alias( name = "protoc-gen-prost-crate__protoc-gen-prost-crate", actual = "@rules_proto_grpc_rust__protoc-gen-prost-crate-0.3.1//:protoc-gen-prost-crate__bin", @@ -131,7 +159,13 @@ alias( ) alias( - name = "protoc-gen-tonic__protoc-gen-tonic", - actual = "@rules_proto_grpc_rust__protoc-gen-tonic-0.2.1//:protoc-gen-tonic__bin", + name = "protoc-gen-prost-serde__protoc-gen-prost-serde", + actual = "@rules_proto_grpc_rust__protoc-gen-prost-serde-0.2.3//:protoc-gen-prost-serde__bin", + tags = ["manual"], +) + +alias( + name = "protoc-gen-tonic__protoc-gen-tonic", + actual = "@rules_proto_grpc_rust__protoc-gen-tonic-0.2.2//:protoc-gen-tonic__bin", tags = ["manual"], ) diff --git a/rust/3rdparty/crates/BUILD.bitflags-1.3.2.bazel b/rust/3rdparty/crates/BUILD.bitflags-1.3.2.bazel new file mode 100644 index 00000000..f4974918 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.bitflags-1.3.2.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +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(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=bitflags", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.3.2", +) diff --git a/rust/3rdparty/crates/BUILD.bytes-1.4.0.bazel b/rust/3rdparty/crates/BUILD.bytes-1.4.0.bazel new file mode 100644 index 00000000..102acc1e --- /dev/null +++ b/rust/3rdparty/crates/BUILD.bytes-1.4.0.bazel @@ -0,0 +1,45 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "bytes", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=bytes", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.4.0", +) diff --git a/rust/3rdparty/crates/BUILD.cc-1.0.79.bazel b/rust/3rdparty/crates/BUILD.cc-1.0.79.bazel new file mode 100644 index 00000000..831f7191 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.cc-1.0.79.bazel @@ -0,0 +1,74 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", +) + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "cc", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=cc", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.79", +) + +rust_binary( + name = "gcc-shim__bin", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/bin/gcc-shim.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=cc", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.79", + deps = [ + ":cc", + ], +) diff --git a/rust/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel b/rust/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel new file mode 100644 index 00000000..0fb6556a --- /dev/null +++ b/rust/3rdparty/crates/BUILD.cfg-if-1.0.0.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 @//rust/3rdparty:crates_vendor +############################################################################### + +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(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=cfg-if", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.0", +) diff --git a/rust/3rdparty/crates/BUILD.chrono-0.4.26.bazel b/rust/3rdparty/crates/BUILD.chrono-0.4.26.bazel new file mode 100644 index 00000000..0bc88c2c --- /dev/null +++ b/rust/3rdparty/crates/BUILD.chrono-0.4.26.bazel @@ -0,0 +1,61 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) + +rust_library( + name = "chrono", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=chrono", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.26", + deps = [ + "@rules_proto_grpc_rust__num-traits-0.2.15//:num_traits", + ] + select({ + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@rules_proto_grpc_rust__android-tzdata-0.1.1//:android_tzdata", # cfg(target_os = "android") + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@rules_proto_grpc_rust__android-tzdata-0.1.1//:android_tzdata", # cfg(target_os = "android") + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@rules_proto_grpc_rust__android-tzdata-0.1.1//:android_tzdata", # cfg(target_os = "android") + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@rules_proto_grpc_rust__android-tzdata-0.1.1//:android_tzdata", # cfg(target_os = "android") + ], + "//conditions:default": [], + }), +) diff --git a/rust/3rdparty/crates/BUILD.either-1.8.1.bazel b/rust/3rdparty/crates/BUILD.either-1.8.1.bazel new file mode 100644 index 00000000..589f9d9f --- /dev/null +++ b/rust/3rdparty/crates/BUILD.either-1.8.1.bazel @@ -0,0 +1,45 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "either", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "use_std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=either", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.8.1", +) diff --git a/rust/3rdparty/crates/BUILD.errno-0.3.1.bazel b/rust/3rdparty/crates/BUILD.errno-0.3.1.bazel new file mode 100644 index 00000000..6523f074 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.errno-0.3.1.bazel @@ -0,0 +1,110 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "errno", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=errno", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.1", + deps = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@rules_proto_grpc_rust__windows-sys-0.48.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:wasm32-wasi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(target_os = "wasi") + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@rules_proto_grpc_rust__windows-sys-0.48.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "//conditions:default": [], + }), +) diff --git a/rust/3rdparty/crates/BUILD.errno-dragonfly-0.1.2.bazel b/rust/3rdparty/crates/BUILD.errno-dragonfly-0.1.2.bazel new file mode 100644 index 00000000..d7da6548 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.errno-dragonfly-0.1.2.bazel @@ -0,0 +1,85 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "errno_dragonfly", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=errno-dragonfly", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.2", + deps = [ + "@rules_proto_grpc_rust__errno-dragonfly-0.1.2//:build_script_build", + "@rules_proto_grpc_rust__libc-0.2.145//:libc", + ], +) + +cargo_build_script( + name = "errno-dragonfly_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=errno-dragonfly", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.2", + visibility = ["//visibility:private"], + deps = [ + "@rules_proto_grpc_rust__cc-1.0.79//:cc", + ], +) + +alias( + name = "build_script_build", + actual = "errno-dragonfly_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.fastrand-1.9.0.bazel b/rust/3rdparty/crates/BUILD.fastrand-1.9.0.bazel new file mode 100644 index 00000000..7002a4c7 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.fastrand-1.9.0.bazel @@ -0,0 +1,47 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 OR MIT +# ]) + +rust_library( + name = "fastrand", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=fastrand", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.9.0", + deps = select({ + "@rules_rust//rust/platform:wasm32-unknown-unknown": [ + "@rules_proto_grpc_rust__instant-0.1.12//:instant", # cfg(all(target_arch = "wasm32", not(target_os = "wasi"))) + ], + "//conditions:default": [], + }), +) diff --git a/rust/3rdparty/crates/BUILD.fixedbitset-0.4.2.bazel b/rust/3rdparty/crates/BUILD.fixedbitset-0.4.2.bazel new file mode 100644 index 00000000..ef723c2d --- /dev/null +++ b/rust/3rdparty/crates/BUILD.fixedbitset-0.4.2.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) + +rust_library( + name = "fixedbitset", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=fixedbitset", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.2", +) diff --git a/rust/3rdparty/crates/BUILD.fnv-1.0.7.bazel b/rust/3rdparty/crates/BUILD.fnv-1.0.7.bazel new file mode 100644 index 00000000..3b0d057a --- /dev/null +++ b/rust/3rdparty/crates/BUILD.fnv-1.0.7.bazel @@ -0,0 +1,45 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +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(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=fnv", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.7", +) diff --git a/rust/3rdparty/crates/BUILD.futures-0.3.28.bazel b/rust/3rdparty/crates/BUILD.futures-0.3.28.bazel new file mode 100644 index 00000000..84ac43dc --- /dev/null +++ b/rust/3rdparty/crates/BUILD.futures-0.3.28.bazel @@ -0,0 +1,58 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "futures", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "async-await", + "default", + "executor", + "futures-executor", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=futures", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.28", + deps = [ + "@rules_proto_grpc_rust__futures-channel-0.3.28//:futures_channel", + "@rules_proto_grpc_rust__futures-core-0.3.28//:futures_core", + "@rules_proto_grpc_rust__futures-executor-0.3.28//:futures_executor", + "@rules_proto_grpc_rust__futures-io-0.3.28//:futures_io", + "@rules_proto_grpc_rust__futures-sink-0.3.28//:futures_sink", + "@rules_proto_grpc_rust__futures-task-0.3.28//:futures_task", + "@rules_proto_grpc_rust__futures-util-0.3.28//:futures_util", + ], +) diff --git a/rust/3rdparty/crates/BUILD.futures-channel-0.3.28.bazel b/rust/3rdparty/crates/BUILD.futures-channel-0.3.28.bazel new file mode 100644 index 00000000..789db783 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.futures-channel-0.3.28.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "futures_channel", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "default", + "futures-sink", + "sink", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=futures-channel", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.28", + deps = [ + "@rules_proto_grpc_rust__futures-channel-0.3.28//:build_script_build", + "@rules_proto_grpc_rust__futures-core-0.3.28//:futures_core", + "@rules_proto_grpc_rust__futures-sink-0.3.28//:futures_sink", + ], +) + +cargo_build_script( + name = "futures-channel_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "alloc", + "default", + "futures-sink", + "sink", + "std", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=futures-channel", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.28", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "futures-channel_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.futures-core-0.3.28.bazel b/rust/3rdparty/crates/BUILD.futures-core-0.3.28.bazel new file mode 100644 index 00000000..9d9be422 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.futures-core-0.3.28.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "futures_core", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=futures-core", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.28", + deps = [ + "@rules_proto_grpc_rust__futures-core-0.3.28//:build_script_build", + ], +) + +cargo_build_script( + name = "futures-core_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "alloc", + "default", + "std", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=futures-core", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.28", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "futures-core_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.futures-executor-0.3.28.bazel b/rust/3rdparty/crates/BUILD.futures-executor-0.3.28.bazel new file mode 100644 index 00000000..3c44734e --- /dev/null +++ b/rust/3rdparty/crates/BUILD.futures-executor-0.3.28.bazel @@ -0,0 +1,49 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "futures_executor", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=futures-executor", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.28", + deps = [ + "@rules_proto_grpc_rust__futures-core-0.3.28//:futures_core", + "@rules_proto_grpc_rust__futures-task-0.3.28//:futures_task", + "@rules_proto_grpc_rust__futures-util-0.3.28//:futures_util", + ], +) diff --git a/rust/3rdparty/crates/BUILD.futures-io-0.3.28.bazel b/rust/3rdparty/crates/BUILD.futures-io-0.3.28.bazel new file mode 100644 index 00000000..31213165 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.futures-io-0.3.28.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "futures_io", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=futures-io", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.28", +) diff --git a/rust/3rdparty/crates/BUILD.futures-macro-0.3.28.bazel b/rust/3rdparty/crates/BUILD.futures-macro-0.3.28.bazel new file mode 100644 index 00000000..29dac62d --- /dev/null +++ b/rust/3rdparty/crates/BUILD.futures-macro-0.3.28.bazel @@ -0,0 +1,46 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_proc_macro( + name = "futures_macro", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=futures-macro", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.28", + deps = [ + "@rules_proto_grpc_rust__proc-macro2-1.0.59//:proc_macro2", + "@rules_proto_grpc_rust__quote-1.0.28//:quote", + "@rules_proto_grpc_rust__syn-2.0.18//:syn", + ], +) diff --git a/rust/3rdparty/crates/BUILD.futures-sink-0.3.28.bazel b/rust/3rdparty/crates/BUILD.futures-sink-0.3.28.bazel new file mode 100644 index 00000000..0505e112 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.futures-sink-0.3.28.bazel @@ -0,0 +1,46 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "futures_sink", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=futures-sink", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.28", +) diff --git a/rust/3rdparty/crates/BUILD.futures-task-0.3.28.bazel b/rust/3rdparty/crates/BUILD.futures-task-0.3.28.bazel new file mode 100644 index 00000000..627af5a9 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.futures-task-0.3.28.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "futures_task", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=futures-task", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.28", + deps = [ + "@rules_proto_grpc_rust__futures-task-0.3.28//:build_script_build", + ], +) + +cargo_build_script( + name = "futures-task_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "alloc", + "std", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=futures-task", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.28", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "futures-task_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.futures-util-0.3.28.bazel b/rust/3rdparty/crates/BUILD.futures-util-0.3.28.bazel new file mode 100644 index 00000000..4ec97f46 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.futures-util-0.3.28.bazel @@ -0,0 +1,123 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "futures_util", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "async-await", + "async-await-macro", + "channel", + "futures-channel", + "futures-io", + "futures-macro", + "futures-sink", + "io", + "memchr", + "sink", + "slab", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@rules_proto_grpc_rust__futures-macro-0.3.28//:futures_macro", + ], + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=futures-util", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.28", + deps = [ + "@rules_proto_grpc_rust__futures-channel-0.3.28//:futures_channel", + "@rules_proto_grpc_rust__futures-core-0.3.28//:futures_core", + "@rules_proto_grpc_rust__futures-io-0.3.28//:futures_io", + "@rules_proto_grpc_rust__futures-sink-0.3.28//:futures_sink", + "@rules_proto_grpc_rust__futures-task-0.3.28//:futures_task", + "@rules_proto_grpc_rust__futures-util-0.3.28//:build_script_build", + "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", + "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", + "@rules_proto_grpc_rust__pin-utils-0.1.0//:pin_utils", + "@rules_proto_grpc_rust__slab-0.4.8//:slab", + ], +) + +cargo_build_script( + name = "futures-util_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "alloc", + "async-await", + "async-await-macro", + "channel", + "futures-channel", + "futures-io", + "futures-macro", + "futures-sink", + "io", + "memchr", + "sink", + "slab", + "std", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=futures-util", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.28", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "futures-util_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.getrandom-0.2.9.bazel b/rust/3rdparty/crates/BUILD.getrandom-0.2.9.bazel new file mode 100644 index 00000000..ad31d2c2 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.getrandom-0.2.9.bazel @@ -0,0 +1,109 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "getrandom", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=getrandom", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.9", + deps = [ + "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:wasm32-wasi": [ + "@rules_proto_grpc_rust__wasi-0.11.0-wasi-snapshot-preview1//:wasi", # cfg(target_os = "wasi") + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "//conditions:default": [], + }), +) diff --git a/rust/3rdparty/crates/BUILD.h2-0.3.19.bazel b/rust/3rdparty/crates/BUILD.h2-0.3.19.bazel new file mode 100644 index 00000000..298cfb72 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.h2-0.3.19.bazel @@ -0,0 +1,54 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "h2", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=h2", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.19", + deps = [ + "@rules_proto_grpc_rust__bytes-1.4.0//:bytes", + "@rules_proto_grpc_rust__fnv-1.0.7//:fnv", + "@rules_proto_grpc_rust__futures-core-0.3.28//:futures_core", + "@rules_proto_grpc_rust__futures-sink-0.3.28//:futures_sink", + "@rules_proto_grpc_rust__futures-util-0.3.28//:futures_util", + "@rules_proto_grpc_rust__http-0.2.9//:http", + "@rules_proto_grpc_rust__indexmap-1.9.3//:indexmap", + "@rules_proto_grpc_rust__slab-0.4.8//:slab", + "@rules_proto_grpc_rust__tokio-1.28.2//:tokio", + "@rules_proto_grpc_rust__tokio-util-0.7.8//:tokio_util", + "@rules_proto_grpc_rust__tracing-0.1.37//:tracing", + ], +) diff --git a/rust/3rdparty/crates/BUILD.hashbrown-0.12.3.bazel b/rust/3rdparty/crates/BUILD.hashbrown-0.12.3.bazel new file mode 100644 index 00000000..042d13eb --- /dev/null +++ b/rust/3rdparty/crates/BUILD.hashbrown-0.12.3.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "hashbrown", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "raw", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=hashbrown", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.12.3", +) diff --git a/rust/3rdparty/crates/BUILD.heck-0.4.1.bazel b/rust/3rdparty/crates/BUILD.heck-0.4.1.bazel new file mode 100644 index 00000000..9b595aa9 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.heck-0.4.1.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "heck", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=heck", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.1", +) diff --git a/rust/3rdparty/crates/BUILD.hermit-abi-0.3.1.bazel b/rust/3rdparty/crates/BUILD.hermit-abi-0.3.1.bazel new file mode 100644 index 00000000..d7344e4e --- /dev/null +++ b/rust/3rdparty/crates/BUILD.hermit-abi-0.3.1.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "hermit_abi", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=hermit-abi", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.1", +) diff --git a/rust/3rdparty/crates/BUILD.http-0.2.9.bazel b/rust/3rdparty/crates/BUILD.http-0.2.9.bazel new file mode 100644 index 00000000..51144d77 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.http-0.2.9.bazel @@ -0,0 +1,46 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "http", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=http", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.9", + deps = [ + "@rules_proto_grpc_rust__bytes-1.4.0//:bytes", + "@rules_proto_grpc_rust__fnv-1.0.7//:fnv", + "@rules_proto_grpc_rust__itoa-1.0.6//:itoa", + ], +) diff --git a/rust/3rdparty/crates/BUILD.http-body-0.4.5.bazel b/rust/3rdparty/crates/BUILD.http-body-0.4.5.bazel new file mode 100644 index 00000000..b1897aef --- /dev/null +++ b/rust/3rdparty/crates/BUILD.http-body-0.4.5.bazel @@ -0,0 +1,46 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "http_body", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=http-body", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.5", + deps = [ + "@rules_proto_grpc_rust__bytes-1.4.0//:bytes", + "@rules_proto_grpc_rust__http-0.2.9//:http", + "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", + ], +) diff --git a/rust/3rdparty/crates/BUILD.httparse-1.8.0.bazel b/rust/3rdparty/crates/BUILD.httparse-1.8.0.bazel new file mode 100644 index 00000000..198b172d --- /dev/null +++ b/rust/3rdparty/crates/BUILD.httparse-1.8.0.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) + +rust_library( + name = "httparse", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=httparse", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.8.0", + deps = [ + "@rules_proto_grpc_rust__httparse-1.8.0//:build_script_build", + ], +) + +cargo_build_script( + name = "httparse_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=httparse", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.8.0", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "httparse_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.httpdate-1.0.2.bazel b/rust/3rdparty/crates/BUILD.httpdate-1.0.2.bazel new file mode 100644 index 00000000..30a27a29 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.httpdate-1.0.2.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) + +rust_library( + name = "httpdate", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=httpdate", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.2", +) diff --git a/rust/3rdparty/crates/BUILD.hyper-0.14.26.bazel b/rust/3rdparty/crates/BUILD.hyper-0.14.26.bazel new file mode 100644 index 00000000..e39286f4 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.hyper-0.14.26.bazel @@ -0,0 +1,72 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "hyper", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "client", + "default", + "full", + "h2", + "http1", + "http2", + "runtime", + "server", + "socket2", + "stream", + "tcp", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=hyper", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.14.26", + deps = [ + "@rules_proto_grpc_rust__bytes-1.4.0//:bytes", + "@rules_proto_grpc_rust__futures-channel-0.3.28//:futures_channel", + "@rules_proto_grpc_rust__futures-core-0.3.28//:futures_core", + "@rules_proto_grpc_rust__futures-util-0.3.28//:futures_util", + "@rules_proto_grpc_rust__h2-0.3.19//:h2", + "@rules_proto_grpc_rust__http-0.2.9//:http", + "@rules_proto_grpc_rust__http-body-0.4.5//:http_body", + "@rules_proto_grpc_rust__httparse-1.8.0//:httparse", + "@rules_proto_grpc_rust__httpdate-1.0.2//:httpdate", + "@rules_proto_grpc_rust__itoa-1.0.6//:itoa", + "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", + "@rules_proto_grpc_rust__tokio-1.28.2//:tokio", + "@rules_proto_grpc_rust__tower-service-0.3.2//:tower_service", + "@rules_proto_grpc_rust__tracing-0.1.37//:tracing", + "@rules_proto_grpc_rust__want-0.3.0//:want", + ], +) diff --git a/rust/3rdparty/crates/BUILD.hyper-timeout-0.4.1.bazel b/rust/3rdparty/crates/BUILD.hyper-timeout-0.4.1.bazel new file mode 100644 index 00000000..2e517511 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.hyper-timeout-0.4.1.bazel @@ -0,0 +1,47 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) + +rust_library( + name = "hyper_timeout", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=hyper-timeout", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.1", + deps = [ + "@rules_proto_grpc_rust__hyper-0.14.26//:hyper", + "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", + "@rules_proto_grpc_rust__tokio-1.28.2//:tokio", + "@rules_proto_grpc_rust__tokio-io-timeout-1.2.0//:tokio_io_timeout", + ], +) diff --git a/rust/3rdparty/crates/BUILD.indexmap-1.9.3.bazel b/rust/3rdparty/crates/BUILD.indexmap-1.9.3.bazel new file mode 100644 index 00000000..eb47ddd6 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.indexmap-1.9.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 OR MIT +# ]) + +rust_library( + name = "indexmap", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=indexmap", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.9.3", + deps = [ + "@rules_proto_grpc_rust__hashbrown-0.12.3//:hashbrown", + "@rules_proto_grpc_rust__indexmap-1.9.3//:build_script_build", + ], +) + +cargo_build_script( + name = "indexmap_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "std", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=indexmap", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.9.3", + visibility = ["//visibility:private"], + deps = [ + "@rules_proto_grpc_rust__autocfg-1.1.0//:autocfg", + ], +) + +alias( + name = "build_script_build", + actual = "indexmap_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.instant-0.1.12.bazel b/rust/3rdparty/crates/BUILD.instant-0.1.12.bazel new file mode 100644 index 00000000..701846ea --- /dev/null +++ b/rust/3rdparty/crates/BUILD.instant-0.1.12.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # BSD-3-Clause +# ]) + +rust_library( + name = "instant", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=instant", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.12", + deps = [ + "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", + ], +) diff --git a/rust/3rdparty/crates/BUILD.io-lifetimes-1.0.11.bazel b/rust/3rdparty/crates/BUILD.io-lifetimes-1.0.11.bazel new file mode 100644 index 00000000..2ffd131e --- /dev/null +++ b/rust/3rdparty/crates/BUILD.io-lifetimes-1.0.11.bazel @@ -0,0 +1,164 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT +# ]) + +rust_library( + name = "io_lifetimes", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "close", + "hermit-abi", + "libc", + "windows-sys", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=io-lifetimes", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.11", + deps = [ + "@rules_proto_grpc_rust__io-lifetimes-1.0.11//:build_script_build", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@rules_proto_grpc_rust__windows-sys-0.48.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:wasm32-wasi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@rules_proto_grpc_rust__windows-sys-0.48.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(not(windows)) + ], + "//conditions:default": [], + }), +) + +cargo_build_script( + name = "io-lifetimes_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "close", + "hermit-abi", + "libc", + "windows-sys", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=io-lifetimes", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.11", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "io-lifetimes_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.itertools-0.10.5.bazel b/rust/3rdparty/crates/BUILD.itertools-0.10.5.bazel new file mode 100644 index 00000000..cc9e41e6 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.itertools-0.10.5.bazel @@ -0,0 +1,49 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) + +rust_library( + name = "itertools", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "use_alloc", + "use_std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=itertools", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.10.5", + deps = [ + "@rules_proto_grpc_rust__either-1.8.1//:either", + ], +) diff --git a/rust/3rdparty/crates/BUILD.itoa-1.0.6.bazel b/rust/3rdparty/crates/BUILD.itoa-1.0.6.bazel new file mode 100644 index 00000000..a865997f --- /dev/null +++ b/rust/3rdparty/crates/BUILD.itoa-1.0.6.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "itoa", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=itoa", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.6", +) diff --git a/rust/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel b/rust/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel new file mode 100644 index 00000000..b20ed334 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.lazy_static-1.4.0.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 @//rust/3rdparty:crates_vendor +############################################################################### + +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(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=lazy_static", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.4.0", +) diff --git a/rust/3rdparty/crates/BUILD.libc-0.2.145.bazel b/rust/3rdparty/crates/BUILD.libc-0.2.145.bazel new file mode 100644 index 00000000..fc9000b7 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.libc-0.2.145.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +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(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "extra_traits", + "std", + ], + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=libc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.145", + deps = [ + "@rules_proto_grpc_rust__libc-0.2.145//:build_script_build", + ], +) + +cargo_build_script( + name = "libc_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "extra_traits", + "std", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=libc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.145", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "libc_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.linux-raw-sys-0.3.8.bazel b/rust/3rdparty/crates/BUILD.linux-raw-sys-0.3.8.bazel new file mode 100644 index 00000000..f0dcc81b --- /dev/null +++ b/rust/3rdparty/crates/BUILD.linux-raw-sys-0.3.8.bazel @@ -0,0 +1,47 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT +# ]) + +rust_library( + name = "linux_raw_sys", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "errno", + "general", + "ioctl", + "no_std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=linux-raw-sys", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.8", +) diff --git a/rust/3rdparty/crates/BUILD.log-0.4.18.bazel b/rust/3rdparty/crates/BUILD.log-0.4.18.bazel new file mode 100644 index 00000000..5543d5f6 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.log-0.4.18.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +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(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=log", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.18", + deps = [ + "@rules_proto_grpc_rust__log-0.4.18//:build_script_build", + ], +) + +cargo_build_script( + name = "log_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=log", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.18", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "log_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.matchit-0.7.0.bazel b/rust/3rdparty/crates/BUILD.matchit-0.7.0.bazel new file mode 100644 index 00000000..16b75bb1 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.matchit-0.7.0.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "matchit", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=matchit", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.7.0", +) diff --git a/rust/3rdparty/crates/BUILD.memchr-2.5.0.bazel b/rust/3rdparty/crates/BUILD.memchr-2.5.0.bazel new file mode 100644 index 00000000..709dc035 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.memchr-2.5.0.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Unlicense/MIT +# ]) + +rust_library( + name = "memchr", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=memchr", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.5.0", + deps = [ + "@rules_proto_grpc_rust__memchr-2.5.0//:build_script_build", + ], +) + +cargo_build_script( + name = "memchr_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=memchr", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.5.0", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "memchr_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.mime-0.3.17.bazel b/rust/3rdparty/crates/BUILD.mime-0.3.17.bazel new file mode 100644 index 00000000..ee48564c --- /dev/null +++ b/rust/3rdparty/crates/BUILD.mime-0.3.17.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "mime", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=mime", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.17", +) diff --git a/rust/3rdparty/crates/BUILD.mio-0.8.8.bazel b/rust/3rdparty/crates/BUILD.mio-0.8.8.bazel new file mode 100644 index 00000000..9b2f4132 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.mio-0.8.8.bazel @@ -0,0 +1,116 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "mio", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "net", + "os-ext", + "os-poll", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=mio", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.8.8", + deps = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@rules_proto_grpc_rust__windows-sys-0.48.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:wasm32-wasi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(target_os = "wasi") + "@rules_proto_grpc_rust__wasi-0.11.0-wasi-snapshot-preview1//:wasi", # cfg(target_os = "wasi") + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@rules_proto_grpc_rust__windows-sys-0.48.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "//conditions:default": [], + }), +) diff --git a/rust/3rdparty/crates/BUILD.multimap-0.8.3.bazel b/rust/3rdparty/crates/BUILD.multimap-0.8.3.bazel new file mode 100644 index 00000000..c9e48188 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.multimap-0.8.3.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) + +rust_library( + name = "multimap", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=multimap", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.8.3", +) diff --git a/rust/3rdparty/crates/BUILD.num-traits-0.2.15.bazel b/rust/3rdparty/crates/BUILD.num-traits-0.2.15.bazel new file mode 100644 index 00000000..1d12fbeb --- /dev/null +++ b/rust/3rdparty/crates/BUILD.num-traits-0.2.15.bazel @@ -0,0 +1,84 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "num_traits", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=num-traits", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.15", + deps = [ + "@rules_proto_grpc_rust__num-traits-0.2.15//:build_script_build", + ], +) + +cargo_build_script( + name = "num-traits_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=num-traits", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.15", + visibility = ["//visibility:private"], + deps = [ + "@rules_proto_grpc_rust__autocfg-1.1.0//:autocfg", + ], +) + +alias( + name = "build_script_build", + actual = "num-traits_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.once_cell-1.18.0.bazel b/rust/3rdparty/crates/BUILD.once_cell-1.18.0.bazel new file mode 100644 index 00000000..48a8f15f --- /dev/null +++ b/rust/3rdparty/crates/BUILD.once_cell-1.18.0.bazel @@ -0,0 +1,47 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "once_cell", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "default", + "race", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=once_cell", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.18.0", +) diff --git a/rust/3rdparty/crates/BUILD.pbjson-0.5.1.bazel b/rust/3rdparty/crates/BUILD.pbjson-0.5.1.bazel new file mode 100644 index 00000000..113602a7 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.pbjson-0.5.1.bazel @@ -0,0 +1,45 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "pbjson", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=pbjson", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.5.1", + deps = [ + "@rules_proto_grpc_rust__base64-0.13.1//:base64", + "@rules_proto_grpc_rust__serde-1.0.163//:serde", + ], +) diff --git a/rust/3rdparty/crates/BUILD.pbjson-build-0.5.1.bazel b/rust/3rdparty/crates/BUILD.pbjson-build-0.5.1.bazel new file mode 100644 index 00000000..f65b4029 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.pbjson-build-0.5.1.bazel @@ -0,0 +1,47 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "pbjson_build", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=pbjson-build", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.5.1", + deps = [ + "@rules_proto_grpc_rust__heck-0.4.1//:heck", + "@rules_proto_grpc_rust__itertools-0.10.5//:itertools", + "@rules_proto_grpc_rust__prost-0.11.9//:prost", + "@rules_proto_grpc_rust__prost-types-0.11.9//:prost_types", + ], +) diff --git a/rust/3rdparty/crates/BUILD.pbjson-types-0.5.1.bazel b/rust/3rdparty/crates/BUILD.pbjson-types-0.5.1.bazel new file mode 100644 index 00000000..de9f0368 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.pbjson-types-0.5.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "pbjson_types", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=pbjson-types", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.5.1", + deps = [ + "@rules_proto_grpc_rust__bytes-1.4.0//:bytes", + "@rules_proto_grpc_rust__chrono-0.4.26//:chrono", + "@rules_proto_grpc_rust__pbjson-0.5.1//:pbjson", + "@rules_proto_grpc_rust__pbjson-types-0.5.1//:build_script_build", + "@rules_proto_grpc_rust__prost-0.11.9//:prost", + "@rules_proto_grpc_rust__serde-1.0.163//:serde", + ], +) + +cargo_build_script( + name = "pbjson-types_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=pbjson-types", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.5.1", + visibility = ["//visibility:private"], + deps = [ + "@rules_proto_grpc_rust__pbjson-build-0.5.1//:pbjson_build", + "@rules_proto_grpc_rust__prost-build-0.11.9//:prost_build", + ], +) + +alias( + name = "build_script_build", + actual = "pbjson-types_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.percent-encoding-2.3.0.bazel b/rust/3rdparty/crates/BUILD.percent-encoding-2.3.0.bazel new file mode 100644 index 00000000..2c8c967e --- /dev/null +++ b/rust/3rdparty/crates/BUILD.percent-encoding-2.3.0.bazel @@ -0,0 +1,46 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "percent_encoding", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=percent-encoding", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.3.0", +) diff --git a/rust/3rdparty/crates/BUILD.petgraph-0.6.3.bazel b/rust/3rdparty/crates/BUILD.petgraph-0.6.3.bazel new file mode 100644 index 00000000..7b256282 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.petgraph-0.6.3.bazel @@ -0,0 +1,45 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "petgraph", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=petgraph", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.6.3", + deps = [ + "@rules_proto_grpc_rust__fixedbitset-0.4.2//:fixedbitset", + "@rules_proto_grpc_rust__indexmap-1.9.3//:indexmap", + ], +) diff --git a/rust/3rdparty/crates/BUILD.pin-project-1.1.0.bazel b/rust/3rdparty/crates/BUILD.pin-project-1.1.0.bazel new file mode 100644 index 00000000..26a8586b --- /dev/null +++ b/rust/3rdparty/crates/BUILD.pin-project-1.1.0.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 OR MIT +# ]) + +rust_library( + name = "pin_project", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@rules_proto_grpc_rust__pin-project-internal-1.1.0//:pin_project_internal", + ], + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=pin-project", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.1.0", +) diff --git a/rust/3rdparty/crates/BUILD.pin-project-internal-1.1.0.bazel b/rust/3rdparty/crates/BUILD.pin-project-internal-1.1.0.bazel new file mode 100644 index 00000000..a483c493 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.pin-project-internal-1.1.0.bazel @@ -0,0 +1,46 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 OR MIT +# ]) + +rust_proc_macro( + name = "pin_project_internal", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=pin-project-internal", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.1.0", + deps = [ + "@rules_proto_grpc_rust__proc-macro2-1.0.59//:proc_macro2", + "@rules_proto_grpc_rust__quote-1.0.28//:quote", + "@rules_proto_grpc_rust__syn-2.0.18//:syn", + ], +) diff --git a/rust/3rdparty/crates/BUILD.pin-project-lite-0.2.9.bazel b/rust/3rdparty/crates/BUILD.pin-project-lite-0.2.9.bazel new file mode 100644 index 00000000..1e652a9a --- /dev/null +++ b/rust/3rdparty/crates/BUILD.pin-project-lite-0.2.9.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 OR MIT +# ]) + +rust_library( + name = "pin_project_lite", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=pin-project-lite", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.9", +) diff --git a/rust/3rdparty/crates/BUILD.pin-utils-0.1.0.bazel b/rust/3rdparty/crates/BUILD.pin-utils-0.1.0.bazel new file mode 100644 index 00000000..2bd539e5 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.pin-utils-0.1.0.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "pin_utils", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=pin-utils", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.0", +) diff --git a/rust/3rdparty/crates/BUILD.ppv-lite86-0.2.17.bazel b/rust/3rdparty/crates/BUILD.ppv-lite86-0.2.17.bazel new file mode 100644 index 00000000..e1af4901 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.ppv-lite86-0.2.17.bazel @@ -0,0 +1,45 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) + +rust_library( + name = "ppv_lite86", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "simd", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=ppv-lite86", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.17", +) diff --git a/rust/3rdparty/crates/BUILD.prettyplease-0.1.25.bazel b/rust/3rdparty/crates/BUILD.prettyplease-0.1.25.bazel new file mode 100644 index 00000000..3695db28 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.prettyplease-0.1.25.bazel @@ -0,0 +1,84 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "prettyplease", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=prettyplease", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.25", + deps = [ + "@rules_proto_grpc_rust__prettyplease-0.1.25//:build_script_build", + "@rules_proto_grpc_rust__proc-macro2-1.0.59//:proc_macro2", + "@rules_proto_grpc_rust__syn-1.0.109//:syn", + ], +) + +cargo_build_script( + name = "prettyplease_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + links = "prettyplease01", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=prettyplease", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.25", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "prettyplease_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.proc-macro2-1.0.59.bazel b/rust/3rdparty/crates/BUILD.proc-macro2-1.0.59.bazel new file mode 100644 index 00000000..78873c75 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.proc-macro2-1.0.59.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "proc_macro2", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "proc-macro", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=proc-macro2", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.59", + deps = [ + "@rules_proto_grpc_rust__proc-macro2-1.0.59//:build_script_build", + "@rules_proto_grpc_rust__unicode-ident-1.0.9//:unicode_ident", + ], +) + +cargo_build_script( + name = "proc-macro2_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "proc-macro", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=proc-macro2", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.59", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "proc-macro2_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.prost-0.11.9.bazel b/rust/3rdparty/crates/BUILD.prost-0.11.9.bazel new file mode 100644 index 00000000..22fb1ee9 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.prost-0.11.9.bazel @@ -0,0 +1,52 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 +# ]) + +rust_library( + name = "prost", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "prost-derive", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@rules_proto_grpc_rust__prost-derive-0.11.9//:prost_derive", + ], + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=prost", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.11.9", + deps = [ + "@rules_proto_grpc_rust__bytes-1.4.0//:bytes", + ], +) diff --git a/rust/3rdparty/crates/BUILD.prost-build-0.11.9.bazel b/rust/3rdparty/crates/BUILD.prost-build-0.11.9.bazel new file mode 100644 index 00000000..3c6016ac --- /dev/null +++ b/rust/3rdparty/crates/BUILD.prost-build-0.11.9.bazel @@ -0,0 +1,63 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 +# ]) + +rust_library( + name = "prost_build", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "format", + "prettyplease", + "syn", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=prost-build", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.11.9", + deps = [ + "@rules_proto_grpc_rust__bytes-1.4.0//:bytes", + "@rules_proto_grpc_rust__heck-0.4.1//:heck", + "@rules_proto_grpc_rust__itertools-0.10.5//:itertools", + "@rules_proto_grpc_rust__lazy_static-1.4.0//:lazy_static", + "@rules_proto_grpc_rust__log-0.4.18//:log", + "@rules_proto_grpc_rust__multimap-0.8.3//:multimap", + "@rules_proto_grpc_rust__petgraph-0.6.3//:petgraph", + "@rules_proto_grpc_rust__prettyplease-0.1.25//:prettyplease", + "@rules_proto_grpc_rust__prost-0.11.9//:prost", + "@rules_proto_grpc_rust__prost-types-0.11.9//:prost_types", + "@rules_proto_grpc_rust__regex-1.8.4//:regex", + "@rules_proto_grpc_rust__syn-1.0.109//:syn", + "@rules_proto_grpc_rust__tempfile-3.5.0//:tempfile", + "@rules_proto_grpc_rust__which-4.4.0//:which", + ], +) diff --git a/rust/3rdparty/crates/BUILD.prost-derive-0.11.9.bazel b/rust/3rdparty/crates/BUILD.prost-derive-0.11.9.bazel new file mode 100644 index 00000000..256c113b --- /dev/null +++ b/rust/3rdparty/crates/BUILD.prost-derive-0.11.9.bazel @@ -0,0 +1,48 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 +# ]) + +rust_proc_macro( + name = "prost_derive", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=prost-derive", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.11.9", + deps = [ + "@rules_proto_grpc_rust__anyhow-1.0.71//:anyhow", + "@rules_proto_grpc_rust__itertools-0.10.5//:itertools", + "@rules_proto_grpc_rust__proc-macro2-1.0.59//:proc_macro2", + "@rules_proto_grpc_rust__quote-1.0.28//:quote", + "@rules_proto_grpc_rust__syn-1.0.109//:syn", + ], +) diff --git a/rust/3rdparty/crates/BUILD.prost-types-0.11.9.bazel b/rust/3rdparty/crates/BUILD.prost-types-0.11.9.bazel new file mode 100644 index 00000000..7b9817eb --- /dev/null +++ b/rust/3rdparty/crates/BUILD.prost-types-0.11.9.bazel @@ -0,0 +1,48 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 +# ]) + +rust_library( + name = "prost_types", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=prost-types", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.11.9", + deps = [ + "@rules_proto_grpc_rust__prost-0.11.9//:prost", + ], +) diff --git a/rust/3rdparty/crates/BUILD.protoc-gen-prost-0.2.1.bazel b/rust/3rdparty/crates/BUILD.protoc-gen-prost-0.2.1.bazel new file mode 100644 index 00000000..95ab5840 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.protoc-gen-prost-0.2.1.bazel @@ -0,0 +1,86 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", +) + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 +# ]) + +rust_library( + name = "protoc_gen_prost", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=protoc-gen-prost", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.1", + deps = [ + "@rules_proto_grpc_rust__once_cell-1.18.0//:once_cell", + "@rules_proto_grpc_rust__prost-0.11.9//:prost", + "@rules_proto_grpc_rust__prost-build-0.11.9//:prost_build", + "@rules_proto_grpc_rust__prost-types-0.11.9//:prost_types", + "@rules_proto_grpc_rust__regex-1.8.4//:regex", + ], +) + +rust_binary( + name = "protoc-gen-prost__bin", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/main.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=protoc-gen-prost", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.1", + deps = [ + ":protoc_gen_prost", + "@rules_proto_grpc_rust__once_cell-1.18.0//:once_cell", + "@rules_proto_grpc_rust__prost-0.11.9//:prost", + "@rules_proto_grpc_rust__prost-build-0.11.9//:prost_build", + "@rules_proto_grpc_rust__prost-types-0.11.9//:prost_types", + "@rules_proto_grpc_rust__regex-1.8.4//:regex", + ], +) diff --git a/rust/3rdparty/crates/BUILD.protoc-gen-prost-0.2.2.bazel b/rust/3rdparty/crates/BUILD.protoc-gen-prost-0.2.2.bazel new file mode 100644 index 00000000..fed52475 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.protoc-gen-prost-0.2.2.bazel @@ -0,0 +1,86 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", +) + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 +# ]) + +rust_library( + name = "protoc_gen_prost", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=protoc-gen-prost", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.2", + deps = [ + "@rules_proto_grpc_rust__once_cell-1.18.0//:once_cell", + "@rules_proto_grpc_rust__prost-0.11.9//:prost", + "@rules_proto_grpc_rust__prost-build-0.11.9//:prost_build", + "@rules_proto_grpc_rust__prost-types-0.11.9//:prost_types", + "@rules_proto_grpc_rust__regex-1.8.4//:regex", + ], +) + +rust_binary( + name = "protoc-gen-prost__bin", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/main.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=protoc-gen-prost", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.2", + deps = [ + ":protoc_gen_prost", + "@rules_proto_grpc_rust__once_cell-1.18.0//:once_cell", + "@rules_proto_grpc_rust__prost-0.11.9//:prost", + "@rules_proto_grpc_rust__prost-build-0.11.9//:prost_build", + "@rules_proto_grpc_rust__prost-types-0.11.9//:prost_types", + "@rules_proto_grpc_rust__regex-1.8.4//:regex", + ], +) diff --git a/rust/3rdparty/crates/BUILD.protoc-gen-prost-crate-0.3.1.bazel b/rust/3rdparty/crates/BUILD.protoc-gen-prost-crate-0.3.1.bazel new file mode 100644 index 00000000..22aac442 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.protoc-gen-prost-crate-0.3.1.bazel @@ -0,0 +1,88 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", +) + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 +# ]) + +rust_library( + name = "protoc_gen_prost_crate", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=protoc-gen-prost-crate", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.1", + deps = [ + "@rules_proto_grpc_rust__once_cell-1.18.0//:once_cell", + "@rules_proto_grpc_rust__prost-0.11.9//:prost", + "@rules_proto_grpc_rust__prost-build-0.11.9//:prost_build", + "@rules_proto_grpc_rust__prost-types-0.11.9//:prost_types", + "@rules_proto_grpc_rust__protoc-gen-prost-0.2.1//:protoc_gen_prost", + "@rules_proto_grpc_rust__regex-1.8.4//:regex", + ], +) + +rust_binary( + name = "protoc-gen-prost-crate__bin", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/main.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=protoc-gen-prost-crate", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.1", + deps = [ + ":protoc_gen_prost_crate", + "@rules_proto_grpc_rust__once_cell-1.18.0//:once_cell", + "@rules_proto_grpc_rust__prost-0.11.9//:prost", + "@rules_proto_grpc_rust__prost-build-0.11.9//:prost_build", + "@rules_proto_grpc_rust__prost-types-0.11.9//:prost_types", + "@rules_proto_grpc_rust__protoc-gen-prost-0.2.1//:protoc_gen_prost", + "@rules_proto_grpc_rust__regex-1.8.4//:regex", + ], +) diff --git a/rust/3rdparty/crates/BUILD.protoc-gen-prost-serde-0.2.3.bazel b/rust/3rdparty/crates/BUILD.protoc-gen-prost-serde-0.2.3.bazel new file mode 100644 index 00000000..7055a6aa --- /dev/null +++ b/rust/3rdparty/crates/BUILD.protoc-gen-prost-serde-0.2.3.bazel @@ -0,0 +1,88 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", +) + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 +# ]) + +rust_library( + name = "protoc_gen_prost_serde", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=protoc-gen-prost-serde", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.3", + deps = [ + "@rules_proto_grpc_rust__pbjson-build-0.5.1//:pbjson_build", + "@rules_proto_grpc_rust__prost-0.11.9//:prost", + "@rules_proto_grpc_rust__prost-build-0.11.9//:prost_build", + "@rules_proto_grpc_rust__prost-types-0.11.9//:prost_types", + "@rules_proto_grpc_rust__protoc-gen-prost-0.2.2//:protoc_gen_prost", + "@rules_proto_grpc_rust__regex-1.8.4//:regex", + ], +) + +rust_binary( + name = "protoc-gen-prost-serde__bin", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/main.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=protoc-gen-prost-serde", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.3", + deps = [ + ":protoc_gen_prost_serde", + "@rules_proto_grpc_rust__pbjson-build-0.5.1//:pbjson_build", + "@rules_proto_grpc_rust__prost-0.11.9//:prost", + "@rules_proto_grpc_rust__prost-build-0.11.9//:prost_build", + "@rules_proto_grpc_rust__prost-types-0.11.9//:prost_types", + "@rules_proto_grpc_rust__protoc-gen-prost-0.2.2//:protoc_gen_prost", + "@rules_proto_grpc_rust__regex-1.8.4//:regex", + ], +) diff --git a/rust/3rdparty/crates/BUILD.protoc-gen-tonic-0.2.2.bazel b/rust/3rdparty/crates/BUILD.protoc-gen-tonic-0.2.2.bazel new file mode 100644 index 00000000..982e88d4 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.protoc-gen-tonic-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 @//rust/3rdparty:crates_vendor +############################################################################### + +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", +) + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 +# ]) + +rust_library( + name = "protoc_gen_tonic", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=protoc-gen-tonic", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.2", + deps = [ + "@rules_proto_grpc_rust__heck-0.4.1//:heck", + "@rules_proto_grpc_rust__prettyplease-0.1.25//:prettyplease", + "@rules_proto_grpc_rust__prost-0.11.9//:prost", + "@rules_proto_grpc_rust__prost-build-0.11.9//:prost_build", + "@rules_proto_grpc_rust__prost-types-0.11.9//:prost_types", + "@rules_proto_grpc_rust__protoc-gen-prost-0.2.2//:protoc_gen_prost", + "@rules_proto_grpc_rust__regex-1.8.4//:regex", + "@rules_proto_grpc_rust__syn-1.0.109//:syn", + "@rules_proto_grpc_rust__tonic-build-0.8.4//:tonic_build", + ], +) + +rust_binary( + name = "protoc-gen-tonic__bin", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/main.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=protoc-gen-tonic", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.2", + deps = [ + ":protoc_gen_tonic", + "@rules_proto_grpc_rust__heck-0.4.1//:heck", + "@rules_proto_grpc_rust__prettyplease-0.1.25//:prettyplease", + "@rules_proto_grpc_rust__prost-0.11.9//:prost", + "@rules_proto_grpc_rust__prost-build-0.11.9//:prost_build", + "@rules_proto_grpc_rust__prost-types-0.11.9//:prost_types", + "@rules_proto_grpc_rust__protoc-gen-prost-0.2.2//:protoc_gen_prost", + "@rules_proto_grpc_rust__regex-1.8.4//:regex", + "@rules_proto_grpc_rust__syn-1.0.109//:syn", + "@rules_proto_grpc_rust__tonic-build-0.8.4//:tonic_build", + ], +) diff --git a/rust/3rdparty/crates/BUILD.quote-1.0.28.bazel b/rust/3rdparty/crates/BUILD.quote-1.0.28.bazel new file mode 100644 index 00000000..1886783b --- /dev/null +++ b/rust/3rdparty/crates/BUILD.quote-1.0.28.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "quote", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "proc-macro", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=quote", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.28", + deps = [ + "@rules_proto_grpc_rust__proc-macro2-1.0.59//:proc_macro2", + "@rules_proto_grpc_rust__quote-1.0.28//:build_script_build", + ], +) + +cargo_build_script( + name = "quote_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "proc-macro", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=quote", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.28", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "quote_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.rand-0.8.5.bazel b/rust/3rdparty/crates/BUILD.rand-0.8.5.bazel new file mode 100644 index 00000000..3de98f70 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.rand-0.8.5.bazel @@ -0,0 +1,114 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "rand", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "default", + "getrandom", + "libc", + "rand_chacha", + "small_rng", + "std", + "std_rng", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=rand", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.8.5", + deps = [ + "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", + "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + ], + "//conditions:default": [], + }), +) diff --git a/rust/3rdparty/crates/BUILD.rand_chacha-0.3.1.bazel b/rust/3rdparty/crates/BUILD.rand_chacha-0.3.1.bazel new file mode 100644 index 00000000..77bee319 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.rand_chacha-0.3.1.bazel @@ -0,0 +1,48 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "rand_chacha", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=rand_chacha", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.1", + deps = [ + "@rules_proto_grpc_rust__ppv-lite86-0.2.17//:ppv_lite86", + "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", + ], +) diff --git a/rust/3rdparty/crates/BUILD.rand_core-0.6.4.bazel b/rust/3rdparty/crates/BUILD.rand_core-0.6.4.bazel new file mode 100644 index 00000000..c60cc194 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.rand_core-0.6.4.bazel @@ -0,0 +1,49 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "rand_core", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "getrandom", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=rand_core", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.6.4", + deps = [ + "@rules_proto_grpc_rust__getrandom-0.2.9//:getrandom", + ], +) diff --git a/rust/3rdparty/crates/BUILD.redox_syscall-0.3.5.bazel b/rust/3rdparty/crates/BUILD.redox_syscall-0.3.5.bazel new file mode 100644 index 00000000..3bead4b7 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.redox_syscall-0.3.5.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "syscall", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=redox_syscall", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.5", + deps = [ + "@rules_proto_grpc_rust__bitflags-1.3.2//:bitflags", + ], +) diff --git a/rust/3rdparty/crates/BUILD.regex-1.8.4.bazel b/rust/3rdparty/crates/BUILD.regex-1.8.4.bazel new file mode 100644 index 00000000..9cb60ed8 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.regex-1.8.4.bazel @@ -0,0 +1,48 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "regex", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "std", + "unicode-bool", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=regex", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.8.4", + deps = [ + "@rules_proto_grpc_rust__regex-syntax-0.7.2//:regex_syntax", + ], +) diff --git a/rust/3rdparty/crates/BUILD.regex-syntax-0.7.2.bazel b/rust/3rdparty/crates/BUILD.regex-syntax-0.7.2.bazel new file mode 100644 index 00000000..8065b8a5 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.regex-syntax-0.7.2.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "regex_syntax", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "unicode-bool", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=regex-syntax", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.7.2", +) diff --git a/rust/3rdparty/crates/BUILD.rustix-0.37.19.bazel b/rust/3rdparty/crates/BUILD.rustix-0.37.19.bazel new file mode 100644 index 00000000..53a257e0 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.rustix-0.37.19.bazel @@ -0,0 +1,256 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT +# ]) + +rust_library( + name = "rustix", + srcs = glob(["**/*.rs"]), + aliases = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": { + "@rules_proto_grpc_rust__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:aarch64-apple-ios": { + "@rules_proto_grpc_rust__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:aarch64-apple-ios-sim": { + "@rules_proto_grpc_rust__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:aarch64-linux-android": { + "@rules_proto_grpc_rust__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:armv7-linux-androideabi": { + "@rules_proto_grpc_rust__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:i686-apple-darwin": { + "@rules_proto_grpc_rust__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:i686-linux-android": { + "@rules_proto_grpc_rust__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:i686-pc-windows-msvc": { + "@rules_proto_grpc_rust__errno-0.3.1//:errno": "libc_errno", # cfg(windows) + }, + "@rules_rust//rust/platform:i686-unknown-freebsd": { + "@rules_proto_grpc_rust__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": { + "@rules_proto_grpc_rust__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": { + "@rules_proto_grpc_rust__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:wasm32-unknown-unknown": { + "@rules_proto_grpc_rust__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:wasm32-wasi": { + "@rules_proto_grpc_rust__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:x86_64-apple-darwin": { + "@rules_proto_grpc_rust__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:x86_64-apple-ios": { + "@rules_proto_grpc_rust__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:x86_64-linux-android": { + "@rules_proto_grpc_rust__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": { + "@rules_proto_grpc_rust__errno-0.3.1//:errno": "libc_errno", # cfg(windows) + }, + "@rules_rust//rust/platform:x86_64-unknown-freebsd": { + "@rules_proto_grpc_rust__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "//conditions:default": {}, + }), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "fs", + "io-lifetimes", + "libc", + "std", + "use-libc-auxv", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=rustix", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.37.19", + deps = [ + "@rules_proto_grpc_rust__bitflags-1.3.2//:bitflags", + "@rules_proto_grpc_rust__io-lifetimes-1.0.11//:io_lifetimes", + "@rules_proto_grpc_rust__rustix-0.37.19//:build_script_build", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@rules_proto_grpc_rust__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@rules_proto_grpc_rust__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@rules_proto_grpc_rust__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@rules_proto_grpc_rust__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + "@rules_proto_grpc_rust__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + "@rules_proto_grpc_rust__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@rules_proto_grpc_rust__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + "@rules_proto_grpc_rust__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@rules_proto_grpc_rust__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@rules_proto_grpc_rust__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@rules_proto_grpc_rust__errno-0.3.1//:errno", # cfg(windows) + "@rules_proto_grpc_rust__windows-sys-0.48.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@rules_proto_grpc_rust__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + "@rules_proto_grpc_rust__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [ + "@rules_proto_grpc_rust__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:wasm32-wasi": [ + "@rules_proto_grpc_rust__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@rules_proto_grpc_rust__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@rules_proto_grpc_rust__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@rules_proto_grpc_rust__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@rules_proto_grpc_rust__errno-0.3.1//:errno", # cfg(windows) + "@rules_proto_grpc_rust__windows-sys-0.48.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@rules_proto_grpc_rust__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + "@rules_proto_grpc_rust__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + ], + "//conditions:default": [], + }), +) + +cargo_build_script( + name = "rustix_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "fs", + "io-lifetimes", + "libc", + "std", + "use-libc-auxv", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=rustix", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.37.19", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "rustix_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.rustversion-1.0.12.bazel b/rust/3rdparty/crates/BUILD.rustversion-1.0.12.bazel new file mode 100644 index 00000000..40c20c24 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.rustversion-1.0.12.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_proc_macro( + name = "rustversion", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=rustversion", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.12", + deps = [ + "@rules_proto_grpc_rust__rustversion-1.0.12//:build_script_build", + ], +) + +cargo_build_script( + name = "rustversion_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build/build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=rustversion", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.12", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "rustversion_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.ryu-1.0.13.bazel b/rust/3rdparty/crates/BUILD.ryu-1.0.13.bazel new file mode 100644 index 00000000..a0e61f48 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.ryu-1.0.13.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 OR BSL-1.0 +# ]) + +rust_library( + name = "ryu", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=ryu", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.13", +) diff --git a/rust/3rdparty/crates/BUILD.serde-1.0.163.bazel b/rust/3rdparty/crates/BUILD.serde-1.0.163.bazel new file mode 100644 index 00000000..6a5ccaa9 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.serde-1.0.163.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "serde", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "derive", + "serde_derive", + "std", + ], + crate_root = "src/lib.rs", + edition = "2015", + proc_macro_deps = [ + "@rules_proto_grpc_rust__serde_derive-1.0.163//:serde_derive", + ], + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=serde", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.163", + deps = [ + "@rules_proto_grpc_rust__serde-1.0.163//:build_script_build", + ], +) + +cargo_build_script( + name = "serde_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "derive", + "serde_derive", + "std", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=serde", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.163", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "serde_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.serde_derive-1.0.163.bazel b/rust/3rdparty/crates/BUILD.serde_derive-1.0.163.bazel new file mode 100644 index 00000000..7a028f82 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.serde_derive-1.0.163.bazel @@ -0,0 +1,49 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_proc_macro( + name = "serde_derive", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + ], + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=serde_derive", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.163", + deps = [ + "@rules_proto_grpc_rust__proc-macro2-1.0.59//:proc_macro2", + "@rules_proto_grpc_rust__quote-1.0.28//:quote", + "@rules_proto_grpc_rust__syn-2.0.18//:syn", + ], +) diff --git a/rust/3rdparty/crates/BUILD.serde_json-1.0.96.bazel b/rust/3rdparty/crates/BUILD.serde_json-1.0.96.bazel new file mode 100644 index 00000000..b4b7dd25 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.serde_json-1.0.96.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "serde_json", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=serde_json", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.96", + deps = [ + "@rules_proto_grpc_rust__itoa-1.0.6//:itoa", + "@rules_proto_grpc_rust__ryu-1.0.13//:ryu", + "@rules_proto_grpc_rust__serde-1.0.163//:serde", + "@rules_proto_grpc_rust__serde_json-1.0.96//:build_script_build", + ], +) + +cargo_build_script( + name = "serde_json_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=serde_json", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.96", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "serde_json_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.slab-0.4.8.bazel b/rust/3rdparty/crates/BUILD.slab-0.4.8.bazel new file mode 100644 index 00000000..b617e434 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.slab-0.4.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "slab", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=slab", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.8", + deps = [ + "@rules_proto_grpc_rust__slab-0.4.8//:build_script_build", + ], +) + +cargo_build_script( + name = "slab_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=slab", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.8", + visibility = ["//visibility:private"], + deps = [ + "@rules_proto_grpc_rust__autocfg-1.1.0//:autocfg", + ], +) + +alias( + name = "build_script_build", + actual = "slab_build_script", + tags = ["manual"], +) diff --git a/rust/crates/BUILD.socket2-0.4.7.bazel b/rust/3rdparty/crates/BUILD.socket2-0.4.9.bazel similarity index 53% rename from rust/crates/BUILD.socket2-0.4.7.bazel rename to rust/3rdparty/crates/BUILD.socket2-0.4.9.bazel index 0779fdcd..a269f73a 100644 --- a/rust/crates/BUILD.socket2-0.4.7.bazel +++ b/rust/3rdparty/crates/BUILD.socket2-0.4.9.bazel @@ -3,15 +3,10 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //rust:crates_vendor +# bazel run @//rust/3rdparty:crates_vendor ############################################################################### -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_library", -) +load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) @@ -21,130 +16,95 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "socket2", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), + srcs = glob(["**/*.rs"]), compile_data = glob( include = ["**"], exclude = [ "**/* *", - "BUILD.bazel", "BUILD", - "WORKSPACE.bazel", + "BUILD.bazel", "WORKSPACE", + "WORKSPACE.bazel", ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), + ), crate_features = [ "all", ], crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ "cargo-bazel", + "crate-name=socket2", "manual", "noclippy", "norustfmt", ], - version = "0.4.7", - deps = [ - ] + select({ + version = "0.4.9", + deps = select({ "@rules_rust//rust/platform:aarch64-apple-darwin": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-apple-ios": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-linux-android": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) ], "@rules_rust//rust/platform:armv7-linux-androideabi": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) ], "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) ], "@rules_rust//rust/platform:i686-apple-darwin": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) ], "@rules_rust//rust/platform:i686-linux-android": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) ], "@rules_rust//rust/platform:i686-pc-windows-msvc": [ "@rules_proto_grpc_rust__winapi-0.3.9//:winapi", # cfg(windows) ], "@rules_rust//rust/platform:i686-unknown-freebsd": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) ], "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) ], "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) ], "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-apple-darwin": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-apple-ios": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-linux-android": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ "@rules_proto_grpc_rust__winapi-0.3.9//:winapi", # cfg(windows) ], "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "//conditions:default": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) ], + "//conditions:default": [], }), ) diff --git a/rust/3rdparty/crates/BUILD.syn-1.0.109.bazel b/rust/3rdparty/crates/BUILD.syn-1.0.109.bazel new file mode 100644 index 00000000..bd5c1463 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.syn-1.0.109.bazel @@ -0,0 +1,106 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "syn", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "clone-impls", + "default", + "derive", + "extra-traits", + "full", + "parsing", + "printing", + "proc-macro", + "quote", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=syn", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.109", + deps = [ + "@rules_proto_grpc_rust__proc-macro2-1.0.59//:proc_macro2", + "@rules_proto_grpc_rust__quote-1.0.28//:quote", + "@rules_proto_grpc_rust__syn-1.0.109//:build_script_build", + "@rules_proto_grpc_rust__unicode-ident-1.0.9//:unicode_ident", + ], +) + +cargo_build_script( + name = "syn_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "clone-impls", + "default", + "derive", + "extra-traits", + "full", + "parsing", + "printing", + "proc-macro", + "quote", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=syn", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.109", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "syn_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.syn-2.0.18.bazel b/rust/3rdparty/crates/BUILD.syn-2.0.18.bazel new file mode 100644 index 00000000..6503a54c --- /dev/null +++ b/rust/3rdparty/crates/BUILD.syn-2.0.18.bazel @@ -0,0 +1,58 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "syn", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "clone-impls", + "default", + "derive", + "extra-traits", + "full", + "parsing", + "printing", + "proc-macro", + "quote", + "visit-mut", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=syn", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.0.18", + deps = [ + "@rules_proto_grpc_rust__proc-macro2-1.0.59//:proc_macro2", + "@rules_proto_grpc_rust__quote-1.0.28//:quote", + "@rules_proto_grpc_rust__unicode-ident-1.0.9//:unicode_ident", + ], +) diff --git a/rust/3rdparty/crates/BUILD.sync_wrapper-0.1.2.bazel b/rust/3rdparty/crates/BUILD.sync_wrapper-0.1.2.bazel new file mode 100644 index 00000000..86bb4fe8 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.sync_wrapper-0.1.2.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 +# ]) + +rust_library( + name = "sync_wrapper", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=sync_wrapper", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.2", +) diff --git a/rust/3rdparty/crates/BUILD.tempfile-3.5.0.bazel b/rust/3rdparty/crates/BUILD.tempfile-3.5.0.bazel new file mode 100644 index 00000000..0351b5a8 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.tempfile-3.5.0.bazel @@ -0,0 +1,113 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "tempfile", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=tempfile", + "manual", + "noclippy", + "norustfmt", + ], + version = "3.5.0", + deps = [ + "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", + "@rules_proto_grpc_rust__fastrand-1.9.0//:fastrand", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@rules_proto_grpc_rust__windows-sys-0.45.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:wasm32-wasi": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@rules_proto_grpc_rust__windows-sys-0.45.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__rustix-0.37.19//:rustix", # cfg(any(unix, target_os = "wasi")) + ], + "//conditions:default": [], + }), +) diff --git a/rust/3rdparty/crates/BUILD.tokio-1.28.2.bazel b/rust/3rdparty/crates/BUILD.tokio-1.28.2.bazel new file mode 100644 index 00000000..d7f7eba8 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.tokio-1.28.2.bazel @@ -0,0 +1,208 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "tokio", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "bytes", + "default", + "io-std", + "io-util", + "libc", + "macros", + "mio", + "net", + "rt", + "socket2", + "sync", + "time", + "tokio-macros", + "windows-sys", + ], + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@rules_proto_grpc_rust__tokio-macros-2.1.0//:tokio_macros", + ], + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=tokio", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.28.2", + deps = [ + "@rules_proto_grpc_rust__bytes-1.4.0//:bytes", + "@rules_proto_grpc_rust__mio-0.8.8//:mio", + "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", + "@rules_proto_grpc_rust__tokio-1.28.2//:build_script_build", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + "@rules_proto_grpc_rust__windows-sys-0.48.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + "@rules_proto_grpc_rust__windows-sys-0.48.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__libc-0.2.145//:libc", # cfg(unix) + "@rules_proto_grpc_rust__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) + ], + "//conditions:default": [], + }), +) + +cargo_build_script( + name = "tokio_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "bytes", + "default", + "io-std", + "io-util", + "libc", + "macros", + "mio", + "net", + "rt", + "socket2", + "sync", + "time", + "tokio-macros", + "windows-sys", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=tokio", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.28.2", + visibility = ["//visibility:private"], + deps = [ + "@rules_proto_grpc_rust__autocfg-1.1.0//:autocfg", + ], +) + +alias( + name = "build_script_build", + actual = "tokio_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.tokio-io-timeout-1.2.0.bazel b/rust/3rdparty/crates/BUILD.tokio-io-timeout-1.2.0.bazel new file mode 100644 index 00000000..91156b31 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.tokio-io-timeout-1.2.0.bazel @@ -0,0 +1,45 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) + +rust_library( + name = "tokio_io_timeout", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=tokio-io-timeout", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.2.0", + deps = [ + "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", + "@rules_proto_grpc_rust__tokio-1.28.2//:tokio", + ], +) diff --git a/rust/3rdparty/crates/BUILD.tokio-macros-2.1.0.bazel b/rust/3rdparty/crates/BUILD.tokio-macros-2.1.0.bazel new file mode 100644 index 00000000..95caec8b --- /dev/null +++ b/rust/3rdparty/crates/BUILD.tokio-macros-2.1.0.bazel @@ -0,0 +1,46 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_proc_macro( + name = "tokio_macros", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=tokio-macros", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.1.0", + deps = [ + "@rules_proto_grpc_rust__proc-macro2-1.0.59//:proc_macro2", + "@rules_proto_grpc_rust__quote-1.0.28//:quote", + "@rules_proto_grpc_rust__syn-2.0.18//:syn", + ], +) diff --git a/rust/3rdparty/crates/BUILD.tokio-stream-0.1.14.bazel b/rust/3rdparty/crates/BUILD.tokio-stream-0.1.14.bazel new file mode 100644 index 00000000..90c8a6af --- /dev/null +++ b/rust/3rdparty/crates/BUILD.tokio-stream-0.1.14.bazel @@ -0,0 +1,50 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "tokio_stream", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "time", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=tokio-stream", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.14", + deps = [ + "@rules_proto_grpc_rust__futures-core-0.3.28//:futures_core", + "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", + "@rules_proto_grpc_rust__tokio-1.28.2//:tokio", + ], +) diff --git a/rust/3rdparty/crates/BUILD.tokio-util-0.7.8.bazel b/rust/3rdparty/crates/BUILD.tokio-util-0.7.8.bazel new file mode 100644 index 00000000..6da83741 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.tokio-util-0.7.8.bazel @@ -0,0 +1,54 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "tokio_util", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "codec", + "default", + "tracing", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=tokio-util", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.7.8", + deps = [ + "@rules_proto_grpc_rust__bytes-1.4.0//:bytes", + "@rules_proto_grpc_rust__futures-core-0.3.28//:futures_core", + "@rules_proto_grpc_rust__futures-sink-0.3.28//:futures_sink", + "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", + "@rules_proto_grpc_rust__tokio-1.28.2//:tokio", + "@rules_proto_grpc_rust__tracing-0.1.37//:tracing", + ], +) diff --git a/rust/3rdparty/crates/BUILD.tonic-0.8.3.bazel b/rust/3rdparty/crates/BUILD.tonic-0.8.3.bazel new file mode 100644 index 00000000..fbdf177a --- /dev/null +++ b/rust/3rdparty/crates/BUILD.tonic-0.8.3.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "tonic", + srcs = glob(["**/*.rs"]), + aliases = { + "@rules_proto_grpc_rust__prost-0.11.9//:prost": "prost1", + }, + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "async-trait", + "axum", + "channel", + "codegen", + "default", + "h2", + "hyper", + "hyper-timeout", + "prost", + "prost-derive", + "prost1", + "tokio", + "tower", + "tracing-futures", + "transport", + ], + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@rules_proto_grpc_rust__async-trait-0.1.68//:async_trait", + "@rules_proto_grpc_rust__prost-derive-0.11.9//:prost_derive", + ], + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=tonic", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.8.3", + deps = [ + "@rules_proto_grpc_rust__async-stream-0.3.5//:async_stream", + "@rules_proto_grpc_rust__axum-0.6.18//:axum", + "@rules_proto_grpc_rust__base64-0.13.1//:base64", + "@rules_proto_grpc_rust__bytes-1.4.0//:bytes", + "@rules_proto_grpc_rust__futures-core-0.3.28//:futures_core", + "@rules_proto_grpc_rust__futures-util-0.3.28//:futures_util", + "@rules_proto_grpc_rust__h2-0.3.19//:h2", + "@rules_proto_grpc_rust__http-0.2.9//:http", + "@rules_proto_grpc_rust__http-body-0.4.5//:http_body", + "@rules_proto_grpc_rust__hyper-0.14.26//:hyper", + "@rules_proto_grpc_rust__hyper-timeout-0.4.1//:hyper_timeout", + "@rules_proto_grpc_rust__percent-encoding-2.3.0//:percent_encoding", + "@rules_proto_grpc_rust__pin-project-1.1.0//:pin_project", + "@rules_proto_grpc_rust__prost-0.11.9//:prost", + "@rules_proto_grpc_rust__tokio-1.28.2//:tokio", + "@rules_proto_grpc_rust__tokio-stream-0.1.14//:tokio_stream", + "@rules_proto_grpc_rust__tokio-util-0.7.8//:tokio_util", + "@rules_proto_grpc_rust__tower-0.4.13//:tower", + "@rules_proto_grpc_rust__tower-layer-0.3.2//:tower_layer", + "@rules_proto_grpc_rust__tower-service-0.3.2//:tower_service", + "@rules_proto_grpc_rust__tracing-0.1.37//:tracing", + "@rules_proto_grpc_rust__tracing-futures-0.2.5//:tracing_futures", + ], +) diff --git a/rust/3rdparty/crates/BUILD.tonic-build-0.8.4.bazel b/rust/3rdparty/crates/BUILD.tonic-build-0.8.4.bazel new file mode 100644 index 00000000..e1cc8300 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.tonic-build-0.8.4.bazel @@ -0,0 +1,54 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "tonic_build", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "prost", + "prost-build", + "transport", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=tonic-build", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.8.4", + deps = [ + "@rules_proto_grpc_rust__prettyplease-0.1.25//:prettyplease", + "@rules_proto_grpc_rust__proc-macro2-1.0.59//:proc_macro2", + "@rules_proto_grpc_rust__prost-build-0.11.9//:prost_build", + "@rules_proto_grpc_rust__quote-1.0.28//:quote", + "@rules_proto_grpc_rust__syn-1.0.109//:syn", + ], +) diff --git a/rust/3rdparty/crates/BUILD.tower-0.4.13.bazel b/rust/3rdparty/crates/BUILD.tower-0.4.13.bazel new file mode 100644 index 00000000..f64adff9 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.tower-0.4.13.bazel @@ -0,0 +1,77 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "tower", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "__common", + "balance", + "buffer", + "discover", + "futures-core", + "futures-util", + "indexmap", + "limit", + "load", + "make", + "pin-project", + "pin-project-lite", + "rand", + "ready-cache", + "slab", + "timeout", + "tokio", + "tokio-util", + "tracing", + "util", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=tower", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.13", + deps = [ + "@rules_proto_grpc_rust__futures-core-0.3.28//:futures_core", + "@rules_proto_grpc_rust__futures-util-0.3.28//:futures_util", + "@rules_proto_grpc_rust__indexmap-1.9.3//:indexmap", + "@rules_proto_grpc_rust__pin-project-1.1.0//:pin_project", + "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", + "@rules_proto_grpc_rust__rand-0.8.5//:rand", + "@rules_proto_grpc_rust__slab-0.4.8//:slab", + "@rules_proto_grpc_rust__tokio-1.28.2//:tokio", + "@rules_proto_grpc_rust__tokio-util-0.7.8//:tokio_util", + "@rules_proto_grpc_rust__tower-layer-0.3.2//:tower_layer", + "@rules_proto_grpc_rust__tower-service-0.3.2//:tower_service", + "@rules_proto_grpc_rust__tracing-0.1.37//:tracing", + ], +) diff --git a/rust/3rdparty/crates/BUILD.tower-layer-0.3.2.bazel b/rust/3rdparty/crates/BUILD.tower-layer-0.3.2.bazel new file mode 100644 index 00000000..684a0a39 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.tower-layer-0.3.2.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "tower_layer", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=tower-layer", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.2", +) diff --git a/rust/3rdparty/crates/BUILD.tower-service-0.3.2.bazel b/rust/3rdparty/crates/BUILD.tower-service-0.3.2.bazel new file mode 100644 index 00000000..0fb3b6dc --- /dev/null +++ b/rust/3rdparty/crates/BUILD.tower-service-0.3.2.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "tower_service", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=tower-service", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.2", +) diff --git a/rust/3rdparty/crates/BUILD.tracing-0.1.37.bazel b/rust/3rdparty/crates/BUILD.tracing-0.1.37.bazel new file mode 100644 index 00000000..e878d8b2 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.tracing-0.1.37.bazel @@ -0,0 +1,55 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "tracing", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "attributes", + "default", + "std", + "tracing-attributes", + ], + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@rules_proto_grpc_rust__tracing-attributes-0.1.24//:tracing_attributes", + ], + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=tracing", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.37", + deps = [ + "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", + "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", + "@rules_proto_grpc_rust__tracing-core-0.1.31//:tracing_core", + ], +) diff --git a/rust/3rdparty/crates/BUILD.tracing-attributes-0.1.24.bazel b/rust/3rdparty/crates/BUILD.tracing-attributes-0.1.24.bazel new file mode 100644 index 00000000..26959ae2 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.tracing-attributes-0.1.24.bazel @@ -0,0 +1,46 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_proc_macro( + name = "tracing_attributes", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=tracing-attributes", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.24", + deps = [ + "@rules_proto_grpc_rust__proc-macro2-1.0.59//:proc_macro2", + "@rules_proto_grpc_rust__quote-1.0.28//:quote", + "@rules_proto_grpc_rust__syn-2.0.18//:syn", + ], +) diff --git a/rust/3rdparty/crates/BUILD.tracing-core-0.1.31.bazel b/rust/3rdparty/crates/BUILD.tracing-core-0.1.31.bazel new file mode 100644 index 00000000..f9333174 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.tracing-core-0.1.31.bazel @@ -0,0 +1,48 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "tracing_core", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "once_cell", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=tracing-core", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.31", + deps = [ + "@rules_proto_grpc_rust__once_cell-1.18.0//:once_cell", + ], +) diff --git a/rust/3rdparty/crates/BUILD.tracing-futures-0.2.5.bazel b/rust/3rdparty/crates/BUILD.tracing-futures-0.2.5.bazel new file mode 100644 index 00000000..5d14a75c --- /dev/null +++ b/rust/3rdparty/crates/BUILD.tracing-futures-0.2.5.bazel @@ -0,0 +1,51 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "tracing_futures", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "pin-project", + "std", + "std-future", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=tracing-futures", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.5", + deps = [ + "@rules_proto_grpc_rust__pin-project-1.1.0//:pin_project", + "@rules_proto_grpc_rust__tracing-0.1.37//:tracing", + ], +) diff --git a/rust/3rdparty/crates/BUILD.try-lock-0.2.4.bazel b/rust/3rdparty/crates/BUILD.try-lock-0.2.4.bazel new file mode 100644 index 00000000..68e0f8bb --- /dev/null +++ b/rust/3rdparty/crates/BUILD.try-lock-0.2.4.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "try_lock", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=try-lock", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.4", +) diff --git a/rust/3rdparty/crates/BUILD.unicode-ident-1.0.9.bazel b/rust/3rdparty/crates/BUILD.unicode-ident-1.0.9.bazel new file mode 100644 index 00000000..614dd765 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.unicode-ident-1.0.9.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # (MIT OR Apache-2.0) AND Unicode-DFS-2016 +# ]) + +rust_library( + name = "unicode_ident", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=unicode-ident", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.9", +) diff --git a/rust/3rdparty/crates/BUILD.want-0.3.0.bazel b/rust/3rdparty/crates/BUILD.want-0.3.0.bazel new file mode 100644 index 00000000..53ec0da2 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.want-0.3.0.bazel @@ -0,0 +1,45 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "want", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=want", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.0", + deps = [ + "@rules_proto_grpc_rust__log-0.4.18//:log", + "@rules_proto_grpc_rust__try-lock-0.2.4//:try_lock", + ], +) diff --git a/rust/3rdparty/crates/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel b/rust/3rdparty/crates/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel new file mode 100644 index 00000000..e8ba4664 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel @@ -0,0 +1,45 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT +# ]) + +rust_library( + name = "wasi", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=wasi", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.11.0+wasi-snapshot-preview1", +) diff --git a/rust/3rdparty/crates/BUILD.which-4.4.0.bazel b/rust/3rdparty/crates/BUILD.which-4.4.0.bazel new file mode 100644 index 00000000..d1abedd9 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.which-4.4.0.bazel @@ -0,0 +1,53 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "which", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=which", + "manual", + "noclippy", + "norustfmt", + ], + version = "4.4.0", + deps = [ + "@rules_proto_grpc_rust__either-1.8.1//:either", + "@rules_proto_grpc_rust__libc-0.2.145//:libc", + ] + select({ + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@rules_proto_grpc_rust__once_cell-1.18.0//:once_cell", # cfg(windows) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@rules_proto_grpc_rust__once_cell-1.18.0//:once_cell", # cfg(windows) + ], + "//conditions:default": [], + }), +) diff --git a/rust/3rdparty/crates/BUILD.winapi-0.3.9.bazel b/rust/3rdparty/crates/BUILD.winapi-0.3.9.bazel new file mode 100644 index 00000000..b1add2fa --- /dev/null +++ b/rust/3rdparty/crates/BUILD.winapi-0.3.9.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 @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +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(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "handleapi", + "ws2ipdef", + "ws2tcpip", + ], + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=winapi", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.9", + deps = [ + "@rules_proto_grpc_rust__winapi-0.3.9//:build_script_build", + ], +) + +cargo_build_script( + name = "winapi_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "handleapi", + "ws2ipdef", + "ws2tcpip", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=winapi", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.9", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "winapi_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/rust/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel new file mode 100644 index 00000000..515cbfca --- /dev/null +++ b/rust/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +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(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=winapi-i686-pc-windows-gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.0", + deps = [ + "@rules_proto_grpc_rust__winapi-i686-pc-windows-gnu-0.4.0//:build_script_build", + ], +) + +cargo_build_script( + name = "winapi-i686-pc-windows-gnu_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=winapi-i686-pc-windows-gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.0", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "winapi-i686-pc-windows-gnu_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/rust/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel new file mode 100644 index 00000000..720abeee --- /dev/null +++ b/rust/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +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(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=winapi-x86_64-pc-windows-gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.0", + deps = [ + "@rules_proto_grpc_rust__winapi-x86_64-pc-windows-gnu-0.4.0//:build_script_build", + ], +) + +cargo_build_script( + name = "winapi-x86_64-pc-windows-gnu_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=winapi-x86_64-pc-windows-gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.0", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "winapi-x86_64-pc-windows-gnu_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.windows-sys-0.45.0.bazel b/rust/3rdparty/crates/BUILD.windows-sys-0.45.0.bazel new file mode 100644 index 00000000..03a5b250 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.windows-sys-0.45.0.bazel @@ -0,0 +1,120 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_sys", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "Win32", + "Win32_Foundation", + "Win32_Storage", + "Win32_Storage_FileSystem", + "default", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows-sys", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.45.0", + deps = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:wasm32-wasi": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__windows-targets-0.42.2//:windows_targets", # cfg(not(windows_raw_dylib)) + ], + "//conditions:default": [], + }), +) diff --git a/rust/3rdparty/crates/BUILD.windows-sys-0.48.0.bazel b/rust/3rdparty/crates/BUILD.windows-sys-0.48.0.bazel new file mode 100644 index 00000000..ceef46a5 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.windows-sys-0.48.0.bazel @@ -0,0 +1,65 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_sys", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "Win32", + "Win32_Foundation", + "Win32_NetworkManagement", + "Win32_NetworkManagement_IpHelper", + "Win32_Networking", + "Win32_Networking_WinSock", + "Win32_Security", + "Win32_Security_Authorization", + "Win32_Storage", + "Win32_Storage_FileSystem", + "Win32_System", + "Win32_System_Diagnostics", + "Win32_System_Diagnostics_Debug", + "Win32_System_IO", + "Win32_System_Pipes", + "Win32_System_SystemServices", + "Win32_System_Threading", + "Win32_System_WindowsProgramming", + "default", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows-sys", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.0", + deps = [ + "@rules_proto_grpc_rust__windows-targets-0.48.0//:windows_targets", + ], +) diff --git a/rust/3rdparty/crates/BUILD.windows-targets-0.42.2.bazel b/rust/3rdparty/crates/BUILD.windows-targets-0.42.2.bazel new file mode 100644 index 00000000..fca514ec --- /dev/null +++ b/rust/3rdparty/crates/BUILD.windows-targets-0.42.2.bazel @@ -0,0 +1,50 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_targets", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows-targets", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.42.2", + deps = select({ + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@rules_proto_grpc_rust__windows_i686_msvc-0.42.2//:windows_i686_msvc", # i686-pc-windows-msvc + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@rules_proto_grpc_rust__windows_x86_64_msvc-0.42.2//:windows_x86_64_msvc", # x86_64-pc-windows-msvc + ], + "//conditions:default": [], + }), +) diff --git a/rust/3rdparty/crates/BUILD.windows-targets-0.48.0.bazel b/rust/3rdparty/crates/BUILD.windows-targets-0.48.0.bazel new file mode 100644 index 00000000..1d146e0c --- /dev/null +++ b/rust/3rdparty/crates/BUILD.windows-targets-0.48.0.bazel @@ -0,0 +1,56 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_targets", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows-targets", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.0", + deps = select({ + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@rules_proto_grpc_rust__windows_i686_msvc-0.48.0//:windows_i686_msvc", # cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib))) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__windows_i686_gnu-0.48.0//:windows_i686_gnu", # cfg(all(target_arch = "x86", target_env = "gnu", not(windows_raw_dylib))) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@rules_proto_grpc_rust__windows_x86_64_msvc-0.48.0//:windows_x86_64_msvc", # cfg(all(target_arch = "x86_64", target_env = "msvc", not(windows_raw_dylib))) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@rules_proto_grpc_rust__windows_x86_64_gnu-0.48.0//:windows_x86_64_gnu", # cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) + ], + "//conditions:default": [], + }), +) diff --git a/rust/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.42.2.bazel b/rust/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.42.2.bazel new file mode 100644 index 00000000..6426789a --- /dev/null +++ b/rust/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.42.2.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_aarch64_gnullvm", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.42.2", + deps = [ + "@rules_proto_grpc_rust__windows_aarch64_gnullvm-0.42.2//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_aarch64_gnullvm_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.42.2", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_aarch64_gnullvm_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.48.0.bazel b/rust/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.48.0.bazel new file mode 100644 index 00000000..a3905373 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.48.0.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_aarch64_gnullvm", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.0", + deps = [ + "@rules_proto_grpc_rust__windows_aarch64_gnullvm-0.48.0//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_aarch64_gnullvm_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.0", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_aarch64_gnullvm_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.windows_aarch64_msvc-0.42.2.bazel b/rust/3rdparty/crates/BUILD.windows_aarch64_msvc-0.42.2.bazel new file mode 100644 index 00000000..eaac0108 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.windows_aarch64_msvc-0.42.2.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_aarch64_msvc", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.42.2", + deps = [ + "@rules_proto_grpc_rust__windows_aarch64_msvc-0.42.2//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_aarch64_msvc_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.42.2", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_aarch64_msvc_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.windows_aarch64_msvc-0.48.0.bazel b/rust/3rdparty/crates/BUILD.windows_aarch64_msvc-0.48.0.bazel new file mode 100644 index 00000000..ee87f03b --- /dev/null +++ b/rust/3rdparty/crates/BUILD.windows_aarch64_msvc-0.48.0.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_aarch64_msvc", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.0", + deps = [ + "@rules_proto_grpc_rust__windows_aarch64_msvc-0.48.0//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_aarch64_msvc_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.0", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_aarch64_msvc_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.windows_i686_gnu-0.42.2.bazel b/rust/3rdparty/crates/BUILD.windows_i686_gnu-0.42.2.bazel new file mode 100644 index 00000000..0b0cbd25 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.windows_i686_gnu-0.42.2.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_i686_gnu", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.42.2", + deps = [ + "@rules_proto_grpc_rust__windows_i686_gnu-0.42.2//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_i686_gnu_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.42.2", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_i686_gnu_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.windows_i686_gnu-0.48.0.bazel b/rust/3rdparty/crates/BUILD.windows_i686_gnu-0.48.0.bazel new file mode 100644 index 00000000..3be91494 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.windows_i686_gnu-0.48.0.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_i686_gnu", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.0", + deps = [ + "@rules_proto_grpc_rust__windows_i686_gnu-0.48.0//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_i686_gnu_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.0", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_i686_gnu_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.windows_i686_msvc-0.42.2.bazel b/rust/3rdparty/crates/BUILD.windows_i686_msvc-0.42.2.bazel new file mode 100644 index 00000000..9da60cc7 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.windows_i686_msvc-0.42.2.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_i686_msvc", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.42.2", + deps = [ + "@rules_proto_grpc_rust__windows_i686_msvc-0.42.2//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_i686_msvc_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.42.2", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_i686_msvc_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.windows_i686_msvc-0.48.0.bazel b/rust/3rdparty/crates/BUILD.windows_i686_msvc-0.48.0.bazel new file mode 100644 index 00000000..1cc09f39 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.windows_i686_msvc-0.48.0.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_i686_msvc", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.0", + deps = [ + "@rules_proto_grpc_rust__windows_i686_msvc-0.48.0//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_i686_msvc_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.0", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_i686_msvc_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.windows_x86_64_gnu-0.42.2.bazel b/rust/3rdparty/crates/BUILD.windows_x86_64_gnu-0.42.2.bazel new file mode 100644 index 00000000..73b46e16 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.windows_x86_64_gnu-0.42.2.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_x86_64_gnu", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.42.2", + deps = [ + "@rules_proto_grpc_rust__windows_x86_64_gnu-0.42.2//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_x86_64_gnu_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.42.2", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_x86_64_gnu_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.windows_x86_64_gnu-0.48.0.bazel b/rust/3rdparty/crates/BUILD.windows_x86_64_gnu-0.48.0.bazel new file mode 100644 index 00000000..deabe6bf --- /dev/null +++ b/rust/3rdparty/crates/BUILD.windows_x86_64_gnu-0.48.0.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_x86_64_gnu", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.0", + deps = [ + "@rules_proto_grpc_rust__windows_x86_64_gnu-0.48.0//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_x86_64_gnu_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.0", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_x86_64_gnu_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.42.2.bazel b/rust/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.42.2.bazel new file mode 100644 index 00000000..c94d5c12 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.42.2.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_x86_64_gnullvm", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.42.2", + deps = [ + "@rules_proto_grpc_rust__windows_x86_64_gnullvm-0.42.2//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_x86_64_gnullvm_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.42.2", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_x86_64_gnullvm_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.48.0.bazel b/rust/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.48.0.bazel new file mode 100644 index 00000000..296c4372 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.48.0.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_x86_64_gnullvm", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.0", + deps = [ + "@rules_proto_grpc_rust__windows_x86_64_gnullvm-0.48.0//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_x86_64_gnullvm_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.0", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_x86_64_gnullvm_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.windows_x86_64_msvc-0.42.2.bazel b/rust/3rdparty/crates/BUILD.windows_x86_64_msvc-0.42.2.bazel new file mode 100644 index 00000000..a3bd2984 --- /dev/null +++ b/rust/3rdparty/crates/BUILD.windows_x86_64_msvc-0.42.2.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_x86_64_msvc", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.42.2", + deps = [ + "@rules_proto_grpc_rust__windows_x86_64_msvc-0.42.2//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_x86_64_msvc_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.42.2", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_x86_64_msvc_build_script", + tags = ["manual"], +) diff --git a/rust/3rdparty/crates/BUILD.windows_x86_64_msvc-0.48.0.bazel b/rust/3rdparty/crates/BUILD.windows_x86_64_msvc-0.48.0.bazel new file mode 100644 index 00000000..06226b9e --- /dev/null +++ b/rust/3rdparty/crates/BUILD.windows_x86_64_msvc-0.48.0.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/3rdparty:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_x86_64_msvc", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.0", + deps = [ + "@rules_proto_grpc_rust__windows_x86_64_msvc-0.48.0//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_x86_64_msvc_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.0", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_x86_64_msvc_build_script", + tags = ["manual"], +) diff --git a/rust/crates/crates.bzl b/rust/3rdparty/crates/crates.bzl similarity index 74% rename from rust/crates/crates.bzl rename to rust/3rdparty/crates/crates.bzl index 5d6f921b..fc28a47c 100644 --- a/rust/crates/crates.bzl +++ b/rust/3rdparty/crates/crates.bzl @@ -9,7 +9,7 @@ load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") # buildifier: disable=bzl-visibility -load("@rules_proto_grpc//rust/crates:defs.bzl", _crate_repositories = "crate_repositories") +load("@rules_proto_grpc//rust/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") @@ -18,8 +18,8 @@ def crate_repositories(): maybe( crates_vendor_remote_repository, name = "rules_proto_grpc_rust", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.bazel"), - defs_module = Label("@rules_proto_grpc//rust/crates:defs.bzl"), + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.bazel"), + defs_module = Label("@rules_proto_grpc//rust/3rdparty/crates:defs.bzl"), ) _crate_repositories() diff --git a/rust/3rdparty/crates/defs.bzl b/rust/3rdparty/crates/defs.bzl new file mode 100644 index 00000000..e976e075 --- /dev/null +++ b/rust/3rdparty/crates/defs.bzl @@ -0,0 +1,1776 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//rust/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:git.bzl", "new_git_repository") +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, normal 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, normal 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: { + "async-stream": "@rules_proto_grpc_rust__async-stream-0.3.5//:async_stream", + "futures": "@rules_proto_grpc_rust__futures-0.3.28//:futures", + "pbjson": "@rules_proto_grpc_rust__pbjson-0.5.1//:pbjson", + "pbjson-types": "@rules_proto_grpc_rust__pbjson-types-0.5.1//:pbjson_types", + "prost": "@rules_proto_grpc_rust__prost-0.11.9//:prost", + "prost-types": "@rules_proto_grpc_rust__prost-types-0.11.9//:prost_types", + "protoc-gen-prost": "@rules_proto_grpc_rust__protoc-gen-prost-0.2.2//:protoc_gen_prost", + "protoc-gen-prost-crate": "@rules_proto_grpc_rust__protoc-gen-prost-crate-0.3.1//:protoc_gen_prost_crate", + "protoc-gen-prost-serde": "@rules_proto_grpc_rust__protoc-gen-prost-serde-0.2.3//:protoc_gen_prost_serde", + "protoc-gen-tonic": "@rules_proto_grpc_rust__protoc-gen-tonic-0.2.2//:protoc_gen_tonic", + "rand": "@rules_proto_grpc_rust__rand-0.8.5//:rand", + "serde": "@rules_proto_grpc_rust__serde-1.0.163//:serde", + "serde_json": "@rules_proto_grpc_rust__serde_json-1.0.96//:serde_json", + "tokio": "@rules_proto_grpc_rust__tokio-1.28.2//:tokio", + "tokio-stream": "@rules_proto_grpc_rust__tokio-stream-0.1.14//:tokio_stream", + "tonic": "@rules_proto_grpc_rust__tonic-0.8.3//:tonic", + "tonic-build": "@rules_proto_grpc_rust__tonic-build-0.8.4//:tonic_build", + }, + }, +} + +_NORMAL_ALIASES = { + "": { + _COMMON_CONDITION: { + }, + }, +} + +_NORMAL_DEV_DEPENDENCIES = { + "": { + }, +} + +_NORMAL_DEV_ALIASES = { + "": { + }, +} + +_PROC_MACRO_DEPENDENCIES = { + "": { + _COMMON_CONDITION: { + "prost-derive": "@rules_proto_grpc_rust__prost-derive-0.11.9//:prost_derive", + }, + }, +} + +_PROC_MACRO_ALIASES = { + "": { + }, +} + +_PROC_MACRO_DEV_DEPENDENCIES = { + "": { + }, +} + +_PROC_MACRO_DEV_ALIASES = { + "": { + }, +} + +_BUILD_DEPENDENCIES = { + "": { + }, +} + +_BUILD_ALIASES = { + "": { + }, +} + +_BUILD_PROC_MACRO_DEPENDENCIES = { + "": { + }, +} + +_BUILD_PROC_MACRO_ALIASES = { + "": { + }, +} + +_CONDITIONS = { + "aarch64-pc-windows-gnullvm": [], + "aarch64-pc-windows-msvc": [], + "aarch64-uwp-windows-msvc": [], + "cfg(all(any(target_os = \"android\", target_os = \"linux\"), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\"))))))))": ["aarch64-linux-android", "armv7-linux-androideabi", "i686-linux-android", "powerpc-unknown-linux-gnu", "s390x-unknown-linux-gnu", "x86_64-linux-android"], + "cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\")))))": ["aarch64-unknown-linux-gnu", "arm-unknown-linux-gnueabi", "armv7-unknown-linux-gnueabi", "i686-unknown-linux-gnu", "x86_64-unknown-linux-gnu"], + "cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\"))))))))": ["aarch64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-ios-sim", "aarch64-linux-android", "armv7-linux-androideabi", "i686-apple-darwin", "i686-linux-android", "i686-unknown-freebsd", "powerpc-unknown-linux-gnu", "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"], + "cfg(all(target_arch = \"aarch64\", target_env = \"gnu\", target_abi = \"llvm\", not(windows_raw_dylib)))": [], + "cfg(all(target_arch = \"aarch64\", target_env = \"msvc\", not(windows_raw_dylib)))": [], + "cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))": ["wasm32-unknown-unknown"], + "cfg(all(target_arch = \"x86\", target_env = \"gnu\", not(windows_raw_dylib)))": ["i686-unknown-linux-gnu"], + "cfg(all(target_arch = \"x86\", target_env = \"msvc\", not(windows_raw_dylib)))": ["i686-pc-windows-msvc"], + "cfg(all(target_arch = \"x86_64\", target_env = \"gnu\", not(target_abi = \"llvm\"), not(windows_raw_dylib)))": ["x86_64-unknown-linux-gnu"], + "cfg(all(target_arch = \"x86_64\", target_env = \"gnu\", target_abi = \"llvm\", not(windows_raw_dylib)))": [], + "cfg(all(target_arch = \"x86_64\", target_env = \"msvc\", not(windows_raw_dylib)))": ["x86_64-pc-windows-msvc"], + "cfg(any(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(docsrs)": [], + "cfg(not(any(target_arch = \"wasm32\", target_arch = \"wasm64\")))": ["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-pc-windows-msvc", "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-pc-windows-msvc", "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", "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(not(windows_raw_dylib))": ["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-pc-windows-msvc", "i686-unknown-freebsd", "i686-unknown-linux-gnu", "powerpc-unknown-linux-gnu", "s390x-unknown-linux-gnu", "wasm32-unknown-unknown", "wasm32-wasi", "x86_64-apple-darwin", "x86_64-apple-ios", "x86_64-linux-android", "x86_64-pc-windows-msvc", "x86_64-unknown-freebsd", "x86_64-unknown-linux-gnu"], + "cfg(target_os = \"android\")": ["aarch64-linux-android", "armv7-linux-androideabi", "i686-linux-android", "x86_64-linux-android"], + "cfg(target_os = \"dragonfly\")": [], + "cfg(target_os = \"hermit\")": [], + "cfg(target_os = \"redox\")": [], + "cfg(target_os = \"wasi\")": ["wasm32-wasi"], + "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": [], + "i686-pc-windows-msvc": ["i686-pc-windows-msvc"], + "i686-uwp-windows-gnu": [], + "i686-uwp-windows-msvc": [], + "x86_64-pc-windows-gnu": [], + "x86_64-pc-windows-gnullvm": [], + "x86_64-pc-windows-msvc": ["x86_64-pc-windows-msvc"], + "x86_64-uwp-windows-gnu": [], + "x86_64-uwp-windows-msvc": [], +} + +############################################################################### + +def crate_repositories(): + """A macro for defining repositories for all generated crates""" + maybe( + http_archive, + name = "rules_proto_grpc_rust__android-tzdata-0.1.1", + sha256 = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/android-tzdata/0.1.1/download"], + strip_prefix = "android-tzdata-0.1.1", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.android-tzdata-0.1.1.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__anyhow-1.0.71", + sha256 = "9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/anyhow/1.0.71/download"], + strip_prefix = "anyhow-1.0.71", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.anyhow-1.0.71.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__async-stream-0.3.5", + sha256 = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/async-stream/0.3.5/download"], + strip_prefix = "async-stream-0.3.5", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.async-stream-0.3.5.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__async-stream-impl-0.3.5", + sha256 = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/async-stream-impl/0.3.5/download"], + strip_prefix = "async-stream-impl-0.3.5", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.async-stream-impl-0.3.5.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__async-trait-0.1.68", + sha256 = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/async-trait/0.1.68/download"], + strip_prefix = "async-trait-0.1.68", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.async-trait-0.1.68.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__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_proto_grpc//rust/3rdparty/crates:BUILD.autocfg-1.1.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__axum-0.6.18", + sha256 = "f8175979259124331c1d7bf6586ee7e0da434155e4b2d48ec2c8386281d8df39", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/axum/0.6.18/download"], + strip_prefix = "axum-0.6.18", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.axum-0.6.18.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__axum-core-0.3.4", + sha256 = "759fa577a247914fd3f7f76d62972792636412fbfd634cd452f6a385a74d2d2c", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/axum-core/0.3.4/download"], + strip_prefix = "axum-core-0.3.4", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.axum-core-0.3.4.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__base64-0.13.1", + sha256 = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/base64/0.13.1/download"], + strip_prefix = "base64-0.13.1", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.base64-0.13.1.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__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_proto_grpc//rust/3rdparty/crates:BUILD.bitflags-1.3.2.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__bytes-1.4.0", + sha256 = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/bytes/1.4.0/download"], + strip_prefix = "bytes-1.4.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.bytes-1.4.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__cc-1.0.79", + sha256 = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/cc/1.0.79/download"], + strip_prefix = "cc-1.0.79", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.cc-1.0.79.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__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_proto_grpc//rust/3rdparty/crates:BUILD.cfg-if-1.0.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__chrono-0.4.26", + sha256 = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/chrono/0.4.26/download"], + strip_prefix = "chrono-0.4.26", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.chrono-0.4.26.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__either-1.8.1", + sha256 = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/either/1.8.1/download"], + strip_prefix = "either-1.8.1", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.either-1.8.1.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__errno-0.3.1", + sha256 = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/errno/0.3.1/download"], + strip_prefix = "errno-0.3.1", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.errno-0.3.1.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__errno-dragonfly-0.1.2", + sha256 = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/errno-dragonfly/0.1.2/download"], + strip_prefix = "errno-dragonfly-0.1.2", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.errno-dragonfly-0.1.2.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__fastrand-1.9.0", + sha256 = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/fastrand/1.9.0/download"], + strip_prefix = "fastrand-1.9.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.fastrand-1.9.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__fixedbitset-0.4.2", + sha256 = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/fixedbitset/0.4.2/download"], + strip_prefix = "fixedbitset-0.4.2", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.fixedbitset-0.4.2.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__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_proto_grpc//rust/3rdparty/crates:BUILD.fnv-1.0.7.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__futures-0.3.28", + sha256 = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/futures/0.3.28/download"], + strip_prefix = "futures-0.3.28", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.futures-0.3.28.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__futures-channel-0.3.28", + sha256 = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/futures-channel/0.3.28/download"], + strip_prefix = "futures-channel-0.3.28", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.futures-channel-0.3.28.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__futures-core-0.3.28", + sha256 = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/futures-core/0.3.28/download"], + strip_prefix = "futures-core-0.3.28", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.futures-core-0.3.28.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__futures-executor-0.3.28", + sha256 = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/futures-executor/0.3.28/download"], + strip_prefix = "futures-executor-0.3.28", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.futures-executor-0.3.28.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__futures-io-0.3.28", + sha256 = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/futures-io/0.3.28/download"], + strip_prefix = "futures-io-0.3.28", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.futures-io-0.3.28.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__futures-macro-0.3.28", + sha256 = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/futures-macro/0.3.28/download"], + strip_prefix = "futures-macro-0.3.28", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.futures-macro-0.3.28.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__futures-sink-0.3.28", + sha256 = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/futures-sink/0.3.28/download"], + strip_prefix = "futures-sink-0.3.28", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.futures-sink-0.3.28.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__futures-task-0.3.28", + sha256 = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/futures-task/0.3.28/download"], + strip_prefix = "futures-task-0.3.28", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.futures-task-0.3.28.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__futures-util-0.3.28", + sha256 = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/futures-util/0.3.28/download"], + strip_prefix = "futures-util-0.3.28", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.futures-util-0.3.28.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__getrandom-0.2.9", + sha256 = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/getrandom/0.2.9/download"], + strip_prefix = "getrandom-0.2.9", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.getrandom-0.2.9.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__h2-0.3.19", + sha256 = "d357c7ae988e7d2182f7d7871d0b963962420b0678b0997ce7de72001aeab782", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/h2/0.3.19/download"], + strip_prefix = "h2-0.3.19", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.h2-0.3.19.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__hashbrown-0.12.3", + sha256 = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/hashbrown/0.12.3/download"], + strip_prefix = "hashbrown-0.12.3", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.hashbrown-0.12.3.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__heck-0.4.1", + sha256 = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/heck/0.4.1/download"], + strip_prefix = "heck-0.4.1", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.heck-0.4.1.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__hermit-abi-0.3.1", + sha256 = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/hermit-abi/0.3.1/download"], + strip_prefix = "hermit-abi-0.3.1", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.hermit-abi-0.3.1.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__http-0.2.9", + sha256 = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/http/0.2.9/download"], + strip_prefix = "http-0.2.9", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.http-0.2.9.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__http-body-0.4.5", + sha256 = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/http-body/0.4.5/download"], + strip_prefix = "http-body-0.4.5", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.http-body-0.4.5.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__httparse-1.8.0", + sha256 = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/httparse/1.8.0/download"], + strip_prefix = "httparse-1.8.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.httparse-1.8.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__httpdate-1.0.2", + sha256 = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/httpdate/1.0.2/download"], + strip_prefix = "httpdate-1.0.2", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.httpdate-1.0.2.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__hyper-0.14.26", + sha256 = "ab302d72a6f11a3b910431ff93aae7e773078c769f0a3ef15fb9ec692ed147d4", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/hyper/0.14.26/download"], + strip_prefix = "hyper-0.14.26", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.hyper-0.14.26.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__hyper-timeout-0.4.1", + sha256 = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/hyper-timeout/0.4.1/download"], + strip_prefix = "hyper-timeout-0.4.1", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.hyper-timeout-0.4.1.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__indexmap-1.9.3", + sha256 = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/indexmap/1.9.3/download"], + strip_prefix = "indexmap-1.9.3", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.indexmap-1.9.3.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__instant-0.1.12", + sha256 = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/instant/0.1.12/download"], + strip_prefix = "instant-0.1.12", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.instant-0.1.12.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__io-lifetimes-1.0.11", + sha256 = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/io-lifetimes/1.0.11/download"], + strip_prefix = "io-lifetimes-1.0.11", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.io-lifetimes-1.0.11.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__itertools-0.10.5", + sha256 = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/itertools/0.10.5/download"], + strip_prefix = "itertools-0.10.5", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.itertools-0.10.5.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__itoa-1.0.6", + sha256 = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/itoa/1.0.6/download"], + strip_prefix = "itoa-1.0.6", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.itoa-1.0.6.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__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_proto_grpc//rust/3rdparty/crates:BUILD.lazy_static-1.4.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__libc-0.2.145", + sha256 = "fc86cde3ff845662b8f4ef6cb50ea0e20c524eb3d29ae048287e06a1b3fa6a81", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/libc/0.2.145/download"], + strip_prefix = "libc-0.2.145", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.libc-0.2.145.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__linux-raw-sys-0.3.8", + sha256 = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/linux-raw-sys/0.3.8/download"], + strip_prefix = "linux-raw-sys-0.3.8", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.linux-raw-sys-0.3.8.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__log-0.4.18", + sha256 = "518ef76f2f87365916b142844c16d8fefd85039bc5699050210a7778ee1cd1de", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/log/0.4.18/download"], + strip_prefix = "log-0.4.18", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.log-0.4.18.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__matchit-0.7.0", + sha256 = "b87248edafb776e59e6ee64a79086f65890d3510f2c656c000bf2a7e8a0aea40", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/matchit/0.7.0/download"], + strip_prefix = "matchit-0.7.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.matchit-0.7.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__memchr-2.5.0", + sha256 = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/memchr/2.5.0/download"], + strip_prefix = "memchr-2.5.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.memchr-2.5.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__mime-0.3.17", + sha256 = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/mime/0.3.17/download"], + strip_prefix = "mime-0.3.17", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.mime-0.3.17.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__mio-0.8.8", + sha256 = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/mio/0.8.8/download"], + strip_prefix = "mio-0.8.8", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.mio-0.8.8.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__multimap-0.8.3", + sha256 = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/multimap/0.8.3/download"], + strip_prefix = "multimap-0.8.3", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.multimap-0.8.3.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__num-traits-0.2.15", + sha256 = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/num-traits/0.2.15/download"], + strip_prefix = "num-traits-0.2.15", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.num-traits-0.2.15.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__once_cell-1.18.0", + sha256 = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/once_cell/1.18.0/download"], + strip_prefix = "once_cell-1.18.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.once_cell-1.18.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__pbjson-0.5.1", + sha256 = "048f9ac93c1eab514f9470c4bc8d97ca2a0a236b84f45cc19d69a59fc11467f6", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/pbjson/0.5.1/download"], + strip_prefix = "pbjson-0.5.1", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.pbjson-0.5.1.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__pbjson-build-0.5.1", + sha256 = "bdbb7b706f2afc610f3853550cdbbf6372fd324824a087806bd4480ea4996e24", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/pbjson-build/0.5.1/download"], + strip_prefix = "pbjson-build-0.5.1", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.pbjson-build-0.5.1.bazel"), + ) + + maybe( + new_git_repository, + name = "rules_proto_grpc_rust__pbjson-types-0.5.1", + commit = "a4f760e5d53086d989f28dc9d1d0adcc22fe37c4", + init_submodules = True, + remote = "https://github.com/echochamber/pbjson", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.pbjson-types-0.5.1.bazel"), + strip_prefix = "pbjson-types", + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__percent-encoding-2.3.0", + sha256 = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/percent-encoding/2.3.0/download"], + strip_prefix = "percent-encoding-2.3.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.percent-encoding-2.3.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__petgraph-0.6.3", + sha256 = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/petgraph/0.6.3/download"], + strip_prefix = "petgraph-0.6.3", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.petgraph-0.6.3.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__pin-project-1.1.0", + sha256 = "c95a7476719eab1e366eaf73d0260af3021184f18177925b07f54b30089ceead", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/pin-project/1.1.0/download"], + strip_prefix = "pin-project-1.1.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.pin-project-1.1.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__pin-project-internal-1.1.0", + sha256 = "39407670928234ebc5e6e580247dd567ad73a3578460c5990f9503df207e8f07", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/pin-project-internal/1.1.0/download"], + strip_prefix = "pin-project-internal-1.1.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.pin-project-internal-1.1.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__pin-project-lite-0.2.9", + sha256 = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/pin-project-lite/0.2.9/download"], + strip_prefix = "pin-project-lite-0.2.9", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.pin-project-lite-0.2.9.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__pin-utils-0.1.0", + sha256 = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/pin-utils/0.1.0/download"], + strip_prefix = "pin-utils-0.1.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.pin-utils-0.1.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__ppv-lite86-0.2.17", + sha256 = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/ppv-lite86/0.2.17/download"], + strip_prefix = "ppv-lite86-0.2.17", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.ppv-lite86-0.2.17.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__prettyplease-0.1.25", + sha256 = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/prettyplease/0.1.25/download"], + strip_prefix = "prettyplease-0.1.25", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.prettyplease-0.1.25.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__proc-macro2-1.0.59", + sha256 = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/proc-macro2/1.0.59/download"], + strip_prefix = "proc-macro2-1.0.59", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.proc-macro2-1.0.59.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__prost-0.11.9", + sha256 = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/prost/0.11.9/download"], + strip_prefix = "prost-0.11.9", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.prost-0.11.9.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__prost-build-0.11.9", + sha256 = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/prost-build/0.11.9/download"], + strip_prefix = "prost-build-0.11.9", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.prost-build-0.11.9.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__prost-derive-0.11.9", + sha256 = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/prost-derive/0.11.9/download"], + strip_prefix = "prost-derive-0.11.9", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.prost-derive-0.11.9.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__prost-types-0.11.9", + sha256 = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/prost-types/0.11.9/download"], + strip_prefix = "prost-types-0.11.9", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.prost-types-0.11.9.bazel"), + ) + + maybe( + new_git_repository, + name = "rules_proto_grpc_rust__protoc-gen-prost-0.2.1", + commit = "038cd342677dfa869f8c3a2a2787a139fc561df8", + init_submodules = True, + remote = "https://github.com/neoeinstein/protoc-gen-prost", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.protoc-gen-prost-0.2.1.bazel"), + strip_prefix = "protoc-gen-prost", + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__protoc-gen-prost-0.2.2", + sha256 = "a81e3a9bb429fec47008b209896f0b9ab99fbcbc1c3733b385d43fbfd64dd2ca", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/protoc-gen-prost/0.2.2/download"], + strip_prefix = "protoc-gen-prost-0.2.2", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.protoc-gen-prost-0.2.2.bazel"), + ) + + maybe( + new_git_repository, + name = "rules_proto_grpc_rust__protoc-gen-prost-crate-0.3.1", + commit = "038cd342677dfa869f8c3a2a2787a139fc561df8", + init_submodules = True, + remote = "https://github.com/neoeinstein/protoc-gen-prost", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.protoc-gen-prost-crate-0.3.1.bazel"), + strip_prefix = "protoc-gen-prost-crate", + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__protoc-gen-prost-serde-0.2.3", + sha256 = "60e9eed65ec11e647364242c7942932f3631ba0ce7bf40d71235662c6e3c8dc9", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/protoc-gen-prost-serde/0.2.3/download"], + strip_prefix = "protoc-gen-prost-serde-0.2.3", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.protoc-gen-prost-serde-0.2.3.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__protoc-gen-tonic-0.2.2", + sha256 = "725a07a704f9cf7a956b302c21d81b5516ed5ee6cfbbf827edb69beeaae6cc30", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/protoc-gen-tonic/0.2.2/download"], + strip_prefix = "protoc-gen-tonic-0.2.2", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.protoc-gen-tonic-0.2.2.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__quote-1.0.28", + sha256 = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/quote/1.0.28/download"], + strip_prefix = "quote-1.0.28", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.quote-1.0.28.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__rand-0.8.5", + sha256 = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/rand/0.8.5/download"], + strip_prefix = "rand-0.8.5", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.rand-0.8.5.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__rand_chacha-0.3.1", + sha256 = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/rand_chacha/0.3.1/download"], + strip_prefix = "rand_chacha-0.3.1", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.rand_chacha-0.3.1.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__rand_core-0.6.4", + sha256 = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/rand_core/0.6.4/download"], + strip_prefix = "rand_core-0.6.4", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.rand_core-0.6.4.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__redox_syscall-0.3.5", + sha256 = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/redox_syscall/0.3.5/download"], + strip_prefix = "redox_syscall-0.3.5", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.redox_syscall-0.3.5.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__regex-1.8.4", + sha256 = "d0ab3ca65655bb1e41f2a8c8cd662eb4fb035e67c3f78da1d61dffe89d07300f", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/regex/1.8.4/download"], + strip_prefix = "regex-1.8.4", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.regex-1.8.4.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__regex-syntax-0.7.2", + sha256 = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/regex-syntax/0.7.2/download"], + strip_prefix = "regex-syntax-0.7.2", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.regex-syntax-0.7.2.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__rustix-0.37.19", + sha256 = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/rustix/0.37.19/download"], + strip_prefix = "rustix-0.37.19", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.rustix-0.37.19.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__rustversion-1.0.12", + sha256 = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/rustversion/1.0.12/download"], + strip_prefix = "rustversion-1.0.12", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.rustversion-1.0.12.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__ryu-1.0.13", + sha256 = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/ryu/1.0.13/download"], + strip_prefix = "ryu-1.0.13", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.ryu-1.0.13.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__serde-1.0.163", + sha256 = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/serde/1.0.163/download"], + strip_prefix = "serde-1.0.163", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.serde-1.0.163.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__serde_derive-1.0.163", + sha256 = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/serde_derive/1.0.163/download"], + strip_prefix = "serde_derive-1.0.163", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.serde_derive-1.0.163.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__serde_json-1.0.96", + sha256 = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/serde_json/1.0.96/download"], + strip_prefix = "serde_json-1.0.96", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.serde_json-1.0.96.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__slab-0.4.8", + sha256 = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/slab/0.4.8/download"], + strip_prefix = "slab-0.4.8", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.slab-0.4.8.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__socket2-0.4.9", + sha256 = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/socket2/0.4.9/download"], + strip_prefix = "socket2-0.4.9", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.socket2-0.4.9.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__syn-1.0.109", + sha256 = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/syn/1.0.109/download"], + strip_prefix = "syn-1.0.109", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.syn-1.0.109.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__syn-2.0.18", + sha256 = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/syn/2.0.18/download"], + strip_prefix = "syn-2.0.18", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.syn-2.0.18.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__sync_wrapper-0.1.2", + sha256 = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/sync_wrapper/0.1.2/download"], + strip_prefix = "sync_wrapper-0.1.2", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.sync_wrapper-0.1.2.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__tempfile-3.5.0", + sha256 = "b9fbec84f381d5795b08656e4912bec604d162bff9291d6189a78f4c8ab87998", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/tempfile/3.5.0/download"], + strip_prefix = "tempfile-3.5.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.tempfile-3.5.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__tokio-1.28.2", + sha256 = "94d7b1cfd2aa4011f2de74c2c4c63665e27a71006b0a192dcd2710272e73dfa2", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/tokio/1.28.2/download"], + strip_prefix = "tokio-1.28.2", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.tokio-1.28.2.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__tokio-io-timeout-1.2.0", + sha256 = "30b74022ada614a1b4834de765f9bb43877f910cc8ce4be40e89042c9223a8bf", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/tokio-io-timeout/1.2.0/download"], + strip_prefix = "tokio-io-timeout-1.2.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.tokio-io-timeout-1.2.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__tokio-macros-2.1.0", + sha256 = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/tokio-macros/2.1.0/download"], + strip_prefix = "tokio-macros-2.1.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.tokio-macros-2.1.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__tokio-stream-0.1.14", + sha256 = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/tokio-stream/0.1.14/download"], + strip_prefix = "tokio-stream-0.1.14", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.tokio-stream-0.1.14.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__tokio-util-0.7.8", + sha256 = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/tokio-util/0.7.8/download"], + strip_prefix = "tokio-util-0.7.8", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.tokio-util-0.7.8.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__tonic-0.8.3", + sha256 = "8f219fad3b929bef19b1f86fbc0358d35daed8f2cac972037ac0dc10bbb8d5fb", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/tonic/0.8.3/download"], + strip_prefix = "tonic-0.8.3", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.tonic-0.8.3.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__tonic-build-0.8.4", + sha256 = "5bf5e9b9c0f7e0a7c027dcfaba7b2c60816c7049171f679d99ee2ff65d0de8c4", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/tonic-build/0.8.4/download"], + strip_prefix = "tonic-build-0.8.4", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.tonic-build-0.8.4.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__tower-0.4.13", + sha256 = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/tower/0.4.13/download"], + strip_prefix = "tower-0.4.13", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.tower-0.4.13.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__tower-layer-0.3.2", + sha256 = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/tower-layer/0.3.2/download"], + strip_prefix = "tower-layer-0.3.2", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.tower-layer-0.3.2.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__tower-service-0.3.2", + sha256 = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/tower-service/0.3.2/download"], + strip_prefix = "tower-service-0.3.2", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.tower-service-0.3.2.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__tracing-0.1.37", + sha256 = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/tracing/0.1.37/download"], + strip_prefix = "tracing-0.1.37", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.tracing-0.1.37.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__tracing-attributes-0.1.24", + sha256 = "0f57e3ca2a01450b1a921183a9c9cbfda207fd822cef4ccb00a65402cbba7a74", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/tracing-attributes/0.1.24/download"], + strip_prefix = "tracing-attributes-0.1.24", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.tracing-attributes-0.1.24.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__tracing-core-0.1.31", + sha256 = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/tracing-core/0.1.31/download"], + strip_prefix = "tracing-core-0.1.31", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.tracing-core-0.1.31.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__tracing-futures-0.2.5", + sha256 = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/tracing-futures/0.2.5/download"], + strip_prefix = "tracing-futures-0.2.5", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.tracing-futures-0.2.5.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__try-lock-0.2.4", + sha256 = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/try-lock/0.2.4/download"], + strip_prefix = "try-lock-0.2.4", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.try-lock-0.2.4.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__unicode-ident-1.0.9", + sha256 = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/unicode-ident/1.0.9/download"], + strip_prefix = "unicode-ident-1.0.9", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.unicode-ident-1.0.9.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__want-0.3.0", + sha256 = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/want/0.3.0/download"], + strip_prefix = "want-0.3.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.want-0.3.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__wasi-0.11.0-wasi-snapshot-preview1", + sha256 = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/wasi/0.11.0+wasi-snapshot-preview1/download"], + strip_prefix = "wasi-0.11.0+wasi-snapshot-preview1", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__which-4.4.0", + sha256 = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/which/4.4.0/download"], + strip_prefix = "which-4.4.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.which-4.4.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__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_proto_grpc//rust/3rdparty/crates:BUILD.winapi-0.3.9.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__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_proto_grpc//rust/3rdparty/crates:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__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_proto_grpc//rust/3rdparty/crates:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__windows-sys-0.45.0", + sha256 = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows-sys/0.45.0/download"], + strip_prefix = "windows-sys-0.45.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.windows-sys-0.45.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__windows-sys-0.48.0", + sha256 = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows-sys/0.48.0/download"], + strip_prefix = "windows-sys-0.48.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.windows-sys-0.48.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__windows-targets-0.42.2", + sha256 = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows-targets/0.42.2/download"], + strip_prefix = "windows-targets-0.42.2", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.windows-targets-0.42.2.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__windows-targets-0.48.0", + sha256 = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows-targets/0.48.0/download"], + strip_prefix = "windows-targets-0.48.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.windows-targets-0.48.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__windows_aarch64_gnullvm-0.42.2", + sha256 = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows_aarch64_gnullvm/0.42.2/download"], + strip_prefix = "windows_aarch64_gnullvm-0.42.2", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.windows_aarch64_gnullvm-0.42.2.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__windows_aarch64_gnullvm-0.48.0", + sha256 = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows_aarch64_gnullvm/0.48.0/download"], + strip_prefix = "windows_aarch64_gnullvm-0.48.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.windows_aarch64_gnullvm-0.48.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__windows_aarch64_msvc-0.42.2", + sha256 = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows_aarch64_msvc/0.42.2/download"], + strip_prefix = "windows_aarch64_msvc-0.42.2", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.windows_aarch64_msvc-0.42.2.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__windows_aarch64_msvc-0.48.0", + sha256 = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows_aarch64_msvc/0.48.0/download"], + strip_prefix = "windows_aarch64_msvc-0.48.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.windows_aarch64_msvc-0.48.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__windows_i686_gnu-0.42.2", + sha256 = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows_i686_gnu/0.42.2/download"], + strip_prefix = "windows_i686_gnu-0.42.2", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.windows_i686_gnu-0.42.2.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__windows_i686_gnu-0.48.0", + sha256 = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows_i686_gnu/0.48.0/download"], + strip_prefix = "windows_i686_gnu-0.48.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.windows_i686_gnu-0.48.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__windows_i686_msvc-0.42.2", + sha256 = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows_i686_msvc/0.42.2/download"], + strip_prefix = "windows_i686_msvc-0.42.2", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.windows_i686_msvc-0.42.2.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__windows_i686_msvc-0.48.0", + sha256 = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows_i686_msvc/0.48.0/download"], + strip_prefix = "windows_i686_msvc-0.48.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.windows_i686_msvc-0.48.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__windows_x86_64_gnu-0.42.2", + sha256 = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows_x86_64_gnu/0.42.2/download"], + strip_prefix = "windows_x86_64_gnu-0.42.2", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.windows_x86_64_gnu-0.42.2.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__windows_x86_64_gnu-0.48.0", + sha256 = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows_x86_64_gnu/0.48.0/download"], + strip_prefix = "windows_x86_64_gnu-0.48.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.windows_x86_64_gnu-0.48.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__windows_x86_64_gnullvm-0.42.2", + sha256 = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows_x86_64_gnullvm/0.42.2/download"], + strip_prefix = "windows_x86_64_gnullvm-0.42.2", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.windows_x86_64_gnullvm-0.42.2.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__windows_x86_64_gnullvm-0.48.0", + sha256 = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows_x86_64_gnullvm/0.48.0/download"], + strip_prefix = "windows_x86_64_gnullvm-0.48.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.windows_x86_64_gnullvm-0.48.0.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__windows_x86_64_msvc-0.42.2", + sha256 = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows_x86_64_msvc/0.42.2/download"], + strip_prefix = "windows_x86_64_msvc-0.42.2", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.windows_x86_64_msvc-0.42.2.bazel"), + ) + + maybe( + http_archive, + name = "rules_proto_grpc_rust__windows_x86_64_msvc-0.48.0", + sha256 = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows_x86_64_msvc/0.48.0/download"], + strip_prefix = "windows_x86_64_msvc-0.48.0", + build_file = Label("@rules_proto_grpc//rust/3rdparty/crates:BUILD.windows_x86_64_msvc-0.48.0.bazel"), + ) diff --git a/rust/BUILD.bazel b/rust/BUILD.bazel index 7f4a7d01..40ff9ccd 100644 --- a/rust/BUILD.bazel +++ b/rust/BUILD.bazel @@ -1,135 +1,69 @@ load("//:defs.bzl", "proto_plugin") -load("@rules_rust//crate_universe:defs.bzl", "crate", "crates_vendor") proto_plugin( name = "rust_prost_plugin", exclusions = [ - "google/protobuf", + # "google/protobuf", + ], + separate_options_flag = True, + options = [ + "file_descriptor_set", + "extern_path=.google.protobuf=::pbjson_types", + "compile_well_known_types", ], - options = ["file_descriptor_set"], output_directory = True, - tool = "//rust/crates:protoc-gen-prost__protoc-gen-prost", + tool = "@rules_proto_grpc//rust/3rdparty/crates:protoc-gen-prost-0.2.1__protoc-gen-prost", visibility = ["//visibility:public"], ) proto_plugin( name = "rust_tonic_plugin", exclusions = [ - "google/protobuf", + # "google/protobuf", ], - options = ["no_include"], + options = [ + "no_include", + "extern_path=.google.protobuf=::pbjson_types", + "compile_well_known_types", + ], + separate_options_flag = True, output_directory = True, - tool = "//rust/crates:protoc-gen-tonic__protoc-gen-tonic", + tool = "@rules_proto_grpc//rust/3rdparty/crates:protoc-gen-tonic__protoc-gen-tonic", visibility = ["//visibility:public"], ) proto_plugin( name = "rust_crate_plugin", exclusions = [ - "google/protobuf", + # "google/protobuf", ], + separate_options_flag = True, options = ["no_features"], output_directory = True, - tool = "//rust/crates:protoc-gen-prost-crate__protoc-gen-prost-crate", + tool = "@rules_proto_grpc//rust/3rdparty/crates:protoc-gen-prost-crate__protoc-gen-prost-crate", visibility = ["//visibility:public"], ) +proto_plugin( + name = "rust_serde_plugin", + exclusions = [ + # "google/protobuf", + ], + options = [ + "no_include", + "preserve_proto_field_names", + "extern_path=.google.protobuf=::pbjson_types", + ], + output_directory = True, + separate_options_flag = True, + tool = "@rules_proto_grpc//rust/3rdparty/crates:protoc-gen-prost-serde__protoc-gen-prost-serde", + visibility = ["//visibility:public"], +) +# @rules_proto_grpc_rust + + sh_binary( name = "rust_fixer", srcs = ["rust_fixer.sh"], visibility = ["//visibility:public"], ) - -crates_vendor( - name = "crates_vendor", - annotations = { - "prost-build": [crate.annotation( - build_script_env = { - "PROTOC_NO_VENDOR": "true", - "PROTOC": "$(execpath @com_google_protobuf//:protoc)", - "PROTOC_INCLUDE": ".", - }, - build_script_tools = ["@com_google_protobuf//:protoc"], - )], - }, - mode = "remote", - packages = { - "protoc-gen-prost": crate.spec( - version = "0.2.1", - ), - "protoc-gen-prost-crate": crate.spec( - version = "0.3.1", - ), - "protoc-gen-tonic": crate.spec( - version = "0.2.1", - ), - "prost": crate.spec( - version = "0.11.6", - ), - "prost-derive": crate.spec( - version = "0.11.6", - ), - "prost-types": crate.spec( - version = "0.11.6", - ), - "tonic": crate.spec( - version = "0.8.2", - ), - "tonic-build": crate.spec( - version = "0.8.2", - ), - - # routeguide example deps - "serde": crate.spec( - features = ["derive"], - version = "1.0.152", - ), - "serde_json": crate.spec( - version = "1.0.91", - ), - "rand": crate.spec( - version = "0.8.5", - ), - "tokio": crate.spec( - version = "1.24.2", - ), - "tokio-stream": crate.spec( - version = "0.1.11", - ), - "async-stream": crate.spec( - version = "0.3.3", - ), - "futures": crate.spec( - version = "0.3.25", - ), - }, - repository_name = "rules_proto_grpc_rust", - supported_platform_triples = [ - "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", # disabled as @platforms doesn't have //cpu:riscv32 in the version embedded in Bazel 5.x - ], - tags = ["manual"], - vendor_path = "crates", -) diff --git a/rust/crate_deps.bzl b/rust/crate_deps.bzl new file mode 100644 index 00000000..f1d051bc --- /dev/null +++ b/rust/crate_deps.bzl @@ -0,0 +1,4 @@ +"""3rd party crate dependencies for rules_rust.""" +load("//rust/3rdparty/crates:crates.bzl", _crate_repositories = "crate_repositories") + +crate_repositories = _crate_repositories \ No newline at end of file diff --git a/rust/crates/BUILD.anyhow-1.0.68.bazel b/rust/crates/BUILD.anyhow-1.0.68.bazel deleted file mode 100644 index e78180bf..00000000 --- a/rust/crates/BUILD.anyhow-1.0.68.bazel +++ /dev/null @@ -1,184 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "anyhow", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + 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({ - "//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.68", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__anyhow-1.0.68//:build_script_build", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "anyhow_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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 = "1.0.68", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "anyhow_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.async-stream-0.3.3.bazel b/rust/crates/BUILD.async-stream-0.3.3.bazel deleted file mode 100644 index fb14a6c8..00000000 --- a/rust/crates/BUILD.async-stream-0.3.3.bazel +++ /dev/null @@ -1,88 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "async_stream", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__async-stream-impl-0.3.3//:async_stream_impl", - ], - }), - 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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__futures-core-0.3.25//:futures_core", - ], - }), -) diff --git a/rust/crates/BUILD.async-stream-impl-0.3.3.bazel b/rust/crates/BUILD.async-stream-impl-0.3.3.bazel deleted file mode 100644 index e0703000..00000000 --- a/rust/crates/BUILD.async-stream-impl-0.3.3.bazel +++ /dev/null @@ -1,89 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_proc_macro", -) - -package(default_visibility = ["//visibility:public"]) - -# licenses([ -# "TODO", # MIT -# ]) - -rust_proc_macro( - name = "async_stream_impl", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2", - "@rules_proto_grpc_rust__quote-1.0.23//:quote", - "@rules_proto_grpc_rust__syn-1.0.107//:syn", - ], - }), -) diff --git a/rust/crates/BUILD.async-trait-0.1.63.bazel b/rust/crates/BUILD.async-trait-0.1.63.bazel deleted file mode 100644 index fe3f486b..00000000 --- a/rust/crates/BUILD.async-trait-0.1.63.bazel +++ /dev/null @@ -1,183 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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_proc_macro", -) - -package(default_visibility = ["//visibility:public"]) - -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - -rust_proc_macro( - name = "async_trait", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.63", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__async-trait-0.1.63//:build_script_build", - "@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2", - "@rules_proto_grpc_rust__quote-1.0.23//:quote", - "@rules_proto_grpc_rust__syn-1.0.107//:syn", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "async-trait_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.63", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "async-trait_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.autocfg-1.1.0.bazel b/rust/crates/BUILD.autocfg-1.1.0.bazel deleted file mode 100644 index 94cb063d..00000000 --- a/rust/crates/BUILD.autocfg-1.1.0.bazel +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2015", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.axum-0.6.4.bazel b/rust/crates/BUILD.axum-0.6.4.bazel deleted file mode 100644 index 63d631cc..00000000 --- a/rust/crates/BUILD.axum-0.6.4.bazel +++ /dev/null @@ -1,201 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "axum", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__async-trait-0.1.63//:async_trait", - ], - }), - 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.4", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__axum-0.6.4//:build_script_build", - "@rules_proto_grpc_rust__axum-core-0.3.2//:axum_core", - "@rules_proto_grpc_rust__bitflags-1.3.2//:bitflags", - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", - "@rules_proto_grpc_rust__futures-util-0.3.25//:futures_util", - "@rules_proto_grpc_rust__http-0.2.8//:http", - "@rules_proto_grpc_rust__http-body-0.4.5//:http_body", - "@rules_proto_grpc_rust__hyper-0.14.23//:hyper", - "@rules_proto_grpc_rust__itoa-1.0.5//:itoa", - "@rules_proto_grpc_rust__matchit-0.7.0//:matchit", - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", - "@rules_proto_grpc_rust__mime-0.3.16//:mime", - "@rules_proto_grpc_rust__percent-encoding-2.2.0//:percent_encoding", - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", - "@rules_proto_grpc_rust__serde-1.0.152//:serde", - "@rules_proto_grpc_rust__sync_wrapper-0.1.1//:sync_wrapper", - "@rules_proto_grpc_rust__tower-0.4.13//:tower", - "@rules_proto_grpc_rust__tower-http-0.3.5//:tower_http", - "@rules_proto_grpc_rust__tower-layer-0.3.2//:tower_layer", - "@rules_proto_grpc_rust__tower-service-0.3.2//:tower_service", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "axum_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__rustversion-1.0.11//:rustversion", - ], - }), - 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.4", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "axum_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.axum-core-0.3.2.bazel b/rust/crates/BUILD.axum-core-0.3.2.bazel deleted file mode 100644 index 30aca24c..00000000 --- a/rust/crates/BUILD.axum-core-0.3.2.bazel +++ /dev/null @@ -1,189 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "axum_core", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__async-trait-0.1.63//:async_trait", - ], - }), - 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.2", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__axum-core-0.3.2//:build_script_build", - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", - "@rules_proto_grpc_rust__futures-util-0.3.25//:futures_util", - "@rules_proto_grpc_rust__http-0.2.8//:http", - "@rules_proto_grpc_rust__http-body-0.4.5//:http_body", - "@rules_proto_grpc_rust__mime-0.3.16//:mime", - "@rules_proto_grpc_rust__tower-layer-0.3.2//:tower_layer", - "@rules_proto_grpc_rust__tower-service-0.3.2//:tower_service", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "axum-core_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__rustversion-1.0.11//:rustversion", - ], - }), - 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.2", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "axum-core_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.base64-0.13.1.bazel b/rust/crates/BUILD.base64-0.13.1.bazel deleted file mode 100644 index 9339f5cf..00000000 --- a/rust/crates/BUILD.base64-0.13.1.bazel +++ /dev/null @@ -1,88 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + 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({ - "//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.1", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.bitflags-1.3.2.bazel b/rust/crates/BUILD.bitflags-1.3.2.bazel deleted file mode 100644 index c870ed30..00000000 --- a/rust/crates/BUILD.bitflags-1.3.2.bazel +++ /dev/null @@ -1,87 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + 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({ - "//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({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.bytes-1.3.0.bazel b/rust/crates/BUILD.bytes-1.3.0.bazel deleted file mode 100644 index 81b5d32a..00000000 --- a/rust/crates/BUILD.bytes-1.3.0.bazel +++ /dev/null @@ -1,88 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + 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({ - "//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.0", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.cfg-if-1.0.0.bazel b/rust/crates/BUILD.cfg-if-1.0.0.bazel deleted file mode 100644 index 53c53ef2..00000000 --- a/rust/crates/BUILD.cfg-if-1.0.0.bazel +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.either-1.8.0.bazel b/rust/crates/BUILD.either-1.8.0.bazel deleted file mode 100644 index 41858ac3..00000000 --- a/rust/crates/BUILD.either-1.8.0.bazel +++ /dev/null @@ -1,88 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "either", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "default", - "use_std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.8.0", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.fastrand-1.8.0.bazel b/rust/crates/BUILD.fastrand-1.8.0.bazel deleted file mode 100644 index 30198ca1..00000000 --- a/rust/crates/BUILD.fastrand-1.8.0.bazel +++ /dev/null @@ -1,92 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "fastrand", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.8.0", - deps = [ - ] + select({ - "@rules_rust//rust/platform:wasm32-unknown-unknown": [ - "@rules_proto_grpc_rust__instant-0.1.12//:instant", # cfg(target_arch = "wasm32") - ], - "@rules_rust//rust/platform:wasm32-wasi": [ - "@rules_proto_grpc_rust__instant-0.1.12//:instant", # cfg(target_arch = "wasm32") - ], - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.fixedbitset-0.4.2.bazel b/rust/crates/BUILD.fixedbitset-0.4.2.bazel deleted file mode 100644 index 759a3a4c..00000000 --- a/rust/crates/BUILD.fixedbitset-0.4.2.bazel +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "fixedbitset", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2015", - proc_macro_deps = [ - ] + select({ - "//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.2", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.fnv-1.0.7.bazel b/rust/crates/BUILD.fnv-1.0.7.bazel deleted file mode 100644 index b75afce2..00000000 --- a/rust/crates/BUILD.fnv-1.0.7.bazel +++ /dev/null @@ -1,88 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + 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({ - "//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({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.futures-0.3.25.bazel b/rust/crates/BUILD.futures-0.3.25.bazel deleted file mode 100644 index 817c36a5..00000000 --- a/rust/crates/BUILD.futures-0.3.25.bazel +++ /dev/null @@ -1,99 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "futures", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "alloc", - "async-await", - "default", - "executor", - "futures-executor", - "std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__futures-channel-0.3.25//:futures_channel", - "@rules_proto_grpc_rust__futures-core-0.3.25//:futures_core", - "@rules_proto_grpc_rust__futures-executor-0.3.25//:futures_executor", - "@rules_proto_grpc_rust__futures-io-0.3.25//:futures_io", - "@rules_proto_grpc_rust__futures-sink-0.3.25//:futures_sink", - "@rules_proto_grpc_rust__futures-task-0.3.25//:futures_task", - "@rules_proto_grpc_rust__futures-util-0.3.25//:futures_util", - ], - }), -) diff --git a/rust/crates/BUILD.futures-channel-0.3.25.bazel b/rust/crates/BUILD.futures-channel-0.3.25.bazel deleted file mode 100644 index ab53d460..00000000 --- a/rust/crates/BUILD.futures-channel-0.3.25.bazel +++ /dev/null @@ -1,192 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "futures_channel", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "alloc", - "default", - "futures-sink", - "sink", - "std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__futures-channel-0.3.25//:build_script_build", - "@rules_proto_grpc_rust__futures-core-0.3.25//:futures_core", - "@rules_proto_grpc_rust__futures-sink-0.3.25//:futures_sink", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "futures-channel_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "alloc", - "default", - "futures-sink", - "sink", - "std", - ], - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.25", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "futures-channel_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.futures-core-0.3.25.bazel b/rust/crates/BUILD.futures-core-0.3.25.bazel deleted file mode 100644 index c91edbc9..00000000 --- a/rust/crates/BUILD.futures-core-0.3.25.bazel +++ /dev/null @@ -1,186 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "futures_core", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "alloc", - "default", - "std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__futures-core-0.3.25//:build_script_build", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "futures-core_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "alloc", - "default", - "std", - ], - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.25", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "futures-core_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.futures-executor-0.3.25.bazel b/rust/crates/BUILD.futures-executor-0.3.25.bazel deleted file mode 100644 index c71c5e79..00000000 --- a/rust/crates/BUILD.futures-executor-0.3.25.bazel +++ /dev/null @@ -1,90 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "futures_executor", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__futures-core-0.3.25//:futures_core", - "@rules_proto_grpc_rust__futures-task-0.3.25//:futures_task", - "@rules_proto_grpc_rust__futures-util-0.3.25//:futures_util", - ], - }), -) diff --git a/rust/crates/BUILD.futures-io-0.3.25.bazel b/rust/crates/BUILD.futures-io-0.3.25.bazel deleted file mode 100644 index d62ace95..00000000 --- a/rust/crates/BUILD.futures-io-0.3.25.bazel +++ /dev/null @@ -1,87 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "futures_io", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.futures-macro-0.3.25.bazel b/rust/crates/BUILD.futures-macro-0.3.25.bazel deleted file mode 100644 index f647f64e..00000000 --- a/rust/crates/BUILD.futures-macro-0.3.25.bazel +++ /dev/null @@ -1,89 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_proc_macro", -) - -package(default_visibility = ["//visibility:public"]) - -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - -rust_proc_macro( - name = "futures_macro", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2", - "@rules_proto_grpc_rust__quote-1.0.23//:quote", - "@rules_proto_grpc_rust__syn-1.0.107//:syn", - ], - }), -) diff --git a/rust/crates/BUILD.futures-sink-0.3.25.bazel b/rust/crates/BUILD.futures-sink-0.3.25.bazel deleted file mode 100644 index dd9cc0b2..00000000 --- a/rust/crates/BUILD.futures-sink-0.3.25.bazel +++ /dev/null @@ -1,89 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "futures_sink", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "alloc", - "default", - "std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.futures-task-0.3.25.bazel b/rust/crates/BUILD.futures-task-0.3.25.bazel deleted file mode 100644 index 699fcfa7..00000000 --- a/rust/crates/BUILD.futures-task-0.3.25.bazel +++ /dev/null @@ -1,184 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "futures_task", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "alloc", - "std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__futures-task-0.3.25//:build_script_build", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "futures-task_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "alloc", - "std", - ], - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.25", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "futures-task_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.futures-util-0.3.25.bazel b/rust/crates/BUILD.futures-util-0.3.25.bazel deleted file mode 100644 index 1ff0e624..00000000 --- a/rust/crates/BUILD.futures-util-0.3.25.bazel +++ /dev/null @@ -1,216 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "futures_util", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "alloc", - "async-await", - "async-await-macro", - "channel", - "futures-channel", - "futures-io", - "futures-macro", - "futures-sink", - "io", - "memchr", - "sink", - "slab", - "std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__futures-macro-0.3.25//:futures_macro", - ], - }), - 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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__futures-channel-0.3.25//:futures_channel", - "@rules_proto_grpc_rust__futures-core-0.3.25//:futures_core", - "@rules_proto_grpc_rust__futures-io-0.3.25//:futures_io", - "@rules_proto_grpc_rust__futures-sink-0.3.25//:futures_sink", - "@rules_proto_grpc_rust__futures-task-0.3.25//:futures_task", - "@rules_proto_grpc_rust__futures-util-0.3.25//:build_script_build", - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", - "@rules_proto_grpc_rust__pin-utils-0.1.0//:pin_utils", - "@rules_proto_grpc_rust__slab-0.4.7//:slab", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "futures-util_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "alloc", - "async-await", - "async-await-macro", - "channel", - "futures-channel", - "futures-io", - "futures-macro", - "futures-sink", - "io", - "memchr", - "sink", - "slab", - "std", - ], - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.25", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "futures-util_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.getrandom-0.2.8.bazel b/rust/crates/BUILD.getrandom-0.2.8.bazel deleted file mode 100644 index 2e8cc1b5..00000000 --- a/rust/crates/BUILD.getrandom-0.2.8.bazel +++ /dev/null @@ -1,168 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "getrandom", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "@rules_rust//rust/platform:aarch64-apple-darwin": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-apple-ios": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-linux-android": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:armv7-linux-androideabi": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:i686-apple-darwin": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:i686-linux-android": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:i686-unknown-freebsd": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:wasm32-wasi": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__wasi-0.11.0-wasi-snapshot-preview1//:wasi", # cfg(target_os = "wasi") - ], - "@rules_rust//rust/platform:x86_64-apple-darwin": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-apple-ios": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-linux-android": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - ], - "//conditions:default": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", - ], - }), -) diff --git a/rust/crates/BUILD.h2-0.3.15.bazel b/rust/crates/BUILD.h2-0.3.15.bazel deleted file mode 100644 index 2f6527b7..00000000 --- a/rust/crates/BUILD.h2-0.3.15.bazel +++ /dev/null @@ -1,97 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "h2", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.15", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", - "@rules_proto_grpc_rust__fnv-1.0.7//:fnv", - "@rules_proto_grpc_rust__futures-core-0.3.25//:futures_core", - "@rules_proto_grpc_rust__futures-sink-0.3.25//:futures_sink", - "@rules_proto_grpc_rust__futures-util-0.3.25//:futures_util", - "@rules_proto_grpc_rust__http-0.2.8//:http", - "@rules_proto_grpc_rust__indexmap-1.9.2//:indexmap", - "@rules_proto_grpc_rust__slab-0.4.7//:slab", - "@rules_proto_grpc_rust__tokio-1.24.2//:tokio", - "@rules_proto_grpc_rust__tokio-util-0.7.4//:tokio_util", - "@rules_proto_grpc_rust__tracing-0.1.37//:tracing", - ], - }), -) diff --git a/rust/crates/BUILD.hashbrown-0.12.3.bazel b/rust/crates/BUILD.hashbrown-0.12.3.bazel deleted file mode 100644 index 6f1a9d3c..00000000 --- a/rust/crates/BUILD.hashbrown-0.12.3.bazel +++ /dev/null @@ -1,87 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "hashbrown", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "raw", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//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.12.3", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.heck-0.4.0.bazel b/rust/crates/BUILD.heck-0.4.0.bazel deleted file mode 100644 index ad807f31..00000000 --- a/rust/crates/BUILD.heck-0.4.0.bazel +++ /dev/null @@ -1,87 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "heck", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + 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({ - "//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({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.http-0.2.8.bazel b/rust/crates/BUILD.http-0.2.8.bazel deleted file mode 100644 index 2f7191e1..00000000 --- a/rust/crates/BUILD.http-0.2.8.bazel +++ /dev/null @@ -1,89 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "http", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", - "@rules_proto_grpc_rust__fnv-1.0.7//:fnv", - "@rules_proto_grpc_rust__itoa-1.0.5//:itoa", - ], - }), -) diff --git a/rust/crates/BUILD.http-body-0.4.5.bazel b/rust/crates/BUILD.http-body-0.4.5.bazel deleted file mode 100644 index 538a9072..00000000 --- a/rust/crates/BUILD.http-body-0.4.5.bazel +++ /dev/null @@ -1,89 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "http_body", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.5", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", - "@rules_proto_grpc_rust__http-0.2.8//:http", - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", - ], - }), -) diff --git a/rust/crates/BUILD.http-range-header-0.3.0.bazel b/rust/crates/BUILD.http-range-header-0.3.0.bazel deleted file mode 100644 index 614da059..00000000 --- a/rust/crates/BUILD.http-range-header-0.3.0.bazel +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "http_range_header", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.httparse-1.8.0.bazel b/rust/crates/BUILD.httparse-1.8.0.bazel deleted file mode 100644 index b0beda9e..00000000 --- a/rust/crates/BUILD.httparse-1.8.0.bazel +++ /dev/null @@ -1,184 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "httparse", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + 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({ - "//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.8.0", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__httparse-1.8.0//:build_script_build", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "httparse_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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 = "1.8.0", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "httparse_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.httpdate-1.0.2.bazel b/rust/crates/BUILD.httpdate-1.0.2.bazel deleted file mode 100644 index 8f069f22..00000000 --- a/rust/crates/BUILD.httpdate-1.0.2.bazel +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "httpdate", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.hyper-0.14.23.bazel b/rust/crates/BUILD.hyper-0.14.23.bazel deleted file mode 100644 index 2048328a..00000000 --- a/rust/crates/BUILD.hyper-0.14.23.bazel +++ /dev/null @@ -1,113 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "hyper", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "client", - "default", - "full", - "h2", - "http1", - "http2", - "runtime", - "server", - "socket2", - "stream", - "tcp", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.23", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", - "@rules_proto_grpc_rust__futures-channel-0.3.25//:futures_channel", - "@rules_proto_grpc_rust__futures-core-0.3.25//:futures_core", - "@rules_proto_grpc_rust__futures-util-0.3.25//:futures_util", - "@rules_proto_grpc_rust__h2-0.3.15//:h2", - "@rules_proto_grpc_rust__http-0.2.8//:http", - "@rules_proto_grpc_rust__http-body-0.4.5//:http_body", - "@rules_proto_grpc_rust__httparse-1.8.0//:httparse", - "@rules_proto_grpc_rust__httpdate-1.0.2//:httpdate", - "@rules_proto_grpc_rust__itoa-1.0.5//:itoa", - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", - "@rules_proto_grpc_rust__tokio-1.24.2//:tokio", - "@rules_proto_grpc_rust__tower-service-0.3.2//:tower_service", - "@rules_proto_grpc_rust__tracing-0.1.37//:tracing", - "@rules_proto_grpc_rust__want-0.3.0//:want", - ], - }), -) diff --git a/rust/crates/BUILD.hyper-timeout-0.4.1.bazel b/rust/crates/BUILD.hyper-timeout-0.4.1.bazel deleted file mode 100644 index 769cdb5f..00000000 --- a/rust/crates/BUILD.hyper-timeout-0.4.1.bazel +++ /dev/null @@ -1,90 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "hyper_timeout", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.1", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__hyper-0.14.23//:hyper", - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", - "@rules_proto_grpc_rust__tokio-1.24.2//:tokio", - "@rules_proto_grpc_rust__tokio-io-timeout-1.2.0//:tokio_io_timeout", - ], - }), -) diff --git a/rust/crates/BUILD.indexmap-1.9.2.bazel b/rust/crates/BUILD.indexmap-1.9.2.bazel deleted file mode 100644 index 36744db0..00000000 --- a/rust/crates/BUILD.indexmap-1.9.2.bazel +++ /dev/null @@ -1,184 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "indexmap", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//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.9.2", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__hashbrown-0.12.3//:hashbrown", - "@rules_proto_grpc_rust__indexmap-1.9.2//:build_script_build", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "indexmap_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//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 = "1.9.2", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__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 = "indexmap_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.instant-0.1.12.bazel b/rust/crates/BUILD.instant-0.1.12.bazel deleted file mode 100644 index 46520fad..00000000 --- a/rust/crates/BUILD.instant-0.1.12.bazel +++ /dev/null @@ -1,87 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "instant", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", - ], - }), -) diff --git a/rust/crates/BUILD.itertools-0.10.5.bazel b/rust/crates/BUILD.itertools-0.10.5.bazel deleted file mode 100644 index c025990a..00000000 --- a/rust/crates/BUILD.itertools-0.10.5.bazel +++ /dev/null @@ -1,90 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "itertools", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "default", - "use_alloc", - "use_std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.10.5", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__either-1.8.0//:either", - ], - }), -) diff --git a/rust/crates/BUILD.itoa-1.0.5.bazel b/rust/crates/BUILD.itoa-1.0.5.bazel deleted file mode 100644 index 22c34cc5..00000000 --- a/rust/crates/BUILD.itoa-1.0.5.bazel +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "itoa", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.5", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.lazy_static-1.4.0.bazel b/rust/crates/BUILD.lazy_static-1.4.0.bazel deleted file mode 100644 index 39e71c54..00000000 --- a/rust/crates/BUILD.lazy_static-1.4.0.bazel +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2015", - proc_macro_deps = [ - ] + select({ - "//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.0", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.libc-0.2.139.bazel b/rust/crates/BUILD.libc-0.2.139.bazel deleted file mode 100644 index 394bc952..00000000 --- a/rust/crates/BUILD.libc-0.2.139.bazel +++ /dev/null @@ -1,184 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + 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({ - "//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.139", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__libc-0.2.139//: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 = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2015", - proc_macro_deps = [ - ] + select({ - "//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.139", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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/rust/crates/BUILD.log-0.4.17.bazel b/rust/crates/BUILD.log-0.4.17.bazel deleted file mode 100644 index 876a1b29..00000000 --- a/rust/crates/BUILD.log-0.4.17.bazel +++ /dev/null @@ -1,181 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2015", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", - "@rules_proto_grpc_rust__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 = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2015", - proc_macro_deps = [ - ] + select({ - "//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({ - "//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/rust/crates/BUILD.matchit-0.7.0.bazel b/rust/crates/BUILD.matchit-0.7.0.bazel deleted file mode 100644 index b794f083..00000000 --- a/rust/crates/BUILD.matchit-0.7.0.bazel +++ /dev/null @@ -1,87 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "matchit", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.memchr-2.5.0.bazel b/rust/crates/BUILD.memchr-2.5.0.bazel deleted file mode 100644 index d4d08c12..00000000 --- a/rust/crates/BUILD.memchr-2.5.0.bazel +++ /dev/null @@ -1,184 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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", # Unlicense/MIT -# ]) - -rust_library( - name = "memchr", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + 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({ - "//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.5.0", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__memchr-2.5.0//:build_script_build", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "memchr_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.5.0", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "memchr_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.mime-0.3.16.bazel b/rust/crates/BUILD.mime-0.3.16.bazel deleted file mode 100644 index 6bbba569..00000000 --- a/rust/crates/BUILD.mime-0.3.16.bazel +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "mime", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2015", - proc_macro_deps = [ - ] + select({ - "//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.16", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.mio-0.8.5.bazel b/rust/crates/BUILD.mio-0.8.5.bazel deleted file mode 100644 index a6b9bf7f..00000000 --- a/rust/crates/BUILD.mio-0.8.5.bazel +++ /dev/null @@ -1,180 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "default", - "net", - "os-ext", - "os-poll", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.5", - deps = [ - ] + select({ - "@rules_rust//rust/platform:aarch64-apple-darwin": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - ], - "@rules_rust//rust/platform:aarch64-apple-ios": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - ], - "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - ], - "@rules_rust//rust/platform:aarch64-linux-android": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - ], - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - ], - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - ], - "@rules_rust//rust/platform:armv7-linux-androideabi": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - ], - "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - ], - "@rules_rust//rust/platform:i686-apple-darwin": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - ], - "@rules_rust//rust/platform:i686-linux-android": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - ], - "@rules_rust//rust/platform:i686-pc-windows-msvc": [ - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - "@rules_proto_grpc_rust__windows-sys-0.42.0//:windows_sys", # cfg(windows) - ], - "@rules_rust//rust/platform:i686-unknown-freebsd": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - ], - "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - ], - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - ], - "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - ], - "@rules_rust//rust/platform:wasm32-wasi": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(target_os = "wasi") - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - "@rules_proto_grpc_rust__wasi-0.11.0-wasi-snapshot-preview1//:wasi", # cfg(target_os = "wasi") - ], - "@rules_rust//rust/platform:x86_64-apple-darwin": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - ], - "@rules_rust//rust/platform:x86_64-apple-ios": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - ], - "@rules_rust//rust/platform:x86_64-linux-android": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - ], - "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - "@rules_proto_grpc_rust__windows-sys-0.42.0//:windows_sys", # cfg(windows) - ], - "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - ], - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__log-0.4.17//:log", # common dependency - ], - "//conditions:default": [ - "@rules_proto_grpc_rust__log-0.4.17//:log", - ], - }), -) diff --git a/rust/crates/BUILD.multimap-0.8.3.bazel b/rust/crates/BUILD.multimap-0.8.3.bazel deleted file mode 100644 index 7d6e458c..00000000 --- a/rust/crates/BUILD.multimap-0.8.3.bazel +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "multimap", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2015", - proc_macro_deps = [ - ] + select({ - "//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.3", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.once_cell-1.17.0.bazel b/rust/crates/BUILD.once_cell-1.17.0.bazel deleted file mode 100644 index bfd5e404..00000000 --- a/rust/crates/BUILD.once_cell-1.17.0.bazel +++ /dev/null @@ -1,90 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "once_cell", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "alloc", - "default", - "race", - "std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//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.17.0", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.percent-encoding-2.2.0.bazel b/rust/crates/BUILD.percent-encoding-2.2.0.bazel deleted file mode 100644 index 208d5a79..00000000 --- a/rust/crates/BUILD.percent-encoding-2.2.0.bazel +++ /dev/null @@ -1,88 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "percent_encoding", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "alloc", - "default", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.0", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.petgraph-0.6.2.bazel b/rust/crates/BUILD.petgraph-0.6.2.bazel deleted file mode 100644 index 136285b8..00000000 --- a/rust/crates/BUILD.petgraph-0.6.2.bazel +++ /dev/null @@ -1,88 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "petgraph", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__fixedbitset-0.4.2//:fixedbitset", - "@rules_proto_grpc_rust__indexmap-1.9.2//:indexmap", - ], - }), -) diff --git a/rust/crates/BUILD.pin-project-1.0.12.bazel b/rust/crates/BUILD.pin-project-1.0.12.bazel deleted file mode 100644 index b1f236ac..00000000 --- a/rust/crates/BUILD.pin-project-1.0.12.bazel +++ /dev/null @@ -1,87 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "pin_project", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__pin-project-internal-1.0.12//:pin_project_internal", - ], - }), - 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.12", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.pin-project-internal-1.0.12.bazel b/rust/crates/BUILD.pin-project-internal-1.0.12.bazel deleted file mode 100644 index b2785334..00000000 --- a/rust/crates/BUILD.pin-project-internal-1.0.12.bazel +++ /dev/null @@ -1,89 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_proc_macro", -) - -package(default_visibility = ["//visibility:public"]) - -# licenses([ -# "TODO", # Apache-2.0 OR MIT -# ]) - -rust_proc_macro( - name = "pin_project_internal", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.12", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2", - "@rules_proto_grpc_rust__quote-1.0.23//:quote", - "@rules_proto_grpc_rust__syn-1.0.107//:syn", - ], - }), -) diff --git a/rust/crates/BUILD.pin-project-lite-0.2.9.bazel b/rust/crates/BUILD.pin-project-lite-0.2.9.bazel deleted file mode 100644 index cab80e7d..00000000 --- a/rust/crates/BUILD.pin-project-lite-0.2.9.bazel +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "pin_project_lite", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.9", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.pin-utils-0.1.0.bazel b/rust/crates/BUILD.pin-utils-0.1.0.bazel deleted file mode 100644 index b6f0fdd6..00000000 --- a/rust/crates/BUILD.pin-utils-0.1.0.bazel +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "pin_utils", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.ppv-lite86-0.2.17.bazel b/rust/crates/BUILD.ppv-lite86-0.2.17.bazel deleted file mode 100644 index 2085df6a..00000000 --- a/rust/crates/BUILD.ppv-lite86-0.2.17.bazel +++ /dev/null @@ -1,88 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "ppv_lite86", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "simd", - "std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.17", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.prettyplease-0.1.23.bazel b/rust/crates/BUILD.prettyplease-0.1.23.bazel deleted file mode 100644 index 5755e041..00000000 --- a/rust/crates/BUILD.prettyplease-0.1.23.bazel +++ /dev/null @@ -1,183 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "prettyplease", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//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.23", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__prettyplease-0.1.23//:build_script_build", - "@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2", - "@rules_proto_grpc_rust__syn-1.0.107//:syn", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "prettyplease_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - links = "prettyplease01", - proc_macro_deps = [ - ] + select({ - "//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.23", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "prettyplease_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.proc-macro2-1.0.50.bazel b/rust/crates/BUILD.proc-macro2-1.0.50.bazel deleted file mode 100644 index 05c8fc4b..00000000 --- a/rust/crates/BUILD.proc-macro2-1.0.50.bazel +++ /dev/null @@ -1,185 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "proc_macro2", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "default", - "proc-macro", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.50", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__proc-macro2-1.0.50//:build_script_build", - "@rules_proto_grpc_rust__unicode-ident-1.0.6//:unicode_ident", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "proc-macro2_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "default", - "proc-macro", - ], - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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 = "1.0.50", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "proc-macro2_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.prost-0.11.6.bazel b/rust/crates/BUILD.prost-0.11.6.bazel deleted file mode 100644 index 07c05599..00000000 --- a/rust/crates/BUILD.prost-0.11.6.bazel +++ /dev/null @@ -1,91 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 -# ]) - -rust_library( - name = "prost", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "default", - "prost-derive", - "std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__prost-derive-0.11.6//:prost_derive", - ], - }), - 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.11.6", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", - ], - }), -) diff --git a/rust/crates/BUILD.prost-build-0.11.1.bazel b/rust/crates/BUILD.prost-build-0.11.1.bazel deleted file mode 100644 index a96c31c2..00000000 --- a/rust/crates/BUILD.prost-build-0.11.1.bazel +++ /dev/null @@ -1,99 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 -# ]) - -rust_library( - name = "prost_build", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//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.11.1", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", - "@rules_proto_grpc_rust__heck-0.4.0//:heck", - "@rules_proto_grpc_rust__itertools-0.10.5//:itertools", - "@rules_proto_grpc_rust__lazy_static-1.4.0//:lazy_static", - "@rules_proto_grpc_rust__log-0.4.17//:log", - "@rules_proto_grpc_rust__multimap-0.8.3//:multimap", - "@rules_proto_grpc_rust__petgraph-0.6.2//:petgraph", - "@rules_proto_grpc_rust__prost-0.11.6//:prost", - "@rules_proto_grpc_rust__prost-types-0.11.6//:prost_types", - "@rules_proto_grpc_rust__regex-1.7.1//:regex", - "@rules_proto_grpc_rust__tempfile-3.3.0//:tempfile", - "@rules_proto_grpc_rust__which-4.4.0//:which", - ], - }), -) diff --git a/rust/crates/BUILD.prost-derive-0.11.6.bazel b/rust/crates/BUILD.prost-derive-0.11.6.bazel deleted file mode 100644 index e8ce09ea..00000000 --- a/rust/crates/BUILD.prost-derive-0.11.6.bazel +++ /dev/null @@ -1,91 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_proc_macro", -) - -package(default_visibility = ["//visibility:public"]) - -# licenses([ -# "TODO", # Apache-2.0 -# ]) - -rust_proc_macro( - name = "prost_derive", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//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.11.6", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__anyhow-1.0.68//:anyhow", - "@rules_proto_grpc_rust__itertools-0.10.5//:itertools", - "@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2", - "@rules_proto_grpc_rust__quote-1.0.23//:quote", - "@rules_proto_grpc_rust__syn-1.0.107//:syn", - ], - }), -) diff --git a/rust/crates/BUILD.prost-types-0.11.6.bazel b/rust/crates/BUILD.prost-types-0.11.6.bazel deleted file mode 100644 index e6c6b565..00000000 --- a/rust/crates/BUILD.prost-types-0.11.6.bazel +++ /dev/null @@ -1,90 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 -# ]) - -rust_library( - name = "prost_types", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//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.11.6", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", - "@rules_proto_grpc_rust__prost-0.11.6//:prost", - ], - }), -) diff --git a/rust/crates/BUILD.protoc-gen-prost-0.2.1.bazel b/rust/crates/BUILD.protoc-gen-prost-0.2.1.bazel deleted file mode 100644 index 4d133a86..00000000 --- a/rust/crates/BUILD.protoc-gen-prost-0.2.1.bazel +++ /dev/null @@ -1,164 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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", # Apache-2.0 -# ]) - -rust_library( - name = "protoc_gen_prost", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__once_cell-1.17.0//:once_cell", - "@rules_proto_grpc_rust__prost-0.11.6//:prost", - "@rules_proto_grpc_rust__prost-build-0.11.1//:prost_build", - "@rules_proto_grpc_rust__prost-types-0.11.6//:prost_types", - "@rules_proto_grpc_rust__regex-1.7.1//:regex", - ], - }), -) - -rust_binary( - name = "protoc-gen-prost__bin", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/main.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//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 = [ - ":protoc_gen_prost", - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__once_cell-1.17.0//:once_cell", - "@rules_proto_grpc_rust__prost-0.11.6//:prost", - "@rules_proto_grpc_rust__prost-build-0.11.1//:prost_build", - "@rules_proto_grpc_rust__prost-types-0.11.6//:prost_types", - "@rules_proto_grpc_rust__regex-1.7.1//:regex", - ], - }), -) diff --git a/rust/crates/BUILD.protoc-gen-prost-crate-0.3.1.bazel b/rust/crates/BUILD.protoc-gen-prost-crate-0.3.1.bazel deleted file mode 100644 index a7e85301..00000000 --- a/rust/crates/BUILD.protoc-gen-prost-crate-0.3.1.bazel +++ /dev/null @@ -1,166 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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", # Apache-2.0 -# ]) - -rust_library( - name = "protoc_gen_prost_crate", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//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.1", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__once_cell-1.17.0//:once_cell", - "@rules_proto_grpc_rust__prost-0.11.6//:prost", - "@rules_proto_grpc_rust__prost-build-0.11.1//:prost_build", - "@rules_proto_grpc_rust__prost-types-0.11.6//:prost_types", - "@rules_proto_grpc_rust__protoc-gen-prost-0.2.1//:protoc_gen_prost", - "@rules_proto_grpc_rust__regex-1.7.1//:regex", - ], - }), -) - -rust_binary( - name = "protoc-gen-prost-crate__bin", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/main.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//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.1", - deps = [ - ":protoc_gen_prost_crate", - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__once_cell-1.17.0//:once_cell", - "@rules_proto_grpc_rust__prost-0.11.6//:prost", - "@rules_proto_grpc_rust__prost-build-0.11.1//:prost_build", - "@rules_proto_grpc_rust__prost-types-0.11.6//:prost_types", - "@rules_proto_grpc_rust__protoc-gen-prost-0.2.1//:protoc_gen_prost", - "@rules_proto_grpc_rust__regex-1.7.1//:regex", - ], - }), -) diff --git a/rust/crates/BUILD.protoc-gen-tonic-0.2.1.bazel b/rust/crates/BUILD.protoc-gen-tonic-0.2.1.bazel deleted file mode 100644 index bfabecca..00000000 --- a/rust/crates/BUILD.protoc-gen-tonic-0.2.1.bazel +++ /dev/null @@ -1,172 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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", # Apache-2.0 -# ]) - -rust_library( - name = "protoc_gen_tonic", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__heck-0.4.0//:heck", - "@rules_proto_grpc_rust__prettyplease-0.1.23//:prettyplease", - "@rules_proto_grpc_rust__prost-0.11.6//:prost", - "@rules_proto_grpc_rust__prost-build-0.11.1//:prost_build", - "@rules_proto_grpc_rust__prost-types-0.11.6//:prost_types", - "@rules_proto_grpc_rust__protoc-gen-prost-0.2.1//:protoc_gen_prost", - "@rules_proto_grpc_rust__regex-1.7.1//:regex", - "@rules_proto_grpc_rust__syn-1.0.107//:syn", - "@rules_proto_grpc_rust__tonic-build-0.8.2//:tonic_build", - ], - }), -) - -rust_binary( - name = "protoc-gen-tonic__bin", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/main.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2021", - proc_macro_deps = [ - ] + select({ - "//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 = [ - ":protoc_gen_tonic", - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__heck-0.4.0//:heck", - "@rules_proto_grpc_rust__prettyplease-0.1.23//:prettyplease", - "@rules_proto_grpc_rust__prost-0.11.6//:prost", - "@rules_proto_grpc_rust__prost-build-0.11.1//:prost_build", - "@rules_proto_grpc_rust__prost-types-0.11.6//:prost_types", - "@rules_proto_grpc_rust__protoc-gen-prost-0.2.1//:protoc_gen_prost", - "@rules_proto_grpc_rust__regex-1.7.1//:regex", - "@rules_proto_grpc_rust__syn-1.0.107//:syn", - "@rules_proto_grpc_rust__tonic-build-0.8.2//:tonic_build", - ], - }), -) diff --git a/rust/crates/BUILD.quote-1.0.23.bazel b/rust/crates/BUILD.quote-1.0.23.bazel deleted file mode 100644 index 930b3b56..00000000 --- a/rust/crates/BUILD.quote-1.0.23.bazel +++ /dev/null @@ -1,185 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "quote", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "default", - "proc-macro", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.23", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2", - "@rules_proto_grpc_rust__quote-1.0.23//:build_script_build", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "quote_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "default", - "proc-macro", - ], - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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 = "1.0.23", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "quote_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.rand-0.8.5.bazel b/rust/crates/BUILD.rand-0.8.5.bazel deleted file mode 100644 index 8eac45cc..00000000 --- a/rust/crates/BUILD.rand-0.8.5.bazel +++ /dev/null @@ -1,191 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "rand", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "alloc", - "default", - "getrandom", - "libc", - "rand_chacha", - "small_rng", - "std", - "std_rng", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.5", - deps = [ - ] + select({ - "@rules_rust//rust/platform:aarch64-apple-darwin": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency - ], - "@rules_rust//rust/platform:aarch64-apple-ios": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency - ], - "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency - ], - "@rules_rust//rust/platform:aarch64-linux-android": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency - ], - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency - ], - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency - ], - "@rules_rust//rust/platform:armv7-linux-androideabi": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency - ], - "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency - ], - "@rules_rust//rust/platform:i686-apple-darwin": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency - ], - "@rules_rust//rust/platform:i686-linux-android": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency - ], - "@rules_rust//rust/platform:i686-unknown-freebsd": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency - ], - "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency - ], - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency - ], - "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency - ], - "@rules_rust//rust/platform:x86_64-apple-darwin": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency - ], - "@rules_rust//rust/platform:x86_64-apple-ios": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency - ], - "@rules_rust//rust/platform:x86_64-linux-android": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency - ], - "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency - ], - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", # common dependency - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", # common dependency - ], - "//conditions:default": [ - "@rules_proto_grpc_rust__rand_chacha-0.3.1//:rand_chacha", - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", - ], - }), -) diff --git a/rust/crates/BUILD.rand_chacha-0.3.1.bazel b/rust/crates/BUILD.rand_chacha-0.3.1.bazel deleted file mode 100644 index 03ca5293..00000000 --- a/rust/crates/BUILD.rand_chacha-0.3.1.bazel +++ /dev/null @@ -1,89 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "rand_chacha", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.1", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__ppv-lite86-0.2.17//:ppv_lite86", - "@rules_proto_grpc_rust__rand_core-0.6.4//:rand_core", - ], - }), -) diff --git a/rust/crates/BUILD.rand_core-0.6.4.bazel b/rust/crates/BUILD.rand_core-0.6.4.bazel deleted file mode 100644 index 5738f7be..00000000 --- a/rust/crates/BUILD.rand_core-0.6.4.bazel +++ /dev/null @@ -1,90 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "rand_core", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "alloc", - "getrandom", - "std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.4", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__getrandom-0.2.8//:getrandom", - ], - }), -) diff --git a/rust/crates/BUILD.redox_syscall-0.2.16.bazel b/rust/crates/BUILD.redox_syscall-0.2.16.bazel deleted file mode 100644 index 43d92070..00000000 --- a/rust/crates/BUILD.redox_syscall-0.2.16.bazel +++ /dev/null @@ -1,87 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.16", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__bitflags-1.3.2//:bitflags", - ], - }), -) diff --git a/rust/crates/BUILD.regex-1.7.1.bazel b/rust/crates/BUILD.regex-1.7.1.bazel deleted file mode 100644 index 96f538d4..00000000 --- a/rust/crates/BUILD.regex-1.7.1.bazel +++ /dev/null @@ -1,89 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "regex", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "std", - "unicode-bool", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.7.1", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__regex-syntax-0.6.28//:regex_syntax", - ], - }), -) diff --git a/rust/crates/BUILD.regex-syntax-0.6.28.bazel b/rust/crates/BUILD.regex-syntax-0.6.28.bazel deleted file mode 100644 index 7216819d..00000000 --- a/rust/crates/BUILD.regex-syntax-0.6.28.bazel +++ /dev/null @@ -1,87 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "regex_syntax", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "unicode-bool", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.28", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.remove_dir_all-0.5.3.bazel b/rust/crates/BUILD.remove_dir_all-0.5.3.bazel deleted file mode 100644 index 86300162..00000000 --- a/rust/crates/BUILD.remove_dir_all-0.5.3.bazel +++ /dev/null @@ -1,92 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "remove_dir_all", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2015", - proc_macro_deps = [ - ] + select({ - "//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.3", - deps = [ - ] + select({ - "@rules_rust//rust/platform:i686-pc-windows-msvc": [ - "@rules_proto_grpc_rust__winapi-0.3.9//:winapi", # cfg(windows) - ], - "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ - "@rules_proto_grpc_rust__winapi-0.3.9//:winapi", # cfg(windows) - ], - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.rustversion-1.0.11.bazel b/rust/crates/BUILD.rustversion-1.0.11.bazel deleted file mode 100644 index f344dfe1..00000000 --- a/rust/crates/BUILD.rustversion-1.0.11.bazel +++ /dev/null @@ -1,180 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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_proc_macro", -) - -package(default_visibility = ["//visibility:public"]) - -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - -rust_proc_macro( - name = "rustversion", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.11", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__rustversion-1.0.11//:build_script_build", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "rustversion_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_name = "build_script_build", - crate_root = "build/build.rs", - data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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 = "1.0.11", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "rustversion_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.ryu-1.0.12.bazel b/rust/crates/BUILD.ryu-1.0.12.bazel deleted file mode 100644 index b2ba26c2..00000000 --- a/rust/crates/BUILD.ryu-1.0.12.bazel +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 BSL-1.0 -# ]) - -rust_library( - name = "ryu", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.12", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.serde-1.0.152.bazel b/rust/crates/BUILD.serde-1.0.152.bazel deleted file mode 100644 index c11dbf2d..00000000 --- a/rust/crates/BUILD.serde-1.0.152.bazel +++ /dev/null @@ -1,189 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "serde", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "default", - "derive", - "serde_derive", - "std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2015", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__serde_derive-1.0.152//:serde_derive", - ], - }), - 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.152", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__serde-1.0.152//:build_script_build", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "serde_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "default", - "derive", - "serde_derive", - "std", - ], - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2015", - proc_macro_deps = [ - ] + select({ - "//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 = "1.0.152", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "serde_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.serde_derive-1.0.152.bazel b/rust/crates/BUILD.serde_derive-1.0.152.bazel deleted file mode 100644 index fcf7e00c..00000000 --- a/rust/crates/BUILD.serde_derive-1.0.152.bazel +++ /dev/null @@ -1,185 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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_proc_macro", -) - -package(default_visibility = ["//visibility:public"]) - -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - -rust_proc_macro( - name = "serde_derive", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + 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({ - "//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.152", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2", - "@rules_proto_grpc_rust__quote-1.0.23//:quote", - "@rules_proto_grpc_rust__serde_derive-1.0.152//:build_script_build", - "@rules_proto_grpc_rust__syn-1.0.107//:syn", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "serde_derive_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2015", - proc_macro_deps = [ - ] + select({ - "//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 = "1.0.152", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "serde_derive_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.serde_json-1.0.91.bazel b/rust/crates/BUILD.serde_json-1.0.91.bazel deleted file mode 100644 index cd51069b..00000000 --- a/rust/crates/BUILD.serde_json-1.0.91.bazel +++ /dev/null @@ -1,187 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "serde_json", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + 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({ - "//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.91", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__itoa-1.0.5//:itoa", - "@rules_proto_grpc_rust__ryu-1.0.12//:ryu", - "@rules_proto_grpc_rust__serde-1.0.152//:serde", - "@rules_proto_grpc_rust__serde_json-1.0.91//:build_script_build", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "serde_json_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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 = "1.0.91", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "serde_json_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.slab-0.4.7.bazel b/rust/crates/BUILD.slab-0.4.7.bazel deleted file mode 100644 index 22d16523..00000000 --- a/rust/crates/BUILD.slab-0.4.7.bazel +++ /dev/null @@ -1,185 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + 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({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__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 = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__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/rust/crates/BUILD.syn-1.0.107.bazel b/rust/crates/BUILD.syn-1.0.107.bazel deleted file mode 100644 index fd0a6401..00000000 --- a/rust/crates/BUILD.syn-1.0.107.bazel +++ /dev/null @@ -1,205 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "syn", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "clone-impls", - "default", - "derive", - "extra-traits", - "full", - "parsing", - "printing", - "proc-macro", - "quote", - "visit", - "visit-mut", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.107", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2", - "@rules_proto_grpc_rust__quote-1.0.23//:quote", - "@rules_proto_grpc_rust__syn-1.0.107//:build_script_build", - "@rules_proto_grpc_rust__unicode-ident-1.0.6//:unicode_ident", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "syn_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "clone-impls", - "default", - "derive", - "extra-traits", - "full", - "parsing", - "printing", - "proc-macro", - "quote", - "visit", - "visit-mut", - ], - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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 = "1.0.107", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "syn_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.sync_wrapper-0.1.1.bazel b/rust/crates/BUILD.sync_wrapper-0.1.1.bazel deleted file mode 100644 index c79f3aa5..00000000 --- a/rust/crates/BUILD.sync_wrapper-0.1.1.bazel +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 -# ]) - -rust_library( - name = "sync_wrapper", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.tempfile-3.3.0.bazel b/rust/crates/BUILD.tempfile-3.3.0.bazel deleted file mode 100644 index f07a293d..00000000 --- a/rust/crates/BUILD.tempfile-3.3.0.bazel +++ /dev/null @@ -1,221 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "tempfile", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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 = "3.3.0", - deps = [ - ] + select({ - "@rules_rust//rust/platform:aarch64-apple-darwin": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "@rules_rust//rust/platform:aarch64-apple-ios": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "@rules_rust//rust/platform:aarch64-linux-android": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "@rules_rust//rust/platform:armv7-linux-androideabi": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "@rules_rust//rust/platform:i686-apple-darwin": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "@rules_rust//rust/platform:i686-linux-android": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "@rules_rust//rust/platform:i686-pc-windows-msvc": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - "@rules_proto_grpc_rust__winapi-0.3.9//:winapi", # cfg(windows) - ], - "@rules_rust//rust/platform:i686-unknown-freebsd": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "@rules_rust//rust/platform:wasm32-wasi": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "@rules_rust//rust/platform:x86_64-apple-darwin": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "@rules_rust//rust/platform:x86_64-apple-ios": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "@rules_rust//rust/platform:x86_64-linux-android": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - "@rules_proto_grpc_rust__winapi-0.3.9//:winapi", # cfg(windows) - ], - "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", # common dependency - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", # common dependency - ], - "//conditions:default": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", - "@rules_proto_grpc_rust__fastrand-1.8.0//:fastrand", - "@rules_proto_grpc_rust__remove_dir_all-0.5.3//:remove_dir_all", - ], - }), -) diff --git a/rust/crates/BUILD.tokio-1.24.2.bazel b/rust/crates/BUILD.tokio-1.24.2.bazel deleted file mode 100644 index 448b3eb3..00000000 --- a/rust/crates/BUILD.tokio-1.24.2.bazel +++ /dev/null @@ -1,405 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "tokio", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "bytes", - "default", - "io-std", - "io-util", - "libc", - "macros", - "memchr", - "mio", - "net", - "rt", - "socket2", - "sync", - "time", - "tokio-macros", - "windows-sys", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__tokio-macros-1.8.2//:tokio_macros", - ], - }), - 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.24.2", - deps = [ - ] + select({ - "@rules_rust//rust/platform:aarch64-apple-darwin": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - ], - "@rules_rust//rust/platform:aarch64-apple-ios": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - ], - "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - ], - "@rules_rust//rust/platform:aarch64-linux-android": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - ], - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - ], - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - ], - "@rules_rust//rust/platform:armv7-linux-androideabi": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - ], - "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - ], - "@rules_rust//rust/platform:i686-apple-darwin": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - ], - "@rules_rust//rust/platform:i686-linux-android": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - ], - "@rules_rust//rust/platform:i686-pc-windows-msvc": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - "@rules_proto_grpc_rust__windows-sys-0.42.0//:windows_sys", # cfg(windows) - ], - "@rules_rust//rust/platform:i686-unknown-freebsd": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - ], - "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - ], - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - ], - "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - ], - "@rules_rust//rust/platform:x86_64-apple-darwin": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - ], - "@rules_rust//rust/platform:x86_64-apple-ios": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - ], - "@rules_rust//rust/platform:x86_64-linux-android": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - ], - "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - "@rules_proto_grpc_rust__windows-sys-0.42.0//:windows_sys", # cfg(windows) - ], - "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - ], - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # cfg(unix) - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", # common dependency - "@rules_proto_grpc_rust__mio-0.8.5//:mio", # common dependency - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", # common dependency - "@rules_proto_grpc_rust__socket2-0.4.7//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64"))) - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", # common dependency - ], - "//conditions:default": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", - "@rules_proto_grpc_rust__memchr-2.5.0//:memchr", - "@rules_proto_grpc_rust__mio-0.8.5//:mio", - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", - "@rules_proto_grpc_rust__tokio-1.24.2//:build_script_build", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "tokio_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "bytes", - "default", - "io-std", - "io-util", - "libc", - "macros", - "memchr", - "mio", - "net", - "rt", - "socket2", - "sync", - "time", - "tokio-macros", - "windows-sys", - ], - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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 = "1.24.2", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__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 = "tokio_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.tokio-io-timeout-1.2.0.bazel b/rust/crates/BUILD.tokio-io-timeout-1.2.0.bazel deleted file mode 100644 index 725c20a3..00000000 --- a/rust/crates/BUILD.tokio-io-timeout-1.2.0.bazel +++ /dev/null @@ -1,88 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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_io_timeout", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.2.0", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", - "@rules_proto_grpc_rust__tokio-1.24.2//:tokio", - ], - }), -) diff --git a/rust/crates/BUILD.tokio-macros-1.8.2.bazel b/rust/crates/BUILD.tokio-macros-1.8.2.bazel deleted file mode 100644 index 4fb8ea84..00000000 --- a/rust/crates/BUILD.tokio-macros-1.8.2.bazel +++ /dev/null @@ -1,89 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_proc_macro", -) - -package(default_visibility = ["//visibility:public"]) - -# licenses([ -# "TODO", # MIT -# ]) - -rust_proc_macro( - name = "tokio_macros", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.8.2", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2", - "@rules_proto_grpc_rust__quote-1.0.23//:quote", - "@rules_proto_grpc_rust__syn-1.0.107//:syn", - ], - }), -) diff --git a/rust/crates/BUILD.tokio-stream-0.1.11.bazel b/rust/crates/BUILD.tokio-stream-0.1.11.bazel deleted file mode 100644 index 4e83eb4e..00000000 --- a/rust/crates/BUILD.tokio-stream-0.1.11.bazel +++ /dev/null @@ -1,91 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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_stream", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "default", - "time", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__futures-core-0.3.25//:futures_core", - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", - "@rules_proto_grpc_rust__tokio-1.24.2//:tokio", - ], - }), -) diff --git a/rust/crates/BUILD.tokio-util-0.7.4.bazel b/rust/crates/BUILD.tokio-util-0.7.4.bazel deleted file mode 100644 index 02464cd5..00000000 --- a/rust/crates/BUILD.tokio-util-0.7.4.bazel +++ /dev/null @@ -1,95 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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_util", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "codec", - "default", - "tracing", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", - "@rules_proto_grpc_rust__futures-core-0.3.25//:futures_core", - "@rules_proto_grpc_rust__futures-sink-0.3.25//:futures_sink", - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", - "@rules_proto_grpc_rust__tokio-1.24.2//:tokio", - "@rules_proto_grpc_rust__tracing-0.1.37//:tracing", - ], - }), -) diff --git a/rust/crates/BUILD.tonic-0.8.3.bazel b/rust/crates/BUILD.tonic-0.8.3.bazel deleted file mode 100644 index 31979011..00000000 --- a/rust/crates/BUILD.tonic-0.8.3.bazel +++ /dev/null @@ -1,126 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "tonic", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - "@rules_proto_grpc_rust__prost-0.11.6//:prost": "prost1", - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "async-trait", - "axum", - "channel", - "codegen", - "default", - "h2", - "hyper", - "hyper-timeout", - "prost", - "prost-derive", - "prost1", - "tokio", - "tower", - "tracing-futures", - "transport", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__async-trait-0.1.63//:async_trait", - "@rules_proto_grpc_rust__prost-derive-0.11.6//:prost_derive", - ], - }), - 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.3", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__async-stream-0.3.3//:async_stream", - "@rules_proto_grpc_rust__axum-0.6.4//:axum", - "@rules_proto_grpc_rust__base64-0.13.1//:base64", - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", - "@rules_proto_grpc_rust__futures-core-0.3.25//:futures_core", - "@rules_proto_grpc_rust__futures-util-0.3.25//:futures_util", - "@rules_proto_grpc_rust__h2-0.3.15//:h2", - "@rules_proto_grpc_rust__http-0.2.8//:http", - "@rules_proto_grpc_rust__http-body-0.4.5//:http_body", - "@rules_proto_grpc_rust__hyper-0.14.23//:hyper", - "@rules_proto_grpc_rust__hyper-timeout-0.4.1//:hyper_timeout", - "@rules_proto_grpc_rust__percent-encoding-2.2.0//:percent_encoding", - "@rules_proto_grpc_rust__pin-project-1.0.12//:pin_project", - "@rules_proto_grpc_rust__prost-0.11.6//:prost", - "@rules_proto_grpc_rust__tokio-1.24.2//:tokio", - "@rules_proto_grpc_rust__tokio-stream-0.1.11//:tokio_stream", - "@rules_proto_grpc_rust__tokio-util-0.7.4//:tokio_util", - "@rules_proto_grpc_rust__tower-0.4.13//:tower", - "@rules_proto_grpc_rust__tower-layer-0.3.2//:tower_layer", - "@rules_proto_grpc_rust__tower-service-0.3.2//:tower_service", - "@rules_proto_grpc_rust__tracing-0.1.37//:tracing", - "@rules_proto_grpc_rust__tracing-futures-0.2.5//:tracing_futures", - ], - }), -) diff --git a/rust/crates/BUILD.tonic-build-0.8.2.bazel b/rust/crates/BUILD.tonic-build-0.8.2.bazel deleted file mode 100644 index 7c92cbae..00000000 --- a/rust/crates/BUILD.tonic-build-0.8.2.bazel +++ /dev/null @@ -1,95 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "tonic_build", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "default", - "prost", - "prost-build", - "transport", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__prettyplease-0.1.23//:prettyplease", - "@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2", - "@rules_proto_grpc_rust__prost-build-0.11.1//:prost_build", - "@rules_proto_grpc_rust__quote-1.0.23//:quote", - "@rules_proto_grpc_rust__syn-1.0.107//:syn", - ], - }), -) diff --git a/rust/crates/BUILD.tower-0.4.13.bazel b/rust/crates/BUILD.tower-0.4.13.bazel deleted file mode 100644 index b2276f96..00000000 --- a/rust/crates/BUILD.tower-0.4.13.bazel +++ /dev/null @@ -1,120 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "tower", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "__common", - "balance", - "buffer", - "default", - "discover", - "futures-core", - "futures-util", - "indexmap", - "limit", - "load", - "log", - "make", - "pin-project", - "pin-project-lite", - "rand", - "ready-cache", - "slab", - "timeout", - "tokio", - "tokio-util", - "tracing", - "util", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.13", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__futures-core-0.3.25//:futures_core", - "@rules_proto_grpc_rust__futures-util-0.3.25//:futures_util", - "@rules_proto_grpc_rust__indexmap-1.9.2//:indexmap", - "@rules_proto_grpc_rust__pin-project-1.0.12//:pin_project", - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", - "@rules_proto_grpc_rust__rand-0.8.5//:rand", - "@rules_proto_grpc_rust__slab-0.4.7//:slab", - "@rules_proto_grpc_rust__tokio-1.24.2//:tokio", - "@rules_proto_grpc_rust__tokio-util-0.7.4//:tokio_util", - "@rules_proto_grpc_rust__tower-layer-0.3.2//:tower_layer", - "@rules_proto_grpc_rust__tower-service-0.3.2//:tower_service", - "@rules_proto_grpc_rust__tracing-0.1.37//:tracing", - ], - }), -) diff --git a/rust/crates/BUILD.tower-http-0.3.5.bazel b/rust/crates/BUILD.tower-http-0.3.5.bazel deleted file mode 100644 index 7d5dd248..00000000 --- a/rust/crates/BUILD.tower-http-0.3.5.bazel +++ /dev/null @@ -1,101 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "tower_http", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "default", - "map-response-body", - "tower", - "util", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.5", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__bitflags-1.3.2//:bitflags", - "@rules_proto_grpc_rust__bytes-1.3.0//:bytes", - "@rules_proto_grpc_rust__futures-core-0.3.25//:futures_core", - "@rules_proto_grpc_rust__futures-util-0.3.25//:futures_util", - "@rules_proto_grpc_rust__http-0.2.8//:http", - "@rules_proto_grpc_rust__http-body-0.4.5//:http_body", - "@rules_proto_grpc_rust__http-range-header-0.3.0//:http_range_header", - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", - "@rules_proto_grpc_rust__tower-0.4.13//:tower", - "@rules_proto_grpc_rust__tower-layer-0.3.2//:tower_layer", - "@rules_proto_grpc_rust__tower-service-0.3.2//:tower_service", - ], - }), -) diff --git a/rust/crates/BUILD.tower-layer-0.3.2.bazel b/rust/crates/BUILD.tower-layer-0.3.2.bazel deleted file mode 100644 index d8033ce1..00000000 --- a/rust/crates/BUILD.tower-layer-0.3.2.bazel +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "tower_layer", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.2", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.tower-service-0.3.2.bazel b/rust/crates/BUILD.tower-service-0.3.2.bazel deleted file mode 100644 index d4b80281..00000000 --- a/rust/crates/BUILD.tower-service-0.3.2.bazel +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "tower_service", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.2", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.tracing-0.1.37.bazel b/rust/crates/BUILD.tracing-0.1.37.bazel deleted file mode 100644 index da414fd3..00000000 --- a/rust/crates/BUILD.tracing-0.1.37.bazel +++ /dev/null @@ -1,96 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "tracing", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "attributes", - "default", - "log", - "std", - "tracing-attributes", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__tracing-attributes-0.1.23//:tracing_attributes", - ], - }), - 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.37", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__cfg-if-1.0.0//:cfg_if", - "@rules_proto_grpc_rust__log-0.4.17//:log", - "@rules_proto_grpc_rust__pin-project-lite-0.2.9//:pin_project_lite", - "@rules_proto_grpc_rust__tracing-core-0.1.30//:tracing_core", - ], - }), -) diff --git a/rust/crates/BUILD.tracing-attributes-0.1.23.bazel b/rust/crates/BUILD.tracing-attributes-0.1.23.bazel deleted file mode 100644 index 2cbeae15..00000000 --- a/rust/crates/BUILD.tracing-attributes-0.1.23.bazel +++ /dev/null @@ -1,89 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") -load( - "@rules_rust//rust:defs.bzl", - "rust_proc_macro", -) - -package(default_visibility = ["//visibility:public"]) - -# licenses([ -# "TODO", # MIT -# ]) - -rust_proc_macro( - name = "tracing_attributes", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.23", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__proc-macro2-1.0.50//:proc_macro2", - "@rules_proto_grpc_rust__quote-1.0.23//:quote", - "@rules_proto_grpc_rust__syn-1.0.107//:syn", - ], - }), -) diff --git a/rust/crates/BUILD.tracing-core-0.1.30.bazel b/rust/crates/BUILD.tracing-core-0.1.30.bazel deleted file mode 100644 index 9cd63610..00000000 --- a/rust/crates/BUILD.tracing-core-0.1.30.bazel +++ /dev/null @@ -1,89 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "tracing_core", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "once_cell", - "std", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.30", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__once_cell-1.17.0//:once_cell", - ], - }), -) diff --git a/rust/crates/BUILD.tracing-futures-0.2.5.bazel b/rust/crates/BUILD.tracing-futures-0.2.5.bazel deleted file mode 100644 index a6595635..00000000 --- a/rust/crates/BUILD.tracing-futures-0.2.5.bazel +++ /dev/null @@ -1,92 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "tracing_futures", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "default", - "pin-project", - "std", - "std-future", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.5", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__pin-project-1.0.12//:pin_project", - "@rules_proto_grpc_rust__tracing-0.1.37//:tracing", - ], - }), -) diff --git a/rust/crates/BUILD.try-lock-0.2.4.bazel b/rust/crates/BUILD.try-lock-0.2.4.bazel deleted file mode 100644 index 37f35f24..00000000 --- a/rust/crates/BUILD.try-lock-0.2.4.bazel +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "try_lock", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2015", - proc_macro_deps = [ - ] + select({ - "//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.4", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.unicode-ident-1.0.6.bazel b/rust/crates/BUILD.unicode-ident-1.0.6.bazel deleted file mode 100644 index ec7aadf5..00000000 --- a/rust/crates/BUILD.unicode-ident-1.0.6.bazel +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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) AND Unicode-DFS-2016 -# ]) - -rust_library( - name = "unicode_ident", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.6", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.want-0.3.0.bazel b/rust/crates/BUILD.want-0.3.0.bazel deleted file mode 100644 index 20fa7ab5..00000000 --- a/rust/crates/BUILD.want-0.3.0.bazel +++ /dev/null @@ -1,88 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "want", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__log-0.4.17//:log", - "@rules_proto_grpc_rust__try-lock-0.2.4//:try_lock", - ], - }), -) diff --git a/rust/crates/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel b/rust/crates/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel deleted file mode 100644 index 164cef1d..00000000 --- a/rust/crates/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel +++ /dev/null @@ -1,88 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 WITH LLVM-exception OR Apache-2.0 OR MIT -# ]) - -rust_library( - name = "wasi", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + 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({ - "//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.11.0+wasi-snapshot-preview1", - deps = [ - ] + select({ - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.which-4.4.0.bazel b/rust/crates/BUILD.which-4.4.0.bazel deleted file mode 100644 index ed64d986..00000000 --- a/rust/crates/BUILD.which-4.4.0.bazel +++ /dev/null @@ -1,98 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "which", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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 = "4.4.0", - deps = [ - ] + select({ - "@rules_rust//rust/platform:i686-pc-windows-msvc": [ - "@rules_proto_grpc_rust__either-1.8.0//:either", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # common dependency - "@rules_proto_grpc_rust__once_cell-1.17.0//:once_cell", # cfg(windows) - ], - "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ - "@rules_proto_grpc_rust__either-1.8.0//:either", # common dependency - "@rules_proto_grpc_rust__libc-0.2.139//:libc", # common dependency - "@rules_proto_grpc_rust__once_cell-1.17.0//:once_cell", # cfg(windows) - ], - "//conditions:default": [ - "@rules_proto_grpc_rust__either-1.8.0//:either", - "@rules_proto_grpc_rust__libc-0.2.139//:libc", - ], - }), -) diff --git a/rust/crates/BUILD.winapi-0.3.9.bazel b/rust/crates/BUILD.winapi-0.3.9.bazel deleted file mode 100644 index 0afc6a5d..00000000 --- a/rust/crates/BUILD.winapi-0.3.9.bazel +++ /dev/null @@ -1,196 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "errhandlingapi", - "fileapi", - "handleapi", - "std", - "winbase", - "winerror", - "ws2ipdef", - "ws2tcpip", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2015", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__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 = select({ - "//conditions:default": { - }, - }), - build_script_env = { - }, - compile_data = select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "errhandlingapi", - "fileapi", - "handleapi", - "std", - "winbase", - "winerror", - "ws2ipdef", - "ws2tcpip", - ], - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2015", - proc_macro_deps = [ - ] + select({ - "//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({ - "//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/rust/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/rust/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel deleted file mode 100644 index da04e642..00000000 --- a/rust/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel +++ /dev/null @@ -1,180 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2015", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__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 = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2015", - proc_macro_deps = [ - ] + select({ - "//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({ - "//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/rust/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/rust/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel deleted file mode 100644 index 497c4736..00000000 --- a/rust/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel +++ /dev/null @@ -1,180 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2015", - proc_macro_deps = [ - ] + select({ - "//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({ - "//conditions:default": [ - "@rules_proto_grpc_rust__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 = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2015", - proc_macro_deps = [ - ] + select({ - "//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({ - "//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/rust/crates/BUILD.windows-sys-0.42.0.bazel b/rust/crates/BUILD.windows-sys-0.42.0.bazel deleted file mode 100644 index e7cc02a3..00000000 --- a/rust/crates/BUILD.windows-sys-0.42.0.bazel +++ /dev/null @@ -1,106 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -# 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 = "windows_sys", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - "Win32", - "Win32_Foundation", - "Win32_Networking", - "Win32_Networking_WinSock", - "Win32_Security", - "Win32_Security_Authorization", - "Win32_Storage", - "Win32_Storage_FileSystem", - "Win32_System", - "Win32_System_IO", - "Win32_System_Pipes", - "Win32_System_SystemServices", - "Win32_System_WindowsProgramming", - "default", - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.42.0", - deps = [ - ] + select({ - "@rules_rust//rust/platform:i686-pc-windows-msvc": [ - "@rules_proto_grpc_rust__windows_i686_msvc-0.42.1//:windows_i686_msvc", # i686-pc-windows-msvc - ], - "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ - "@rules_proto_grpc_rust__windows_x86_64_msvc-0.42.1//:windows_x86_64_msvc", # x86_64-pc-windows-msvc - ], - "//conditions:default": [ - ], - }), -) diff --git a/rust/crates/BUILD.windows_aarch64_gnullvm-0.42.1.bazel b/rust/crates/BUILD.windows_aarch64_gnullvm-0.42.1.bazel deleted file mode 100644 index 124caa5c..00000000 --- a/rust/crates/BUILD.windows_aarch64_gnullvm-0.42.1.bazel +++ /dev/null @@ -1,180 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "windows_aarch64_gnullvm", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.42.1", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__windows_aarch64_gnullvm-0.42.1//:build_script_build", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "windows_aarch64_gnullvm_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.42.1", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "windows_aarch64_gnullvm_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.windows_aarch64_msvc-0.42.1.bazel b/rust/crates/BUILD.windows_aarch64_msvc-0.42.1.bazel deleted file mode 100644 index 2f5d315d..00000000 --- a/rust/crates/BUILD.windows_aarch64_msvc-0.42.1.bazel +++ /dev/null @@ -1,180 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "windows_aarch64_msvc", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.42.1", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__windows_aarch64_msvc-0.42.1//:build_script_build", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "windows_aarch64_msvc_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.42.1", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "windows_aarch64_msvc_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.windows_i686_gnu-0.42.1.bazel b/rust/crates/BUILD.windows_i686_gnu-0.42.1.bazel deleted file mode 100644 index 8250dc59..00000000 --- a/rust/crates/BUILD.windows_i686_gnu-0.42.1.bazel +++ /dev/null @@ -1,180 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "windows_i686_gnu", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.42.1", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__windows_i686_gnu-0.42.1//:build_script_build", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "windows_i686_gnu_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.42.1", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "windows_i686_gnu_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.windows_i686_msvc-0.42.1.bazel b/rust/crates/BUILD.windows_i686_msvc-0.42.1.bazel deleted file mode 100644 index 00d11d9f..00000000 --- a/rust/crates/BUILD.windows_i686_msvc-0.42.1.bazel +++ /dev/null @@ -1,180 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "windows_i686_msvc", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.42.1", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__windows_i686_msvc-0.42.1//:build_script_build", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "windows_i686_msvc_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.42.1", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "windows_i686_msvc_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.windows_x86_64_gnu-0.42.1.bazel b/rust/crates/BUILD.windows_x86_64_gnu-0.42.1.bazel deleted file mode 100644 index ee03dfd9..00000000 --- a/rust/crates/BUILD.windows_x86_64_gnu-0.42.1.bazel +++ /dev/null @@ -1,180 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "windows_x86_64_gnu", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.42.1", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__windows_x86_64_gnu-0.42.1//:build_script_build", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "windows_x86_64_gnu_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.42.1", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "windows_x86_64_gnu_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.windows_x86_64_gnullvm-0.42.1.bazel b/rust/crates/BUILD.windows_x86_64_gnullvm-0.42.1.bazel deleted file mode 100644 index 3ad121d5..00000000 --- a/rust/crates/BUILD.windows_x86_64_gnullvm-0.42.1.bazel +++ /dev/null @@ -1,180 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "windows_x86_64_gnullvm", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.42.1", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__windows_x86_64_gnullvm-0.42.1//:build_script_build", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "windows_x86_64_gnullvm_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.42.1", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "windows_x86_64_gnullvm_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/BUILD.windows_x86_64_msvc-0.42.1.bazel b/rust/crates/BUILD.windows_x86_64_msvc-0.42.1.bazel deleted file mode 100644 index 5b07766c..00000000 --- a/rust/crates/BUILD.windows_x86_64_msvc-0.42.1.bazel +++ /dev/null @@ -1,180 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust:crates_vendor -############################################################################### - -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 = "windows_x86_64_msvc", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//conditions:default": { - }, - }), - compile_data = glob( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.42.1", - deps = [ - ] + select({ - "//conditions:default": [ - "@rules_proto_grpc_rust__windows_x86_64_msvc-0.42.1//:build_script_build", - ], - }), -) - -cargo_build_script( - # See comment associated with alias. Do not change this name - name = "windows_x86_64_msvc_build_script", - srcs = glob( - include = [ - "**/*.rs", - ], - exclude = [ - ], - ), - aliases = select({ - "//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( - include = ["**"], - exclude = [ - "**/* *", - "BUILD.bazel", - "BUILD", - "WORKSPACE.bazel", - "WORKSPACE", - ], - ) + select_with_or({ - "//conditions:default": [ - ], - }), - edition = "2018", - proc_macro_deps = [ - ] + select({ - "//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.42.1", - visibility = ["//visibility:private"], - deps = [ - ] + select({ - "//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 = "windows_x86_64_msvc_build_script", - tags = [ - "manual", - ], -) diff --git a/rust/crates/defs.bzl b/rust/crates/defs.bzl deleted file mode 100644 index 6a031b51..00000000 --- a/rust/crates/defs.bzl +++ /dev/null @@ -1,1527 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run //rust: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: { - "async-stream": "@rules_proto_grpc_rust__async-stream-0.3.3//:async_stream", - "futures": "@rules_proto_grpc_rust__futures-0.3.25//:futures", - "prost": "@rules_proto_grpc_rust__prost-0.11.6//:prost", - "prost-types": "@rules_proto_grpc_rust__prost-types-0.11.6//:prost_types", - "protoc-gen-prost": "@rules_proto_grpc_rust__protoc-gen-prost-0.2.1//:protoc_gen_prost", - "protoc-gen-prost-crate": "@rules_proto_grpc_rust__protoc-gen-prost-crate-0.3.1//:protoc_gen_prost_crate", - "protoc-gen-tonic": "@rules_proto_grpc_rust__protoc-gen-tonic-0.2.1//:protoc_gen_tonic", - "rand": "@rules_proto_grpc_rust__rand-0.8.5//:rand", - "serde": "@rules_proto_grpc_rust__serde-1.0.152//:serde", - "serde_json": "@rules_proto_grpc_rust__serde_json-1.0.91//:serde_json", - "tokio": "@rules_proto_grpc_rust__tokio-1.24.2//:tokio", - "tokio-stream": "@rules_proto_grpc_rust__tokio-stream-0.1.11//:tokio_stream", - "tonic": "@rules_proto_grpc_rust__tonic-0.8.3//:tonic", - "tonic-build": "@rules_proto_grpc_rust__tonic-build-0.8.2//:tonic_build", - }, - }, -} - -_NORMAL_ALIASES = { - "": { - _COMMON_CONDITION: { - }, - }, -} - -_NORMAL_DEV_DEPENDENCIES = { - "": { - }, -} - -_NORMAL_DEV_ALIASES = { - "": { - }, -} - -_PROC_MACRO_DEPENDENCIES = { - "": { - _COMMON_CONDITION: { - "prost-derive": "@rules_proto_grpc_rust__prost-derive-0.11.6//:prost_derive", - }, - }, -} - -_PROC_MACRO_ALIASES = { - "": { - }, -} - -_PROC_MACRO_DEV_DEPENDENCIES = { - "": { - }, -} - -_PROC_MACRO_DEV_ALIASES = { - "": { - }, -} - -_BUILD_DEPENDENCIES = { - "": { - }, -} - -_BUILD_ALIASES = { - "": { - }, -} - -_BUILD_PROC_MACRO_DEPENDENCIES = { - "": { - }, -} - -_BUILD_PROC_MACRO_ALIASES = { - "": { - }, -} - -_CONDITIONS = { - "aarch64-pc-windows-gnullvm": [], - "aarch64-pc-windows-msvc": [], - "aarch64-uwp-windows-msvc": [], - "cfg(any(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(docsrs)": [], - "cfg(not(any(target_arch = \"wasm32\", target_arch = \"wasm64\")))": ["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-pc-windows-msvc", "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-pc-windows-msvc", "x86_64-unknown-freebsd", "x86_64-unknown-linux-gnu"], - "cfg(target_arch = \"wasm32\")": ["wasm32-unknown-unknown", "wasm32-wasi"], - "cfg(target_os = \"redox\")": [], - "cfg(target_os = \"wasi\")": ["wasm32-wasi"], - "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": [], - "i686-pc-windows-msvc": ["i686-pc-windows-msvc"], - "i686-uwp-windows-gnu": [], - "i686-uwp-windows-msvc": [], - "x86_64-pc-windows-gnu": [], - "x86_64-pc-windows-gnullvm": [], - "x86_64-pc-windows-msvc": ["x86_64-pc-windows-msvc"], - "x86_64-uwp-windows-gnu": [], - "x86_64-uwp-windows-msvc": [], -} - -############################################################################### - -def crate_repositories(): - """A macro for defining repositories for all generated crates""" - maybe( - http_archive, - name = "rules_proto_grpc_rust__anyhow-1.0.68", - sha256 = "2cb2f989d18dd141ab8ae82f64d1a8cdd37e0840f73a406896cf5e99502fab61", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/anyhow/1.0.68/download"], - strip_prefix = "anyhow-1.0.68", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.anyhow-1.0.68.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__async-stream-0.3.3", - sha256 = "dad5c83079eae9969be7fadefe640a1c566901f05ff91ab221de4b6f68d9507e", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/async-stream/0.3.3/download"], - strip_prefix = "async-stream-0.3.3", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.async-stream-0.3.3.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__async-stream-impl-0.3.3", - sha256 = "10f203db73a71dfa2fb6dd22763990fa26f3d2625a6da2da900d23b87d26be27", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/async-stream-impl/0.3.3/download"], - strip_prefix = "async-stream-impl-0.3.3", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.async-stream-impl-0.3.3.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__async-trait-0.1.63", - sha256 = "eff18d764974428cf3a9328e23fc5c986f5fbed46e6cd4cdf42544df5d297ec1", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/async-trait/0.1.63/download"], - strip_prefix = "async-trait-0.1.63", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.async-trait-0.1.63.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__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_proto_grpc//rust/crates:BUILD.autocfg-1.1.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__axum-0.6.4", - sha256 = "e5694b64066a2459918d8074c2ce0d5a88f409431994c2356617c8ae0c4721fc", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/axum/0.6.4/download"], - strip_prefix = "axum-0.6.4", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.axum-0.6.4.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__axum-core-0.3.2", - sha256 = "1cae3e661676ffbacb30f1a824089a8c9150e71017f7e1e38f2aa32009188d34", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/axum-core/0.3.2/download"], - strip_prefix = "axum-core-0.3.2", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.axum-core-0.3.2.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__base64-0.13.1", - sha256 = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/base64/0.13.1/download"], - strip_prefix = "base64-0.13.1", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.base64-0.13.1.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__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_proto_grpc//rust/crates:BUILD.bitflags-1.3.2.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__bytes-1.3.0", - sha256 = "dfb24e866b15a1af2a1b663f10c6b6b8f397a84aadb828f12e5b289ec23a3a3c", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/bytes/1.3.0/download"], - strip_prefix = "bytes-1.3.0", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.bytes-1.3.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__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_proto_grpc//rust/crates:BUILD.cfg-if-1.0.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__either-1.8.0", - sha256 = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/either/1.8.0/download"], - strip_prefix = "either-1.8.0", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.either-1.8.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__fastrand-1.8.0", - sha256 = "a7a407cfaa3385c4ae6b23e84623d48c2798d06e3e6a1878f7f59f17b3f86499", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/fastrand/1.8.0/download"], - strip_prefix = "fastrand-1.8.0", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.fastrand-1.8.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__fixedbitset-0.4.2", - sha256 = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/fixedbitset/0.4.2/download"], - strip_prefix = "fixedbitset-0.4.2", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.fixedbitset-0.4.2.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__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_proto_grpc//rust/crates:BUILD.fnv-1.0.7.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__futures-0.3.25", - sha256 = "38390104763dc37a5145a53c29c63c1290b5d316d6086ec32c293f6736051bb0", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/futures/0.3.25/download"], - strip_prefix = "futures-0.3.25", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.futures-0.3.25.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__futures-channel-0.3.25", - sha256 = "52ba265a92256105f45b719605a571ffe2d1f0fea3807304b522c1d778f79eed", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/futures-channel/0.3.25/download"], - strip_prefix = "futures-channel-0.3.25", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.futures-channel-0.3.25.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__futures-core-0.3.25", - sha256 = "04909a7a7e4633ae6c4a9ab280aeb86da1236243a77b694a49eacd659a4bd3ac", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/futures-core/0.3.25/download"], - strip_prefix = "futures-core-0.3.25", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.futures-core-0.3.25.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__futures-executor-0.3.25", - sha256 = "7acc85df6714c176ab5edf386123fafe217be88c0840ec11f199441134a074e2", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/futures-executor/0.3.25/download"], - strip_prefix = "futures-executor-0.3.25", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.futures-executor-0.3.25.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__futures-io-0.3.25", - sha256 = "00f5fb52a06bdcadeb54e8d3671f8888a39697dcb0b81b23b55174030427f4eb", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/futures-io/0.3.25/download"], - strip_prefix = "futures-io-0.3.25", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.futures-io-0.3.25.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__futures-macro-0.3.25", - sha256 = "bdfb8ce053d86b91919aad980c220b1fb8401a9394410e1c289ed7e66b61835d", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/futures-macro/0.3.25/download"], - strip_prefix = "futures-macro-0.3.25", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.futures-macro-0.3.25.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__futures-sink-0.3.25", - sha256 = "39c15cf1a4aa79df40f1bb462fb39676d0ad9e366c2a33b590d7c66f4f81fcf9", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/futures-sink/0.3.25/download"], - strip_prefix = "futures-sink-0.3.25", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.futures-sink-0.3.25.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__futures-task-0.3.25", - sha256 = "2ffb393ac5d9a6eaa9d3fdf37ae2776656b706e200c8e16b1bdb227f5198e6ea", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/futures-task/0.3.25/download"], - strip_prefix = "futures-task-0.3.25", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.futures-task-0.3.25.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__futures-util-0.3.25", - sha256 = "197676987abd2f9cadff84926f410af1c183608d36641465df73ae8211dc65d6", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/futures-util/0.3.25/download"], - strip_prefix = "futures-util-0.3.25", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.futures-util-0.3.25.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__getrandom-0.2.8", - sha256 = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/getrandom/0.2.8/download"], - strip_prefix = "getrandom-0.2.8", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.getrandom-0.2.8.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__h2-0.3.15", - sha256 = "5f9f29bc9dda355256b2916cf526ab02ce0aeaaaf2bad60d65ef3f12f11dd0f4", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/h2/0.3.15/download"], - strip_prefix = "h2-0.3.15", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.h2-0.3.15.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__hashbrown-0.12.3", - sha256 = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/hashbrown/0.12.3/download"], - strip_prefix = "hashbrown-0.12.3", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.hashbrown-0.12.3.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__heck-0.4.0", - sha256 = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/heck/0.4.0/download"], - strip_prefix = "heck-0.4.0", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.heck-0.4.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__http-0.2.8", - sha256 = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/http/0.2.8/download"], - strip_prefix = "http-0.2.8", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.http-0.2.8.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__http-body-0.4.5", - sha256 = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/http-body/0.4.5/download"], - strip_prefix = "http-body-0.4.5", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.http-body-0.4.5.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__http-range-header-0.3.0", - sha256 = "0bfe8eed0a9285ef776bb792479ea3834e8b94e13d615c2f66d03dd50a435a29", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/http-range-header/0.3.0/download"], - strip_prefix = "http-range-header-0.3.0", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.http-range-header-0.3.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__httparse-1.8.0", - sha256 = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/httparse/1.8.0/download"], - strip_prefix = "httparse-1.8.0", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.httparse-1.8.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__httpdate-1.0.2", - sha256 = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/httpdate/1.0.2/download"], - strip_prefix = "httpdate-1.0.2", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.httpdate-1.0.2.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__hyper-0.14.23", - sha256 = "034711faac9d2166cb1baf1a2fb0b60b1f277f8492fd72176c17f3515e1abd3c", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/hyper/0.14.23/download"], - strip_prefix = "hyper-0.14.23", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.hyper-0.14.23.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__hyper-timeout-0.4.1", - sha256 = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/hyper-timeout/0.4.1/download"], - strip_prefix = "hyper-timeout-0.4.1", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.hyper-timeout-0.4.1.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__indexmap-1.9.2", - sha256 = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/indexmap/1.9.2/download"], - strip_prefix = "indexmap-1.9.2", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.indexmap-1.9.2.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__instant-0.1.12", - sha256 = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/instant/0.1.12/download"], - strip_prefix = "instant-0.1.12", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.instant-0.1.12.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__itertools-0.10.5", - sha256 = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/itertools/0.10.5/download"], - strip_prefix = "itertools-0.10.5", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.itertools-0.10.5.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__itoa-1.0.5", - sha256 = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/itoa/1.0.5/download"], - strip_prefix = "itoa-1.0.5", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.itoa-1.0.5.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__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_proto_grpc//rust/crates:BUILD.lazy_static-1.4.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__libc-0.2.139", - sha256 = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/libc/0.2.139/download"], - strip_prefix = "libc-0.2.139", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.libc-0.2.139.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__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_proto_grpc//rust/crates:BUILD.log-0.4.17.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__matchit-0.7.0", - sha256 = "b87248edafb776e59e6ee64a79086f65890d3510f2c656c000bf2a7e8a0aea40", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/matchit/0.7.0/download"], - strip_prefix = "matchit-0.7.0", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.matchit-0.7.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__memchr-2.5.0", - sha256 = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/memchr/2.5.0/download"], - strip_prefix = "memchr-2.5.0", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.memchr-2.5.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__mime-0.3.16", - sha256 = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/mime/0.3.16/download"], - strip_prefix = "mime-0.3.16", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.mime-0.3.16.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__mio-0.8.5", - sha256 = "e5d732bc30207a6423068df043e3d02e0735b155ad7ce1a6f76fe2baa5b158de", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/mio/0.8.5/download"], - strip_prefix = "mio-0.8.5", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.mio-0.8.5.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__multimap-0.8.3", - sha256 = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/multimap/0.8.3/download"], - strip_prefix = "multimap-0.8.3", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.multimap-0.8.3.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__once_cell-1.17.0", - sha256 = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/once_cell/1.17.0/download"], - strip_prefix = "once_cell-1.17.0", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.once_cell-1.17.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__percent-encoding-2.2.0", - sha256 = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/percent-encoding/2.2.0/download"], - strip_prefix = "percent-encoding-2.2.0", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.percent-encoding-2.2.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__petgraph-0.6.2", - sha256 = "e6d5014253a1331579ce62aa67443b4a658c5e7dd03d4bc6d302b94474888143", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/petgraph/0.6.2/download"], - strip_prefix = "petgraph-0.6.2", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.petgraph-0.6.2.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__pin-project-1.0.12", - sha256 = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/pin-project/1.0.12/download"], - strip_prefix = "pin-project-1.0.12", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.pin-project-1.0.12.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__pin-project-internal-1.0.12", - sha256 = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/pin-project-internal/1.0.12/download"], - strip_prefix = "pin-project-internal-1.0.12", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.pin-project-internal-1.0.12.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__pin-project-lite-0.2.9", - sha256 = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/pin-project-lite/0.2.9/download"], - strip_prefix = "pin-project-lite-0.2.9", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.pin-project-lite-0.2.9.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__pin-utils-0.1.0", - sha256 = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/pin-utils/0.1.0/download"], - strip_prefix = "pin-utils-0.1.0", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.pin-utils-0.1.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__ppv-lite86-0.2.17", - sha256 = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/ppv-lite86/0.2.17/download"], - strip_prefix = "ppv-lite86-0.2.17", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.ppv-lite86-0.2.17.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__prettyplease-0.1.23", - sha256 = "e97e3215779627f01ee256d2fad52f3d95e8e1c11e9fc6fd08f7cd455d5d5c78", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/prettyplease/0.1.23/download"], - strip_prefix = "prettyplease-0.1.23", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.prettyplease-0.1.23.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__proc-macro2-1.0.50", - sha256 = "6ef7d57beacfaf2d8aee5937dab7b7f28de3cb8b1828479bb5de2a7106f2bae2", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/proc-macro2/1.0.50/download"], - strip_prefix = "proc-macro2-1.0.50", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.proc-macro2-1.0.50.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__prost-0.11.6", - sha256 = "21dc42e00223fc37204bd4aa177e69420c604ca4a183209a8f9de30c6d934698", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/prost/0.11.6/download"], - strip_prefix = "prost-0.11.6", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.prost-0.11.6.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__prost-build-0.11.1", - sha256 = "7f835c582e6bd972ba8347313300219fed5bfa52caf175298d860b61ff6069bb", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/prost-build/0.11.1/download"], - strip_prefix = "prost-build-0.11.1", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.prost-build-0.11.1.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__prost-derive-0.11.6", - sha256 = "8bda8c0881ea9f722eb9629376db3d0b903b462477c1aafcb0566610ac28ac5d", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/prost-derive/0.11.6/download"], - strip_prefix = "prost-derive-0.11.6", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.prost-derive-0.11.6.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__prost-types-0.11.6", - sha256 = "a5e0526209433e96d83d750dd81a99118edbc55739e7e61a46764fd2ad537788", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/prost-types/0.11.6/download"], - strip_prefix = "prost-types-0.11.6", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.prost-types-0.11.6.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__protoc-gen-prost-0.2.1", - sha256 = "7b8bb34a371e2d605272113dad6213daae5e3e5158abe65570e19349884b9d00", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/protoc-gen-prost/0.2.1/download"], - strip_prefix = "protoc-gen-prost-0.2.1", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.protoc-gen-prost-0.2.1.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__protoc-gen-prost-crate-0.3.1", - sha256 = "043ee98bf0393fea59763a8b866399a10d0f05059a62cb1d6ba567af7f4e36ef", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/protoc-gen-prost-crate/0.3.1/download"], - strip_prefix = "protoc-gen-prost-crate-0.3.1", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.protoc-gen-prost-crate-0.3.1.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__protoc-gen-tonic-0.2.1", - sha256 = "4a7c042eb85ca1a9624e700363821388a42c554728e6c777b57ea074d027faa9", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/protoc-gen-tonic/0.2.1/download"], - strip_prefix = "protoc-gen-tonic-0.2.1", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.protoc-gen-tonic-0.2.1.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__quote-1.0.23", - sha256 = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/quote/1.0.23/download"], - strip_prefix = "quote-1.0.23", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.quote-1.0.23.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__rand-0.8.5", - sha256 = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/rand/0.8.5/download"], - strip_prefix = "rand-0.8.5", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.rand-0.8.5.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__rand_chacha-0.3.1", - sha256 = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/rand_chacha/0.3.1/download"], - strip_prefix = "rand_chacha-0.3.1", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.rand_chacha-0.3.1.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__rand_core-0.6.4", - sha256 = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/rand_core/0.6.4/download"], - strip_prefix = "rand_core-0.6.4", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.rand_core-0.6.4.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__redox_syscall-0.2.16", - sha256 = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/redox_syscall/0.2.16/download"], - strip_prefix = "redox_syscall-0.2.16", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.redox_syscall-0.2.16.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__regex-1.7.1", - sha256 = "48aaa5748ba571fb95cd2c85c09f629215d3a6ece942baa100950af03a34f733", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/regex/1.7.1/download"], - strip_prefix = "regex-1.7.1", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.regex-1.7.1.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__regex-syntax-0.6.28", - sha256 = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/regex-syntax/0.6.28/download"], - strip_prefix = "regex-syntax-0.6.28", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.regex-syntax-0.6.28.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__remove_dir_all-0.5.3", - sha256 = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/remove_dir_all/0.5.3/download"], - strip_prefix = "remove_dir_all-0.5.3", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.remove_dir_all-0.5.3.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__rustversion-1.0.11", - sha256 = "5583e89e108996506031660fe09baa5011b9dd0341b89029313006d1fb508d70", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/rustversion/1.0.11/download"], - strip_prefix = "rustversion-1.0.11", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.rustversion-1.0.11.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__ryu-1.0.12", - sha256 = "7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/ryu/1.0.12/download"], - strip_prefix = "ryu-1.0.12", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.ryu-1.0.12.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__serde-1.0.152", - sha256 = "bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/serde/1.0.152/download"], - strip_prefix = "serde-1.0.152", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.serde-1.0.152.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__serde_derive-1.0.152", - sha256 = "af487d118eecd09402d70a5d72551860e788df87b464af30e5ea6a38c75c541e", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/serde_derive/1.0.152/download"], - strip_prefix = "serde_derive-1.0.152", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.serde_derive-1.0.152.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__serde_json-1.0.91", - sha256 = "877c235533714907a8c2464236f5c4b2a17262ef1bd71f38f35ea592c8da6883", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/serde_json/1.0.91/download"], - strip_prefix = "serde_json-1.0.91", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.serde_json-1.0.91.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__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_proto_grpc//rust/crates:BUILD.slab-0.4.7.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__socket2-0.4.7", - sha256 = "02e2d2db9033d13a1567121ddd7a095ee144db4e1ca1b1bda3419bc0da294ebd", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/socket2/0.4.7/download"], - strip_prefix = "socket2-0.4.7", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.socket2-0.4.7.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__syn-1.0.107", - sha256 = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/syn/1.0.107/download"], - strip_prefix = "syn-1.0.107", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.syn-1.0.107.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__sync_wrapper-0.1.1", - sha256 = "20518fe4a4c9acf048008599e464deb21beeae3d3578418951a189c235a7a9a8", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/sync_wrapper/0.1.1/download"], - strip_prefix = "sync_wrapper-0.1.1", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.sync_wrapper-0.1.1.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__tempfile-3.3.0", - sha256 = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/tempfile/3.3.0/download"], - strip_prefix = "tempfile-3.3.0", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.tempfile-3.3.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__tokio-1.24.2", - sha256 = "597a12a59981d9e3c38d216785b0c37399f6e415e8d0712047620f189371b0bb", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/tokio/1.24.2/download"], - strip_prefix = "tokio-1.24.2", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.tokio-1.24.2.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__tokio-io-timeout-1.2.0", - sha256 = "30b74022ada614a1b4834de765f9bb43877f910cc8ce4be40e89042c9223a8bf", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/tokio-io-timeout/1.2.0/download"], - strip_prefix = "tokio-io-timeout-1.2.0", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.tokio-io-timeout-1.2.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__tokio-macros-1.8.2", - sha256 = "d266c00fde287f55d3f1c3e96c500c362a2b8c695076ec180f27918820bc6df8", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/tokio-macros/1.8.2/download"], - strip_prefix = "tokio-macros-1.8.2", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.tokio-macros-1.8.2.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__tokio-stream-0.1.11", - sha256 = "d660770404473ccd7bc9f8b28494a811bc18542b915c0855c51e8f419d5223ce", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/tokio-stream/0.1.11/download"], - strip_prefix = "tokio-stream-0.1.11", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.tokio-stream-0.1.11.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__tokio-util-0.7.4", - sha256 = "0bb2e075f03b3d66d8d8785356224ba688d2906a371015e225beeb65ca92c740", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/tokio-util/0.7.4/download"], - strip_prefix = "tokio-util-0.7.4", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.tokio-util-0.7.4.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__tonic-0.8.3", - sha256 = "8f219fad3b929bef19b1f86fbc0358d35daed8f2cac972037ac0dc10bbb8d5fb", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/tonic/0.8.3/download"], - strip_prefix = "tonic-0.8.3", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.tonic-0.8.3.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__tonic-build-0.8.2", - sha256 = "48c6fd7c2581e36d63388a9e04c350c21beb7a8b059580b2e93993c526899ddc", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/tonic-build/0.8.2/download"], - strip_prefix = "tonic-build-0.8.2", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.tonic-build-0.8.2.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__tower-0.4.13", - sha256 = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/tower/0.4.13/download"], - strip_prefix = "tower-0.4.13", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.tower-0.4.13.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__tower-http-0.3.5", - sha256 = "f873044bf02dd1e8239e9c1293ea39dad76dc594ec16185d0a1bf31d8dc8d858", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/tower-http/0.3.5/download"], - strip_prefix = "tower-http-0.3.5", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.tower-http-0.3.5.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__tower-layer-0.3.2", - sha256 = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/tower-layer/0.3.2/download"], - strip_prefix = "tower-layer-0.3.2", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.tower-layer-0.3.2.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__tower-service-0.3.2", - sha256 = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/tower-service/0.3.2/download"], - strip_prefix = "tower-service-0.3.2", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.tower-service-0.3.2.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__tracing-0.1.37", - sha256 = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/tracing/0.1.37/download"], - strip_prefix = "tracing-0.1.37", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.tracing-0.1.37.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__tracing-attributes-0.1.23", - sha256 = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/tracing-attributes/0.1.23/download"], - strip_prefix = "tracing-attributes-0.1.23", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.tracing-attributes-0.1.23.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__tracing-core-0.1.30", - sha256 = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/tracing-core/0.1.30/download"], - strip_prefix = "tracing-core-0.1.30", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.tracing-core-0.1.30.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__tracing-futures-0.2.5", - sha256 = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/tracing-futures/0.2.5/download"], - strip_prefix = "tracing-futures-0.2.5", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.tracing-futures-0.2.5.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__try-lock-0.2.4", - sha256 = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/try-lock/0.2.4/download"], - strip_prefix = "try-lock-0.2.4", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.try-lock-0.2.4.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__unicode-ident-1.0.6", - sha256 = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/unicode-ident/1.0.6/download"], - strip_prefix = "unicode-ident-1.0.6", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.unicode-ident-1.0.6.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__want-0.3.0", - sha256 = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/want/0.3.0/download"], - strip_prefix = "want-0.3.0", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.want-0.3.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__wasi-0.11.0-wasi-snapshot-preview1", - sha256 = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/wasi/0.11.0+wasi-snapshot-preview1/download"], - strip_prefix = "wasi-0.11.0+wasi-snapshot-preview1", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__which-4.4.0", - sha256 = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/which/4.4.0/download"], - strip_prefix = "which-4.4.0", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.which-4.4.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__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_proto_grpc//rust/crates:BUILD.winapi-0.3.9.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__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_proto_grpc//rust/crates:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__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_proto_grpc//rust/crates:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__windows-sys-0.42.0", - sha256 = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/windows-sys/0.42.0/download"], - strip_prefix = "windows-sys-0.42.0", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.windows-sys-0.42.0.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__windows_aarch64_gnullvm-0.42.1", - sha256 = "8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/windows_aarch64_gnullvm/0.42.1/download"], - strip_prefix = "windows_aarch64_gnullvm-0.42.1", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.windows_aarch64_gnullvm-0.42.1.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__windows_aarch64_msvc-0.42.1", - sha256 = "4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/windows_aarch64_msvc/0.42.1/download"], - strip_prefix = "windows_aarch64_msvc-0.42.1", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.windows_aarch64_msvc-0.42.1.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__windows_i686_gnu-0.42.1", - sha256 = "de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/windows_i686_gnu/0.42.1/download"], - strip_prefix = "windows_i686_gnu-0.42.1", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.windows_i686_gnu-0.42.1.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__windows_i686_msvc-0.42.1", - sha256 = "bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/windows_i686_msvc/0.42.1/download"], - strip_prefix = "windows_i686_msvc-0.42.1", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.windows_i686_msvc-0.42.1.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__windows_x86_64_gnu-0.42.1", - sha256 = "c1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/windows_x86_64_gnu/0.42.1/download"], - strip_prefix = "windows_x86_64_gnu-0.42.1", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.windows_x86_64_gnu-0.42.1.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__windows_x86_64_gnullvm-0.42.1", - sha256 = "628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/windows_x86_64_gnullvm/0.42.1/download"], - strip_prefix = "windows_x86_64_gnullvm-0.42.1", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.windows_x86_64_gnullvm-0.42.1.bazel"), - ) - - maybe( - http_archive, - name = "rules_proto_grpc_rust__windows_x86_64_msvc-0.42.1", - sha256 = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd", - type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/windows_x86_64_msvc/0.42.1/download"], - strip_prefix = "windows_x86_64_msvc-0.42.1", - build_file = Label("@rules_proto_grpc//rust/crates:BUILD.windows_x86_64_msvc-0.42.1.bazel"), - ) diff --git a/rust/defs.bzl b/rust/defs.bzl index 62d1b171..203dc332 100644 --- a/rust/defs.bzl +++ b/rust/defs.bzl @@ -1,12 +1,14 @@ """rust protobuf and grpc rules.""" - -load(":rust_prost_proto_compile.bzl", _rust_prost_proto_compile = "rust_prost_proto_compile") -load(":rust_tonic_grpc_compile.bzl", _rust_tonic_grpc_compile = "rust_tonic_grpc_compile") -load(":rust_prost_proto_library.bzl", _rust_prost_proto_library = "rust_prost_proto_library") -load(":rust_tonic_grpc_library.bzl", _rust_tonic_grpc_library = "rust_tonic_grpc_library") +load(":rust_prost_compile.bzl", + _rust_tonic_grpc_compile = "rust_tonic_grpc_compile", + _rust_prost_proto_compile = "rust_prost_proto_compile") +load( + ":macros.bzl", + _rust_prost_proto_library = "rust_prost_proto_library", + _rust_tonic_grpc_library = "rust_tonic_grpc_library") # Export rust rules rust_prost_proto_compile = _rust_prost_proto_compile rust_tonic_grpc_compile = _rust_tonic_grpc_compile rust_prost_proto_library = _rust_prost_proto_library -rust_tonic_grpc_library = _rust_tonic_grpc_library +rust_tonic_grpc_library = _rust_tonic_grpc_library \ No newline at end of file diff --git a/rust/example/greeter/BUILD b/rust/example/greeter/BUILD new file mode 100644 index 00000000..9aabee0f --- /dev/null +++ b/rust/example/greeter/BUILD @@ -0,0 +1,28 @@ +load("//rust:macros.bzl", "rust_prost_proto_library", "rust_tonic_grpc_library") + + +rust_tonic_grpc_library( + name = "greeter_grpc", + declared_proto_packages = ["example.proto"], + protos = [ + "//example/proto:person_proto", + "//example/proto:place_proto", + "//example/proto:greeter_grpc", + ], + options = { + "//rust:rust_prost_plugin": [ + "type_attribute=.example.proto.Person=#[derive(Eq\\,Hash)]", + "type_attribute=.example.proto.Place=#[derive(Eq\\,Hash)]", + ]}, + prost_proto_deps = [ + ":other_prost", + ] +) + +rust_prost_proto_library( + name = "other_prost", + declared_proto_packages = ["example.proto"], + protos = [ + "//example/proto:thing_proto", + ], +) \ No newline at end of file diff --git a/rust/example/routeguide/BUILD.bazel b/rust/example/routeguide/BUILD.bazel index e1dad9cd..8300d084 100644 --- a/rust/example/routeguide/BUILD.bazel +++ b/rust/example/routeguide/BUILD.bazel @@ -1,21 +1,24 @@ -load("//rust:rust_prost_proto_library.bzl", "rust_prost_proto_library") -load("//rust:rust_tonic_grpc_library.bzl", "rust_tonic_grpc_library") +load("//rust:macros.bzl", "rust_prost_proto_library", "rust_tonic_grpc_library") load("@rules_rust//rust:defs.bzl", "rust_binary") rust_prost_proto_library( - name = "prost_test", + name = "routeguide_prost", options = { "//rust:rust_prost_plugin": ["type_attribute=.routeguide.Point=#[derive(Eq\\,Hash)]"], }, + declared_proto_packages = ["routeguide"], protos = ["//example/proto:routeguide_proto"], ) rust_tonic_grpc_library( - name = "proto", + name = "routeguide_tonic", + protos = ["//example/proto:routeguide_proto"], + declared_proto_packages = ["routeguide"], options = { "//rust:rust_prost_plugin": ["type_attribute=.routeguide.Point=#[derive(Eq\\,Hash)]"], }, - protos = ["//example/proto:routeguide_proto"], + # prost_proto = ":routeguide_prost", + # service_proto_package = "routeguide", ) rust_binary( @@ -27,12 +30,12 @@ rust_binary( edition = "2021", visibility = ["//example/routeguide:__pkg__"], deps = [ - ":proto", - "//rust/crates:async-stream", - "//rust/crates:futures", - "//rust/crates:rand", - "//rust/crates:tokio", - "//rust/crates:tonic", + ":routeguide_tonic", + "//rust/3rdparty/crates:async-stream", + "//rust/3rdparty/crates:futures", + "//rust/3rdparty/crates:rand", + "//rust/3rdparty/crates:tokio", + "//rust/3rdparty/crates:tonic", ], ) @@ -42,17 +45,18 @@ rust_binary( "data.rs", "server.rs", ], + data = ["//example/proto:routeguide_features"], edition = "2021", visibility = ["//example/routeguide:__pkg__"], deps = [ - ":proto", - "//rust/crates:async-stream", - "//rust/crates:futures", - "//rust/crates:serde", - "//rust/crates:serde_json", - "//rust/crates:tokio", - "//rust/crates:tokio-stream", - "//rust/crates:tonic", + ":routeguide_tonic", + "//rust/3rdparty/crates:async-stream", + "//rust/3rdparty/crates:futures", + "//rust/3rdparty/crates:serde", + "//rust/3rdparty/crates:serde_json", + "//rust/3rdparty/crates:tokio", + "//rust/3rdparty/crates:tokio-stream", + "//rust/3rdparty/crates:tonic", ], ) diff --git a/rust/example/routeguide/client.rs b/rust/example/routeguide/client.rs index f60bef68..8406dc1a 100644 --- a/rust/example/routeguide/client.rs +++ b/rust/example/routeguide/client.rs @@ -10,8 +10,8 @@ use tokio::time; use tonic::transport::Channel; use tonic::Request; -use proto::routeguide::route_guide_client::RouteGuideClient; -use proto::routeguide::{Point, Rectangle, RouteNote}; +use routeguide_tonic::routeguide::route_guide_client::RouteGuideClient; +use routeguide_tonic::routeguide::{Point, Rectangle, RouteNote}; async fn print_features(client: &mut RouteGuideClient) -> Result<(), Box> { let rectangle = Rectangle { diff --git a/rust/example/routeguide/data.rs b/rust/example/routeguide/data.rs index 530ddfd0..2d3373ae 100644 --- a/rust/example/routeguide/data.rs +++ b/rust/example/routeguide/data.rs @@ -1,6 +1,6 @@ // https://github.com/hyperium/tonic/blob/4e5c6c8f2354301aed984da891ef284d16c936e5/examples/src/routeguide/data.rs -use proto::routeguide; +use routeguide_tonic::routeguide; use serde::Deserialize; use std::fs::File; diff --git a/rust/example/routeguide/server.rs b/rust/example/routeguide/server.rs index 54b63231..8fd1c213 100644 --- a/rust/example/routeguide/server.rs +++ b/rust/example/routeguide/server.rs @@ -11,8 +11,8 @@ use tokio_stream::wrappers::ReceiverStream; use tonic::transport::Server; use tonic::{Request, Response, Status}; -use proto::routeguide::route_guide_server::{RouteGuide, RouteGuideServer}; -use proto::routeguide::{Feature, Point, Rectangle, RouteNote, RouteSummary}; +use routeguide_tonic::routeguide::route_guide_server::{RouteGuide, RouteGuideServer}; +use routeguide_tonic::routeguide::{Feature, Point, Rectangle, RouteNote, RouteSummary}; mod data; diff --git a/rust/macros.bzl b/rust/macros.bzl new file mode 100644 index 00000000..68f83cdc --- /dev/null +++ b/rust/macros.bzl @@ -0,0 +1,129 @@ +"""Generated definition of rust_prost_proto_library.""" + +load("//rust:rust_prost_compile.bzl", "prost_compile_attrs", "rust_prost_proto_compile", "rust_tonic_grpc_compile") +load("//:defs.bzl", "bazel_build_rule_common_attrs", "proto_compile_attrs") +load("//rust:rust_fixer.bzl", "rust_proto_crate_fixer", "rust_proto_crate_root") # @unused +load("@rules_rust//rust:defs.bzl", "rust_library") + +def _crate(name): + return Label("//rust/3rdparty/crates:" + name) + +# We assume that all targets in prost_proto_deps[] were also generated with this macro. +# For convenience we append the _pb suffix if its missing to allow users to provide the same name as they used when +# they used this macro to generate that dependency. +def _prepare_prost_proto_deps(prost_proto_deps): + + prost_proto_compiled_targets = [] + + for dep in prost_proto_deps: + if dep.endswith("_pb"): + prost_proto_compiled_targets.append(dep) + else: + prost_proto_compiled_targets.append(dep + "_pb") + + return prost_proto_compiled_targets + +def rust_prost_proto_library(name, **kwargs): # buildifier: disable=function-docstring + # Compile protos + name_pb = name + "_pb" + name_fixed = name_pb + "_fixed" + name_root = name + "_root" + + prost_proto_deps = kwargs.get("prost_proto_deps", []) + prost_proto_compiled_targets = _prepare_prost_proto_deps(prost_proto_deps) + + + rust_prost_proto_compile( + name = name_pb, + crate_name = name, + prost_proto_deps = prost_proto_compiled_targets, + **{ + k: v + for (k, v) in kwargs.items() + if k in proto_compile_attrs.keys() or + k in bazel_build_rule_common_attrs or + k in prost_compile_attrs + } # Forward args + ) + # fix up imports + rust_proto_crate_fixer( + name = name_fixed, + compilation = name_pb, + ) + + + rust_proto_crate_root( + name = name_root, + crate_dir = name_fixed, + ) + + # Create rust_prost library + rust_library( + name = name, + edition = "2021", + crate_root = name_root, + crate_name = kwargs.get("crate_name"), + srcs = [name_fixed], + deps = kwargs.get("prost_deps", [_crate("prost"), _crate("prost-types")]) + + kwargs.get("pbjson_deps", [_crate("pbjson-types"), _crate("pbjson")]) + + kwargs.get("serde_deps", [_crate("serde")]) + + kwargs.get("deps", []) + + prost_proto_deps, + proc_macro_deps = [kwargs.get("prost_derive_dep", _crate("prost-derive"))], + **{ + k: v + for (k, v) in kwargs.items() + if k in bazel_build_rule_common_attrs + } # Forward Bazel common args + ) + +def rust_tonic_grpc_library(name, **kwargs): # buildifier: disable=function-docstring + # Compile protos + name_pb = name + "_pb" + name_fixed = name_pb + "_fixed" + name_root = name + "_root" + prost_proto_deps = kwargs.get("prost_proto_deps", []) + prost_proto_compiled_targets = _prepare_prost_proto_deps(prost_proto_deps) + rust_tonic_grpc_compile( + name = name_pb, + prost_proto_deps = prost_proto_compiled_targets, + **{ + k: v + for (k, v) in kwargs.items() + if k in proto_compile_attrs.keys() or + k in bazel_build_rule_common_attrs or + k in prost_compile_attrs + } # Forward args + ) + + # fix up imports + rust_proto_crate_fixer( + name = name_fixed, + compilation = name_pb, + ) + + rust_proto_crate_root( + name = name_root, + crate_dir = name_fixed, + mod_file = kwargs.get("mod_file"), + ) + + # Create rust_tonic library + rust_library( + name = name, + edition = "2021", + crate_root = name_root, + crate_name = kwargs.get("crate_name"), + srcs = [name_fixed], + deps = kwargs.get("prost_deps", [_crate("prost"), _crate("prost-types")]) + + [kwargs.get("tonic_dep", _crate("tonic"))] + + kwargs.get("pbjson_deps", [_crate("pbjson-types"), _crate("pbjson")]) + + kwargs.get("serde_deps", [_crate("serde")]) + # Label(CRATES_PATH + ":serde-types") + kwargs.get("deps", []) + prost_proto_deps, + proc_macro_deps = [kwargs.get("prost_derive_dep", Label("//rust/3rdparty/crates:prost-derive"))], + **{ + k: v + for (k, v) in kwargs.items() + if k in bazel_build_rule_common_attrs + } # Forward Bazel common args + ) diff --git a/rust/repositories.bzl b/rust/repositories.bzl index 4c11e151..9ad8bcb1 100644 --- a/rust/repositories.bzl +++ b/rust/repositories.bzl @@ -6,6 +6,7 @@ load( "rules_rust", ) + def rust_repos(**kwargs): # buildifier: disable=function-docstring rules_proto_grpc_repos(**kwargs) rules_rust(**kwargs) diff --git a/rust/rust_prost_compile.bzl b/rust/rust_prost_compile.bzl new file mode 100644 index 00000000..7cd4f769 --- /dev/null +++ b/rust/rust_prost_compile.bzl @@ -0,0 +1,126 @@ +"""Rules for compiling .proto files using the prost via the prost protoc plugins.""" +load( + "//:defs.bzl", + "ProtoPluginInfo", + "proto_compile_attrs", + "proto_compile", +) + +prost_compile_attrs = [ + "declared_proto_packages", + "crate_name", +] +ProstProtoInfo = provider( + doc = "Additional information needed for prost compilation rules.", + fields = { + "crate_name": "Name of the crate that will wrap this module.", + "declared_proto_packages": "All proto packages that this compile rule generates bindings for.", + } +) + +def rust_prost_proto_compile_impl(ctx): + """Implements rust prost proto library. + + Args: + ctx (Context): The context object passed by bazel. + Returns: + list: A list of the following providers: + - (ProstProtoInfo): Information upstream prost compliation rules need to know about this rule. + - (ProtoCompileInfo): From core proto_compile function + - (DefaultInfo): Default build rule info. + """ + + # + externs = [] + for dep in ctx.attr.prost_proto_deps: + if ProstProtoInfo not in dep: + continue + proto_info = dep[ProstProtoInfo] + packages = proto_info.declared_proto_packages + dep_crate = proto_info.crate_name or proto_info.name + + for package in packages: + externs.append("extern_path={}=::{}::{}".format( + "." + package, + dep_crate, + package.replace(".", "::"), + )) + options = {} + for option in ctx.attr.options: + options[option] = ctx.attr.options[option] + if "//rust:rust_prost_plugin" not in options: + options["//rust:rust_prost_plugin"] = [] + options["//rust:rust_prost_plugin"] = options["//rust:rust_prost_plugin"] + externs + + compile_result = proto_compile( + ctx, + options, + getattr(ctx.attr, "extra_protoc_args", []), + ctx.files.extra_protoc_files) + crate_name = ctx.attr.crate_name or ctx.attr.name + return compile_result + [ProstProtoInfo( + declared_proto_packages = ctx.attr.declared_proto_packages, + crate_name = crate_name + )] + + +rust_prost_proto_compile = rule( + implementation = rust_prost_proto_compile_impl, + attrs = dict( + proto_compile_attrs, + prost_proto_deps = attr.label_list( + providers = [ProstProtoInfo], + mandatory = False, + doc = "Other protos compiled by prost that our proto directly depends upon. Used to generated externs_path=... options for prost." + ), + declared_proto_packages = attr.string_list( + mandatory = True, + doc = "List of labels that provide the ProtoInfo provider (such as proto_library from rules_proto)", + ), + crate_name = attr.string( + mandatory = False, + doc = "Name of the crate these protos will be compiled into later using rust_library. See rust_prost_proto_library macro for more details.", + ), + _plugins = attr.label_list( + providers = [ProtoPluginInfo], + default = [ + Label("//rust:rust_prost_plugin"), + Label("//rust:rust_crate_plugin"), + Label("//rust:rust_serde_plugin"), + ], + doc = "List of protoc plugins to apply", + ), + ), + toolchains = [str(Label("//protobuf:toolchain_type"))], +) + +rust_tonic_grpc_compile = rule( + implementation = rust_prost_proto_compile_impl, + attrs = dict( + proto_compile_attrs, + prost_proto_deps = attr.label_list( + providers = [ProstProtoInfo], + mandatory = False, + doc = "Other protos compiled by prost that our proto directly depends upon. Used to generated externs_path=... options for prost." + ), + declared_proto_packages = attr.string_list( + mandatory = True, + doc = "List of labels that provide the ProtoInfo provider (such as proto_library from rules_proto)", + ), + crate_name = attr.string( + mandatory = False, + doc = "Name of the crate these protos will be compiled into later using rust_library. See rust_prost_proto_library macro for more details.", + ), + _plugins = attr.label_list( + providers = [ProtoPluginInfo], + default = [ + Label("//rust:rust_prost_plugin"), + Label("//rust:rust_crate_plugin"), + Label("//rust:rust_tonic_plugin"), + Label("//rust:rust_serde_plugin"), + ], + doc = "List of protoc plugins to apply", + ), + ), + toolchains = [str(Label("//protobuf:toolchain_type"))], +) \ No newline at end of file diff --git a/rust/rust_prost_proto_compile.bzl b/rust/rust_prost_proto_compile.bzl deleted file mode 100644 index 5e43b18f..00000000 --- a/rust/rust_prost_proto_compile.bzl +++ /dev/null @@ -1,25 +0,0 @@ -"""Generated definition of rust_prost_proto_compile.""" - -load( - "//:defs.bzl", - "ProtoPluginInfo", - "proto_compile_attrs", - "proto_compile_impl", -) - -# Create compile rule -rust_prost_proto_compile = rule( - implementation = proto_compile_impl, - attrs = dict( - proto_compile_attrs, - _plugins = attr.label_list( - providers = [ProtoPluginInfo], - default = [ - Label("//rust:rust_prost_plugin"), - Label("//rust:rust_crate_plugin"), - ], - doc = "List of protoc plugins to apply", - ), - ), - toolchains = [str(Label("//protobuf:toolchain_type"))], -) diff --git a/rust/rust_prost_proto_library.bzl b/rust/rust_prost_proto_library.bzl deleted file mode 100644 index f1635c20..00000000 --- a/rust/rust_prost_proto_library.bzl +++ /dev/null @@ -1,42 +0,0 @@ -"""Generated definition of rust_prost_proto_library.""" - -load("//rust:rust_prost_proto_compile.bzl", "rust_prost_proto_compile") -load("//:defs.bzl", "bazel_build_rule_common_attrs", "proto_compile_attrs") -load("//rust:rust_fixer.bzl", "rust_proto_crate_fixer", "rust_proto_crate_root") # @unused -load("@rules_rust//rust:defs.bzl", "rust_library") - -def rust_prost_proto_library(name, **kwargs): # buildifier: disable=function-docstring - # Compile protos - name_pb = name + "_pb" - name_fixed = name_pb + "_fixed" - name_root = name + "_root" - rust_prost_proto_compile( - name = name_pb, - **{ - k: v - for (k, v) in kwargs.items() - if k in proto_compile_attrs.keys() or - k in bazel_build_rule_common_attrs - } # Forward args - ) - - rust_proto_crate_root( - name = name_root, - crate_dir = name_pb, - ) - - # Create rust_prost library - rust_library( - name = name, - edition = "2021", - crate_root = name_root, - crate_name = kwargs.get("crate_name"), - srcs = [name_pb], - deps = kwargs.get("prost_deps", [Label("//rust/crates:prost"), Label("//rust/crates:prost-types")]) + kwargs.get("deps", []), - proc_macro_deps = [kwargs.get("prost_derive_dep", Label("//rust/crates:prost-derive"))], - **{ - k: v - for (k, v) in kwargs.items() - if k in bazel_build_rule_common_attrs - } # Forward Bazel common args - ) diff --git a/rust/rust_tonic_grpc_compile.bzl b/rust/rust_tonic_grpc_compile.bzl deleted file mode 100644 index f806a063..00000000 --- a/rust/rust_tonic_grpc_compile.bzl +++ /dev/null @@ -1,26 +0,0 @@ -"""Generated definition of rust_tonic_grpc_compile.""" - -load( - "//:defs.bzl", - "ProtoPluginInfo", - "proto_compile_attrs", - "proto_compile_impl", -) - -# Create compile rule -rust_tonic_grpc_compile = rule( - implementation = proto_compile_impl, - attrs = dict( - proto_compile_attrs, - _plugins = attr.label_list( - providers = [ProtoPluginInfo], - default = [ - Label("//rust:rust_prost_plugin"), - Label("//rust:rust_tonic_plugin"), - Label("//rust:rust_crate_plugin"), - ], - doc = "List of protoc plugins to apply", - ), - ), - toolchains = [str(Label("//protobuf:toolchain_type"))], -) diff --git a/rust/rust_tonic_grpc_library.bzl b/rust/rust_tonic_grpc_library.bzl deleted file mode 100644 index 08ff353f..00000000 --- a/rust/rust_tonic_grpc_library.bzl +++ /dev/null @@ -1,50 +0,0 @@ -"""Generated definition of rust_tonic_grpc_library.""" - -load("//rust:rust_tonic_grpc_compile.bzl", "rust_tonic_grpc_compile") -load("//:defs.bzl", "bazel_build_rule_common_attrs", "proto_compile_attrs") -load("//rust:rust_fixer.bzl", "rust_proto_crate_fixer", "rust_proto_crate_root") # @unused -load("@rules_rust//rust:defs.bzl", "rust_library") - -def rust_tonic_grpc_library(name, **kwargs): # buildifier: disable=function-docstring - # Compile protos - name_pb = name + "_pb" - name_fixed = name_pb + "_fixed" - name_root = name + "_root" - rust_tonic_grpc_compile( - name = name_pb, - **{ - k: v - for (k, v) in kwargs.items() - if k in proto_compile_attrs.keys() or - k in bazel_build_rule_common_attrs - } # Forward args - ) - - # fix up imports - rust_proto_crate_fixer( - name = name_fixed, - compilation = name_pb, - ) - - rust_proto_crate_root( - name = name_root, - crate_dir = name_fixed, - ) - - # Create rust_tonic library - rust_library( - name = name, - edition = "2021", - crate_root = name_root, - crate_name = kwargs.get("crate_name"), - srcs = [name_fixed], - deps = kwargs.get("prost_deps", [Label("//rust/crates:prost"), Label("//rust/crates:prost-types")]) + - [kwargs.get("tonic_dep", Label("//rust/crates:tonic"))] + - kwargs.get("deps", []), - proc_macro_deps = [kwargs.get("prost_derive_dep", Label("//rust/crates:prost-derive"))], - **{ - k: v - for (k, v) in kwargs.items() - if k in bazel_build_rule_common_attrs - } # Forward Bazel common args - )