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.rand_chacha-0.3.1.bazel b/third_party/rust/cargo/remote/BUILD.rand_chacha-0.3.1.bazel
index 5b58889..bd957c1 100644
--- a/third_party/rust/cargo/remote/BUILD.rand_chacha-0.3.1.bazel
+++ b/third_party/rust/cargo/remote/BUILD.rand_chacha-0.3.1.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",
 )
 
@@ -37,7 +38,6 @@
         "std",
     ],
     crate_root = "src/lib.rs",
-    crate_type = "lib",
     data = [],
     edition = "2018",
     rustc_flags = [
@@ -45,12 +45,13 @@
     ],
     tags = [
         "cargo-raze",
+        "crate-name=rand_chacha",
         "manual",
     ],
     version = "0.3.1",
     # buildifier: leave-alone
     deps = [
-        "@raze__ppv_lite86__0_2_10//:ppv_lite86",
-        "@raze__rand_core__0_6_3//:rand_core",
+        "@raze__ppv_lite86__0_2_17//:ppv_lite86",
+        "@raze__rand_core__0_6_4//:rand_core",
     ],
 )