From 4329b89321f2dbfde6dc9ffc62405daf5b33d67d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?X=C3=B9d=C5=8Dng=20Y=C3=A1ng?= Date: Mon, 7 Oct 2024 20:10:00 -0400 Subject: [PATCH] Remove rules_rust dependency --- MODULE.bazel | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index c2bec0bdf65e..13190a773687 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -68,11 +68,6 @@ bazel_dep( version = "0.28.0", ) -bazel_dep( - name = "rules_rust", - version = "0.45.1", -) - bazel_dep( name = "platforms", version = "0.0.8", @@ -128,33 +123,6 @@ pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") use_repo(pip, "pip_deps") -rust = use_extension("@rules_rust//rust:extensions.bzl", "rust") - -rust.toolchain(edition = "2021") - -use_repo(rust, "rust_toolchains") - -register_toolchains("@rust_toolchains//:all") - -crate = use_extension("@rules_rust//crate_universe:extension.bzl", "crate") - -crate.spec( - package = "googletest", - version = ">0.0.0", -) - -crate.spec( - package = "paste", - version = ">=1", -) - -crate.from_specs() - -use_repo( - crate, - crate_index = "crates", -) - maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven") maven.install(