treewide: migrate external rules to bzlmod
This is a huge one as it was very annoying to migrate them separately. This migrates rules_go, gazelle, rust_rust, protobuf to bzlmod
Change-Id: If39591d43ed4c2afa2979ee5915e9d1cfa1574a9
Reviewed-on: https://review.monogon.dev/c/monogon/+/3234
Tested-by: Jenkins CI
Reviewed-by: Leopold Schabel <leo@monogon.tech>
Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
diff --git a/metropolis/proto/api/BUILD.bazel b/metropolis/proto/api/BUILD.bazel
index f573105..82aa60b 100644
--- a/metropolis/proto/api/BUILD.bazel
+++ b/metropolis/proto/api/BUILD.bazel
@@ -16,7 +16,7 @@
"//metropolis/proto/ext:ext_proto",
"//net/proto:net_proto_proto",
"//osbase/logtree/proto:proto_proto",
- "@com_google_protobuf//:duration_proto",
+ "@protobuf//:duration_proto",
],
)
diff --git a/metropolis/proto/common/BUILD.bazel b/metropolis/proto/common/BUILD.bazel
index f895f44..41a5405 100644
--- a/metropolis/proto/common/BUILD.bazel
+++ b/metropolis/proto/common/BUILD.bazel
@@ -9,7 +9,7 @@
deps = [
"//osbase/logtree/proto:proto_proto",
"//version/spec:spec_proto",
- "@com_google_protobuf//:timestamp_proto",
+ "@protobuf//:timestamp_proto",
],
)
diff --git a/metropolis/proto/ext/BUILD.bazel b/metropolis/proto/ext/BUILD.bazel
index e84153b..aeb6d69 100644
--- a/metropolis/proto/ext/BUILD.bazel
+++ b/metropolis/proto/ext/BUILD.bazel
@@ -6,7 +6,7 @@
name = "ext_proto",
srcs = ["authorization.proto"],
visibility = ["//visibility:public"],
- deps = ["@com_google_protobuf//:descriptor_proto"],
+ deps = ["@protobuf//:descriptor_proto"],
)
go_proto_library(