From 09e55e31723ded3ffd02850ff452a41771083b2d Mon Sep 17 00:00:00 2001 From: "publish-to-bcr-bot[bot]" <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Thu, 28 Dec 2023 15:13:18 +0100 Subject: [PATCH] Publish bazelbuild/rules_rust@0.35.0 (#1237) Co-authored-by: null <11149636+scentini@users.noreply.github.com> --- modules/rules_rust/0.35.0/MODULE.bazel | 141 ++++++++++++++++++++++++ modules/rules_rust/0.35.0/presubmit.yml | 11 ++ modules/rules_rust/0.35.0/source.json | 5 + modules/rules_rust/metadata.json | 27 +++++ 4 files changed, 184 insertions(+) create mode 100644 modules/rules_rust/0.35.0/MODULE.bazel create mode 100644 modules/rules_rust/0.35.0/presubmit.yml create mode 100644 modules/rules_rust/0.35.0/source.json create mode 100644 modules/rules_rust/metadata.json diff --git a/modules/rules_rust/0.35.0/MODULE.bazel b/modules/rules_rust/0.35.0/MODULE.bazel new file mode 100644 index 00000000000..3bb1d346a7c --- /dev/null +++ b/modules/rules_rust/0.35.0/MODULE.bazel @@ -0,0 +1,141 @@ +"""bazelbuild/rules_rust""" + +module( + name = "rules_rust", + version = "0.35.0", +) + +bazel_dep( + name = "bazel_skylib", + version = "1.5.0", +) +bazel_dep( + name = "platforms", + version = "0.0.8", +) +bazel_dep( + name = "rules_cc", + version = "0.0.9", +) +bazel_dep( + name = "rules_proto", + version = "5.3.0-21.7", +) +bazel_dep( + name = "apple_support", + version = "1.11.1", + repo_name = "build_bazel_apple_support", +) +bazel_dep( + name = "protobuf", + version = "21.7", + repo_name = "com_google_protobuf", +) + +internal_deps = use_extension("//rust/private:extensions.bzl", "internal_deps") +use_repo( + internal_deps, + "bazelci_rules", + "com_google_googleapis", + "cui", + "cui__anyhow-1.0.75", + "cui__cargo-lock-9.0.0", + "cui__cargo-platform-0.1.4", + "cui__cargo_metadata-0.18.1", + "cui__cargo_toml-0.17.1", + "cui__cfg-expr-0.15.5", + "cui__clap-4.3.11", + "cui__crates-index-2.2.0", + "cui__hex-0.4.3", + "cui__indoc-2.0.4", + "cui__itertools-0.11.0", + "cui__maplit-1.0.2", + "cui__normpath-1.1.1", + "cui__pathdiff-0.2.1", + "cui__regex-1.10.2", + "cui__semver-1.0.20", + "cui__serde-1.0.190", + "cui__serde_json-1.0.108", + "cui__serde_starlark-0.1.14", + "cui__sha2-0.10.8", + "cui__spectral-0.6.0", + "cui__tempfile-3.8.1", + "cui__tera-1.19.1", + "cui__textwrap-0.16.0", + "cui__toml-0.8.6", + "cui__tracing-0.1.40", + "cui__tracing-subscriber-0.3.17", + "generated_inputs_in_external_repo", + "libc", + "llvm-raw", + "rrra__anyhow-1.0.71", + "rrra__clap-4.3.11", + "rrra__env_logger-0.10.0", + "rrra__itertools-0.11.0", + "rrra__log-0.4.19", + "rrra__serde-1.0.171", + "rrra__serde_json-1.0.102", + "rules_rust_bindgen__bindgen-0.65.1", + "rules_rust_bindgen__bindgen-cli-0.65.1", + "rules_rust_bindgen__clang-sys-1.6.1", + "rules_rust_bindgen__clap-4.3.3", + "rules_rust_bindgen__clap_complete-4.3.1", + "rules_rust_bindgen__env_logger-0.10.0", + "rules_rust_prost", + "rules_rust_prost__h2-0.3.19", + "rules_rust_prost__heck", + "rules_rust_prost__prost-0.11.9", + "rules_rust_prost__prost-types-0.11.9", + "rules_rust_prost__protoc-gen-prost-0.2.2", + "rules_rust_prost__protoc-gen-tonic-0.2.2", + "rules_rust_prost__tokio-1.28.2", + "rules_rust_prost__tokio-stream-0.1.14", + "rules_rust_prost__tonic-0.9.2", + "rules_rust_test_load_arbitrary_tool", + "rules_rust_tinyjson", + "rules_rust_toolchain_test_target_json", + "rules_rust_util_import__aho-corasick-0.7.15", + "rules_rust_util_import__lazy_static-1.4.0", + "rules_rust_util_import__proc-macro2-1.0.33", + "rules_rust_util_import__quickcheck-1.0.3", + "rules_rust_util_import__quote-1.0.10", + "rules_rust_util_import__syn-1.0.82", + "rules_rust_wasm_bindgen__anyhow-1.0.71", + "rules_rust_wasm_bindgen__assert_cmd-1.0.8", + "rules_rust_wasm_bindgen__diff-0.1.13", + "rules_rust_wasm_bindgen__docopt-1.1.1", + "rules_rust_wasm_bindgen__env_logger-0.8.4", + "rules_rust_wasm_bindgen__log-0.4.19", + "rules_rust_wasm_bindgen__predicates-1.0.8", + "rules_rust_wasm_bindgen__rayon-1.7.0", + "rules_rust_wasm_bindgen__rouille-3.6.2", + "rules_rust_wasm_bindgen__serde-1.0.171", + "rules_rust_wasm_bindgen__serde_derive-1.0.171", + "rules_rust_wasm_bindgen__serde_json-1.0.102", + "rules_rust_wasm_bindgen__tempfile-3.6.0", + "rules_rust_wasm_bindgen__ureq-2.8.0", + "rules_rust_wasm_bindgen__walrus-0.19.0", + "rules_rust_wasm_bindgen__wasm-bindgen-0.2.88", + "rules_rust_wasm_bindgen__wasm-bindgen-cli-support-0.2.88", + "rules_rust_wasm_bindgen__wasm-bindgen-shared-0.2.88", + "rules_rust_wasm_bindgen__wasmparser-0.102.0", + "rules_rust_wasm_bindgen__wasmprinter-0.2.60", + "rules_rust_wasm_bindgen_cli", +) + +rust = use_extension("//rust:extensions.bzl", "rust") + +# Allow us to run, for example, "bazel build //tools/runfiles" with bzlmod. +# Register it as a dev dependency so that we don't force this toolchain on +# downstream users. +rust.toolchain(edition = "2021") +use_repo(rust, "rust_toolchains") + +register_toolchains( + "@rust_toolchains//:all", +) + +use_repo(rust, "rust_host_tools") + +cargo_bazel_bootstrap = use_extension("//crate_universe/private/module_extensions:cargo_bazel_bootstrap.bzl", "cargo_bazel_bootstrap") +use_repo(cargo_bazel_bootstrap, "cargo_bazel_bootstrap") diff --git a/modules/rules_rust/0.35.0/presubmit.yml b/modules/rules_rust/0.35.0/presubmit.yml new file mode 100644 index 00000000000..9b8a0b9bbb8 --- /dev/null +++ b/modules/rules_rust/0.35.0/presubmit.yml @@ -0,0 +1,11 @@ +bcr_test_module: + module_path: "" + matrix: + platform: ["macos", "ubuntu2004"] + tasks: + run_tests: + working_directory: bzlmod/hello_world + name: "Run test module" + platform: ${{ platform }} + test_targets: + - "//..." diff --git a/modules/rules_rust/0.35.0/source.json b/modules/rules_rust/0.35.0/source.json new file mode 100644 index 00000000000..1e7ecc80eb7 --- /dev/null +++ b/modules/rules_rust/0.35.0/source.json @@ -0,0 +1,5 @@ +{ + "integrity": "sha256-0hwyiyHzyez6TB6S3WGs5j/yJgMjQGfPD+SV91rCUa4=", + "strip_prefix": "", + "url": "https://github.com/bazelbuild/rules_rust/releases/download/0.35.0/rules_rust-v0.35.0.tar.gz" +} diff --git a/modules/rules_rust/metadata.json b/modules/rules_rust/metadata.json new file mode 100644 index 00000000000..d020d7201fe --- /dev/null +++ b/modules/rules_rust/metadata.json @@ -0,0 +1,27 @@ +{ + "homepage": "https://github.com/bazelbuild/rules_rust", + "maintainers": [ + { + "email": "26427366+UebelAndre@users.noreply.github.com", + "github": "UebelAndre", + "name": "UebelAndre" + }, + { + "email": "1131704+illicitonion@users.noreply.github.com", + "github": "illicitonion", + "name": "Daniel Wagner-Hall" + }, + { + "email": "11149636+scentini@users.noreply.github.com", + "github": "scentini", + "name": "Rosica Dejanovska" + } + ], + "repository": [ + "github:bazelbuild/rules_rust" + ], + "versions": [ + "0.35.0" + ], + "yanked_versions": {} +}