Added bzlmod support to all extension rules. (#3037)
Additional Changes:
- The rules `rules_nodejs` for `rules_rust_wasm_bindgen` will no longer
tested and will be dropped unless bzlmod support is added for the
original `bazel_build_rules_nodejs` rules.
- `rules_rust_bindgen` updated default clang version to 17.0.3 to match
bzlmod available version.
- `rules_rust_prost` updated protobuf version to `v28.3`
Relates to:
- https://github.com/bazelbuild/rules_rust/issues/2181
diff --git a/extensions/prost/MODULE.bazel b/extensions/prost/MODULE.bazel
index fa1842e..7b59f68 100644
--- a/extensions/prost/MODULE.bazel
+++ b/extensions/prost/MODULE.bazel
@@ -16,11 +16,11 @@
bazel_dep(
name = "bazel_skylib",
- version = "1.5.0",
+ version = "1.7.1",
)
bazel_dep(
name = "rules_cc",
- version = "0.0.9",
+ version = "0.0.17",
)
bazel_dep(
name = "rules_proto",
@@ -28,13 +28,13 @@
)
bazel_dep(
name = "protobuf",
- version = "21.7",
+ version = "28.3",
repo_name = "com_google_protobuf",
)
-rust_ext_prost = use_extension("//:extensions.bzl", "rust_ext_prost")
+rust_ext = use_extension("//:extensions.bzl", "rust_ext")
use_repo(
- rust_ext_prost,
+ rust_ext,
"rules_rust_prost_deps",
"rules_rust_prost_deps__h2-0.4.6",
"rules_rust_prost_deps__heck",
@@ -50,3 +50,25 @@
register_toolchains(
"//:default_prost_toolchain",
)
+
+bazel_dep(
+ name = "googleapis",
+ version = "0.0.0-20240819-fe8ba054a",
+ dev_dependency = True,
+ repo_name = "com_google_googleapis",
+)
+bazel_dep(
+ name = "bazel_ci_rules",
+ version = "1.0.0",
+ dev_dependency = True,
+)
+
+rust_ext_dev = use_extension(
+ "//private:internal_extensions.bzl",
+ "rust_ext_dev",
+ dev_dependency = True,
+)
+use_repo(
+ rust_ext_dev,
+ "buildkite_config",
+)