third_party/rust: update rules_rust and deps

This is required for rules_rust to work with CC toolchains.

Change-Id: I15f20c7bde09697fda248f7107be8bcd00e24d57
Reviewed-on: https://review.monogon.dev/c/monogon/+/1073
Tested-by: Jenkins CI
Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
diff --git a/third_party/rust/cargo/remote/BUILD.gitignore-1.0.7.bazel b/third_party/rust/cargo/remote/BUILD.gitignore-1.0.7.bazel
index e00c468..2ef115b 100644
--- a/third_party/rust/cargo/remote/BUILD.gitignore-1.0.7.bazel
+++ b/third_party/rust/cargo/remote/BUILD.gitignore-1.0.7.bazel
@@ -10,9 +10,10 @@
 
 # buildifier: disable=load
 load(
-    "@rules_rust//rust:rust.bzl",
+    "@rules_rust//rust:defs.bzl",
     "rust_binary",
     "rust_library",
+    "rust_proc_macro",
     "rust_test",
 )
 
@@ -35,8 +36,6 @@
     # N.B.: The exact form of this is subject to change.
     name = "cargo_bin_gitignore_check",
     srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
     crate_root = "src/bin/gitignore_check.rs",
     data = [],
     edition = "2015",
@@ -45,13 +44,14 @@
     ],
     tags = [
         "cargo-raze",
+        "crate-name=gitignore_check",
         "manual",
     ],
     version = "1.0.7",
     # buildifier: leave-alone
     deps = [
         ":gitignore",
-        "@raze__glob__0_3_0//:glob",
+        "@raze__glob__0_3_1//:glob",
     ],
 )
 
@@ -60,8 +60,6 @@
     # N.B.: The exact form of this is subject to change.
     name = "cargo_bin_gitignore_tree",
     srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
     crate_root = "src/bin/gitignore_tree.rs",
     data = [],
     edition = "2015",
@@ -70,23 +68,21 @@
     ],
     tags = [
         "cargo-raze",
+        "crate-name=gitignore_tree",
         "manual",
     ],
     version = "1.0.7",
     # buildifier: leave-alone
     deps = [
         ":gitignore",
-        "@raze__glob__0_3_0//:glob",
+        "@raze__glob__0_3_1//:glob",
     ],
 )
 
 rust_library(
     name = "gitignore",
     srcs = glob(["**/*.rs"]),
-    crate_features = [
-    ],
     crate_root = "src/lib.rs",
-    crate_type = "lib",
     data = [],
     edition = "2015",
     rustc_flags = [
@@ -94,11 +90,12 @@
     ],
     tags = [
         "cargo-raze",
+        "crate-name=gitignore",
         "manual",
     ],
     version = "1.0.7",
     # buildifier: leave-alone
     deps = [
-        "@raze__glob__0_3_0//:glob",
+        "@raze__glob__0_3_1//:glob",
     ],
 )