From f21d71add7396add9f3632c0a520d2eea7b9d613 Mon Sep 17 00:00:00 2001 From: wcy-fdu Date: Mon, 18 Sep 2023 10:39:16 +0000 Subject: [PATCH] Fix "cargo-hakari" --- Cargo.lock | 1 + src/workspace-hack/Cargo.toml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 46b27679e2a44..45d7cb8948755 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10172,6 +10172,7 @@ dependencies = [ "serde_json", "serde_with 3.3.0", "smallvec", + "socket2 0.5.4", "subtle", "syn 1.0.109", "syn 2.0.37", diff --git a/src/workspace-hack/Cargo.toml b/src/workspace-hack/Cargo.toml index 603619f3a8b27..a48adc433f33b 100644 --- a/src/workspace-hack/Cargo.toml +++ b/src/workspace-hack/Cargo.toml @@ -94,6 +94,7 @@ serde = { version = "1", features = ["alloc", "derive", "rc"] } serde_json = { version = "1", features = ["alloc"] } serde_with = { version = "3", features = ["json"] } smallvec = { version = "1", default-features = false, features = ["serde", "union", "write"] } +socket2 = { version = "0.5", default-features = false, features = ["all"] } subtle = { version = "2" } time = { version = "0.3", features = ["local-offset", "macros", "serde-well-known"] } tinyvec = { version = "1", features = ["alloc", "grab_spare_slice", "rustc_1_55"] } @@ -194,6 +195,7 @@ serde = { version = "1", features = ["alloc", "derive", "rc"] } serde_json = { version = "1", features = ["alloc"] } serde_with = { version = "3", features = ["json"] } smallvec = { version = "1", default-features = false, features = ["serde", "union", "write"] } +socket2 = { version = "0.5", default-features = false, features = ["all"] } subtle = { version = "2" } syn-dff4ba8e3ae991db = { package = "syn", version = "1", features = ["extra-traits", "full", "visit", "visit-mut"] } syn-f595c2ba2a3f28df = { package = "syn", version = "2", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] }