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.mio-0.6.23.bazel b/third_party/rust/cargo/remote/BUILD.mio-0.6.23.bazel
index 87fa4b2..6dcd020 100644
--- a/third_party/rust/cargo/remote/BUILD.mio-0.6.23.bazel
+++ b/third_party/rust/cargo/remote/BUILD.mio-0.6.23.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",
 )
 
@@ -40,7 +41,6 @@
         "with-deprecated",
     ],
     crate_root = "src/lib.rs",
-    crate_type = "lib",
     data = [],
     edition = "2015",
     rustc_flags = [
@@ -48,6 +48,7 @@
     ],
     tags = [
         "cargo-raze",
+        "crate-name=mio",
         "manual",
     ],
     version = "0.6.23",
@@ -55,15 +56,14 @@
     deps = [
         "@raze__cfg_if__0_1_10//:cfg_if",
         "@raze__iovec__0_1_4//:iovec",
-        "@raze__log__0_4_14//:log",
-        "@raze__net2__0_2_37//:net2",
-        "@raze__slab__0_4_3//:slab",
+        "@raze__log__0_4_17//:log",
+        "@raze__net2__0_2_38//:net2",
+        "@raze__slab__0_4_7//:slab",
     ] + selects.with_or({
-        # cfg(unix)
         (
             "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
         ): [
-            "@raze__libc__0_2_97//:libc",
+            "@raze__libc__0_2_139//:libc",
         ],
         "//conditions:default": [],
     }),