From 1a099460d363f6b53f544bf32407d058986d0875 Mon Sep 17 00:00:00 2001 From: BugenZhao Date: Wed, 3 Apr 2024 08:45:02 +0000 Subject: [PATCH] Fix "cargo-hakari" --- Cargo.lock | 6 +----- src/workspace-hack/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d563d83d2be3d..4c0cc42d78c82 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1381,11 +1381,7 @@ dependencies = [ "pin-project-lite", "rustversion", "serde", - "serde_json", - "serde_path_to_error", - "serde_urlencoded", "sync_wrapper", - "tokio", "tower", "tower-layer", "tower-service", @@ -14608,7 +14604,6 @@ dependencies = [ "aws-sigv4", "aws-smithy-runtime", "aws-smithy-types", - "axum 0.6.20", "base64 0.21.7", "bigdecimal 0.4.2", "bit-vec", @@ -14704,6 +14699,7 @@ dependencies = [ "sha1", "sha2", "smallvec", + "socket2 0.5.6", "sqlx", "sqlx-core", "sqlx-mysql", diff --git a/src/workspace-hack/Cargo.toml b/src/workspace-hack/Cargo.toml index 1ccd14ff77a17..c0de1148567ba 100644 --- a/src/workspace-hack/Cargo.toml +++ b/src/workspace-hack/Cargo.toml @@ -29,7 +29,6 @@ aws-sdk-s3 = { version = "1" } aws-sigv4 = { version = "1", features = ["http0-compat", "sign-eventstream", "sigv4a"] } aws-smithy-runtime = { version = "1", default-features = false, features = ["client", "rt-tokio", "tls-rustls"] } aws-smithy-types = { version = "1", default-features = false, features = ["byte-stream-poll-next", "http-body-0-4-x", "hyper-0-14-x", "rt-tokio"] } -axum = { version = "0.6" } base64 = { version = "0.21" } bigdecimal = { version = "0.4" } bit-vec = { version = "0.6" } @@ -124,6 +123,7 @@ serde_with = { version = "3", features = ["json"] } sha1 = { version = "0.10" } sha2 = { version = "0.10", features = ["oid"] } smallvec = { version = "1", default-features = false, features = ["const_new", "serde", "union", "write"] } +socket2 = { version = "0.5", default-features = false, features = ["all"] } sqlx = { version = "0.7", default-features = false, features = ["bigdecimal", "chrono", "json", "mysql", "postgres", "runtime-tokio-native-tls", "rust_decimal", "sqlite", "time", "uuid"] } sqlx-core = { version = "0.7", features = ["_rt-tokio", "_tls-native-tls", "bigdecimal", "chrono", "json", "migrate", "offline", "rust_decimal", "time", "uuid"] } sqlx-mysql = { version = "0.7", default-features = false, features = ["bigdecimal", "chrono", "json", "rust_decimal", "time", "uuid"] }