diff --git a/Cargo.lock b/Cargo.lock index ce9e6d92c79c3..15caafdb7a660 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6053,11 +6053,11 @@ dependencies = [ [[package]] name = "postgres-protocol" -version = "0.6.4" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "878c6cbf956e03af9aa8204b407b9cbf47c072164800aa918c516cd4b056c50c" +checksum = "49b6c5ef183cd3ab4ba005f1ca64c21e8bd97ce4699cfea9e8d9a2c4958ca520" dependencies = [ - "base64 0.13.1", + "base64 0.21.2", "byteorder", "bytes 1.4.0", "fallible-iterator", @@ -6071,9 +6071,9 @@ dependencies = [ [[package]] name = "postgres-types" -version = "0.2.4" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73d946ec7d256b04dfadc4e6a3292324e6f417124750fc5c0950f981b703a0f1" +checksum = "8d2234cdee9408b523530a9b6d2d6b373d1db34f6a8e51dc03ded1828d7fb67c" dependencies = [ "bytes 1.4.0", "chrono", @@ -8283,9 +8283,9 @@ dependencies = [ [[package]] name = "tokio-postgres" -version = "0.7.7" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29a12c1b3e0704ae7dfc25562629798b29c72e6b1d0a681b6f29ab4ae5e7f7bf" +checksum = "000387915083ea6406ee44b50ca74813aba799fe682a7689e382bf9e13b74ce9" dependencies = [ "async-trait", "byteorder", @@ -8300,9 +8300,11 @@ dependencies = [ "pin-project-lite", "postgres-protocol", "postgres-types", - "socket2 0.4.9", + "rand 0.8.5", + "socket2 0.5.3", "tokio", "tokio-util", + "whoami", ] [[package]] @@ -9936,6 +9938,16 @@ dependencies = [ "once_cell", ] +[[package]] +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 = "widestring" version = "0.4.3" diff --git a/Cargo.toml b/Cargo.toml index de6bdc4cb2552..e48a0311ec5e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -305,7 +305,7 @@ stream-cancel = { version = "0.8.1", default-features = false } strip-ansi-escapes = { version = "0.1.1", default-features = false } syslog = { version = "6.1.0", default-features = false, optional = true } tikv-jemallocator = { version = "0.5.0", default-features = false, optional = true } -tokio-postgres = { version = "0.7.7", default-features = false, features = ["runtime", "with-chrono-0_4"], optional = true } +tokio-postgres = { version = "0.7.9", default-features = false, features = ["runtime", "with-chrono-0_4"], optional = true } tokio-tungstenite = {version = "0.19.0", default-features = false, features = ["connect"], optional = true} toml = { version = "0.7.4", default-features = false, features = ["parse", "display"] } tonic = { version = "0.9", optional = true, default-features = false, features = ["transport", "codegen", "prost", "tls", "tls-roots", "gzip"] }