From 8b7cc3375e4ee46c42f2d82ffd87f523e670fddd Mon Sep 17 00:00:00 2001 From: Runji Wang Date: Wed, 20 Sep 2023 14:09:36 +0800 Subject: [PATCH] update tokio-postgres to v0.7.10 Signed-off-by: Runji Wang --- Cargo.lock | 11 +++++++++-- Cargo.toml | 2 +- src/workspace-hack/Cargo.toml | 4 +++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6a501a1dc0360..cd3441db7b2e2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9323,8 +9323,8 @@ dependencies = [ [[package]] name = "tokio-postgres" -version = "0.7.8" -source = "git+https://github.com/madsim-rs/rust-postgres.git?rev=4538cd6#4538cd6bacd66909a56a8aa3aa3fd7b0b52545b3" +version = "0.7.10" +source = "git+https://github.com/madsim-rs/rust-postgres.git?rev=ac00d88#ac00d8866b8abeede7747587956ef11766b5902f" dependencies = [ "async-trait", "byteorder", @@ -9340,8 +9340,10 @@ dependencies = [ "pin-project-lite", "postgres-protocol", "postgres-types", + "rand", "socket2 0.5.3", "tokio-util", + "whoami", ] [[package]] @@ -10042,6 +10044,10 @@ name = "whoami" version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22fc3756b8a9133049b26c7f61ab35416c130e8c09b660f5b3958b446f52cc50" +dependencies = [ + "wasm-bindgen", + "web-sys", +] [[package]] name = "winapi" @@ -10363,6 +10369,7 @@ dependencies = [ "unicode-normalization", "url", "uuid", + "whoami", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index ccca32af0b9e8..cce3273c1c361 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -223,6 +223,6 @@ quanta = { git = "https://github.com/madsim-rs/quanta.git", rev = "948bdc3" } getrandom = { git = "https://github.com/madsim-rs/getrandom.git", rev = "8daf97e" } tokio-stream = { git = "https://github.com/madsim-rs/tokio.git", rev = "fe39bb8e" } tokio-retry = { git = "https://github.com/madsim-rs/rust-tokio-retry.git", rev = "95e2fd3" } -tokio-postgres = { git = "https://github.com/madsim-rs/rust-postgres.git", rev = "4538cd6" } +tokio-postgres = { git = "https://github.com/madsim-rs/rust-postgres.git", rev = "ac00d88" } # patch: unlimit 4MB message size for grpc client etcd-client = { git = "https://github.com/risingwavelabs/etcd-client.git", rev = "d55550a" } diff --git a/src/workspace-hack/Cargo.toml b/src/workspace-hack/Cargo.toml index 9a8ddc3de1173..acbc053ff9983 100644 --- a/src/workspace-hack/Cargo.toml +++ b/src/workspace-hack/Cargo.toml @@ -112,7 +112,7 @@ 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"] } tokio = { version = "1", features = ["full", "stats", "tracing"] } -tokio-postgres = { git = "https://github.com/madsim-rs/rust-postgres.git", rev = "4538cd6", features = ["with-chrono-0_4"] } +tokio-postgres = { git = "https://github.com/madsim-rs/rust-postgres.git", rev = "ac00d88", features = ["with-chrono-0_4"] } tokio-stream = { git = "https://github.com/madsim-rs/tokio.git", rev = "fe39bb8e", features = ["fs", "net"] } tokio-util = { version = "0.7", features = ["codec", "io"] } toml_datetime = { version = "0.6", default-features = false, features = ["serde"] } @@ -126,6 +126,7 @@ unicode-bidi = { version = "0.3" } unicode-normalization = { version = "0.1" } url = { version = "2", features = ["serde"] } uuid = { version = "1", features = ["fast-rng", "serde", "v4"] } +whoami = { version = "1" } [build-dependencies] ahash = { version = "0.8" } @@ -206,5 +207,6 @@ tracing-core = { version = "0.1" } unicode-bidi = { version = "0.3" } unicode-normalization = { version = "0.1" } url = { version = "2", features = ["serde"] } +whoami = { version = "1" } ### END HAKARI SECTION