diff --git a/MODULE.bazel b/MODULE.bazel index a6a6b16fc9966..f83511f9dbc6a 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -323,12 +323,11 @@ use_repo(ruby, "bundle", "ruby", "ruby_toolchains") register_toolchains("@ruby_toolchains//:all") rust = use_extension("@rules_rust//rust:extensions.bzl", "rust") -rust.toolchain( - edition = "2021", - versions = ["1.76.0"], -) +rust.toolchain() use_repo(rust, "rust_toolchains") +register_toolchains("@rust_toolchains//:all") + crate = use_extension("@rules_rust//crate_universe:extension.bzl", "crate") crate.from_cargo( name = "crates",