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.bstr-0.2.17.bazel b/third_party/rust/cargo/remote/BUILD.bstr-0.2.17.bazel
new file mode 100644
index 0000000..310d226
--- /dev/null
+++ b/third_party/rust/cargo/remote/BUILD.bstr-0.2.17.bazel
@@ -0,0 +1,87 @@
+"""
+@generated
+cargo-raze crate build file.
+
+DO NOT EDIT! Replaced on runs of cargo-raze
+"""
+
+# buildifier: disable=load
+load("@bazel_skylib//lib:selects.bzl", "selects")
+
+# buildifier: disable=load
+load(
+    "@rules_rust//rust:defs.bzl",
+    "rust_binary",
+    "rust_library",
+    "rust_proc_macro",
+    "rust_test",
+)
+
+package(default_visibility = [
+    # Public for visibility by "@raze__crate__version//" targets.
+    #
+    # Prefer access through "//third_party/rust/cargo", which limits external
+    # visibility to explicit Cargo.toml dependencies.
+    "//visibility:public",
+])
+
+licenses([
+    "notice",  # MIT from expression "MIT OR Apache-2.0"
+])
+
+# Generated Targets
+
+# Unsupported target "graphemes" with type "example" omitted
+
+# Unsupported target "graphemes-std" with type "example" omitted
+
+# Unsupported target "lines" with type "example" omitted
+
+# Unsupported target "lines-std" with type "example" omitted
+
+# Unsupported target "uppercase" with type "example" omitted
+
+# Unsupported target "uppercase-std" with type "example" omitted
+
+# Unsupported target "words" with type "example" omitted
+
+# Unsupported target "words-std" with type "example" omitted
+
+rust_library(
+    name = "bstr",
+    srcs = glob(["**/*.rs"]),
+    crate_features = [
+        "default",
+        "lazy_static",
+        "regex-automata",
+        "std",
+        "unicode",
+    ],
+    crate_root = "src/lib.rs",
+    data = [] + [
+        "src/unicode/fsm/grapheme_break_fwd.littleendian.dfa",
+        "src/unicode/fsm/grapheme_break_rev.littleendian.dfa",
+        "src/unicode/fsm/regional_indicator_rev.littleendian.dfa",
+        "src/unicode/fsm/sentence_break_fwd.littleendian.dfa",
+        "src/unicode/fsm/simple_word_fwd.littleendian.dfa",
+        "src/unicode/fsm/whitespace_anchored_fwd.littleendian.dfa",
+        "src/unicode/fsm/whitespace_anchored_rev.littleendian.dfa",
+        "src/unicode/fsm/word_break_fwd.littleendian.dfa",
+    ],
+    edition = "2018",
+    rustc_flags = [
+        "--cap-lints=allow",
+    ],
+    tags = [
+        "cargo-raze",
+        "crate-name=bstr",
+        "manual",
+    ],
+    version = "0.2.17",
+    # buildifier: leave-alone
+    deps = [
+        "@raze__lazy_static__1_4_0//:lazy_static",
+        "@raze__memchr__2_5_0//:memchr",
+        "@raze__regex_automata__0_1_10//:regex_automata",
+    ],
+)