Release 0.51.0 (#2881)

diff --git a/MODULE.bazel b/MODULE.bazel
index 40b908b..b0ca23b 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -2,7 +2,7 @@
 
 module(
     name = "rules_rust",
-    version = "0.50.1",
+    version = "0.51.0",
 )
 
 bazel_dep(
diff --git a/version.bzl b/version.bzl
index fdc73c2..094a0da 100644
--- a/version.bzl
+++ b/version.bzl
@@ -1,3 +1,3 @@
 """The version of rules_rust."""
 
-VERSION = "0.50.1"
+VERSION = "0.51.0"