From b20708f6ee652310083957c519e35a4a4e73496d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Tue, 2 Mar 2021 14:27:29 +0200 Subject: Bump cargo_metadata --- crates/flycheck/Cargo.toml | 4 ++-- crates/flycheck/src/lib.rs | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'crates/flycheck') diff --git a/crates/flycheck/Cargo.toml b/crates/flycheck/Cargo.toml index 1d19c7886..2a1a21b28 100644 --- a/crates/flycheck/Cargo.toml +++ b/crates/flycheck/Cargo.toml @@ -12,9 +12,9 @@ doctest = false [dependencies] crossbeam-channel = "0.5.0" log = "0.4.8" -cargo_metadata = "0.12.2" +cargo_metadata = "0.13" serde_json = "1.0.48" jod-thread = "0.1.1" toolchain = { path = "../toolchain", version = "0.0.0" } -stdx = { path = "../stdx", version = "0.0.0" } +stdx = { path = "../stdx", version = "0.0.0" } diff --git a/crates/flycheck/src/lib.rs b/crates/flycheck/src/lib.rs index e04208006..e2a59497a 100644 --- a/crates/flycheck/src/lib.rs +++ b/crates/flycheck/src/lib.rs @@ -194,7 +194,7 @@ impl FlycheckActor { cargo_metadata::Message::BuildScriptExecuted(_) | cargo_metadata::Message::BuildFinished(_) | cargo_metadata::Message::TextLine(_) - | cargo_metadata::Message::Unknown => {} + | _ => {} }, } } @@ -329,8 +329,7 @@ impl CargoActor { // Skip certain kinds of messages to only spend time on what's useful match &message { cargo_metadata::Message::CompilerArtifact(artifact) if artifact.fresh => (), - cargo_metadata::Message::BuildScriptExecuted(_) - | cargo_metadata::Message::Unknown => (), + cargo_metadata::Message::BuildScriptExecuted(_) => (), _ => self.sender.send(message).unwrap(), } } -- cgit v1.2.3