From 609f36f11f023a26a789f9b9c2a0dba3f04833bf Mon Sep 17 00:00:00 2001 From: klensy Date: Thu, 25 May 2023 13:03:17 +0300 Subject: [PATCH 1/2] deps: drop serde feature from url --- clippy_lints/Cargo.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/clippy_lints/Cargo.toml b/clippy_lints/Cargo.toml index 1b818e8ab64d..01cefc32a4d8 100644 --- a/clippy_lints/Cargo.toml +++ b/clippy_lints/Cargo.toml @@ -26,9 +26,7 @@ unicode-normalization = "0.1" unicode-script = { version = "0.5", default-features = false } semver = "1.0" rustc-semver = "1.1" -# NOTE: cargo requires serde feat in its url dep -# see -url = { version = "2.2", features = ["serde"] } +url = "2.2" [features] deny-warnings = ["clippy_utils/deny-warnings"] From 066037b620b3ee72af25a88b626b991b4d522f31 Mon Sep 17 00:00:00 2001 From: klensy Date: Thu, 25 May 2023 13:26:17 +0300 Subject: [PATCH 2/2] actually, remove rustc-workspace-hack dependency too --- Cargo.toml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3c72bb62ed19..257d067dcd84 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,11 +35,6 @@ walkdir = "2.3" # This is used by the `collect-metadata` alias. filetime = "0.2" -# A noop dependency that changes in the Rust repository, it's a bit of a hack. -# See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust` -# for more information. -rustc-workspace-hack = "1.0" - # UI test dependencies clap = { version = "4.1.4", features = ["derive"] } clippy_utils = { path = "clippy_utils" }