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-extras-2.0.6.bazel b/third_party/rust/cargo/remote/BUILD.mio-extras-2.0.6.bazel
index d9557d2..6e0cf10 100644
--- a/third_party/rust/cargo/remote/BUILD.mio-extras-2.0.6.bazel
+++ b/third_party/rust/cargo/remote/BUILD.mio-extras-2.0.6.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",
)
@@ -33,10 +34,7 @@
rust_library(
name = "mio_extras",
srcs = glob(["**/*.rs"]),
- crate_features = [
- ],
crate_root = "src/lib.rs",
- crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
@@ -44,15 +42,16 @@
],
tags = [
"cargo-raze",
+ "crate-name=mio-extras",
"manual",
],
version = "2.0.6",
# buildifier: leave-alone
deps = [
"@raze__lazycell__1_3_0//:lazycell",
- "@raze__log__0_4_14//:log",
+ "@raze__log__0_4_17//:log",
"@raze__mio__0_6_23//:mio",
- "@raze__slab__0_4_3//:slab",
+ "@raze__slab__0_4_7//:slab",
],
)