From a5a39138f8d64ec8c0984e19ed192750e94ef6ba Mon Sep 17 00:00:00 2001 From: James Guthrie Date: Wed, 13 Nov 2024 16:45:25 +0100 Subject: [PATCH] chore: fix doctests --- Cargo.lock | 9 +++++---- tools/sql-doctester/Cargo.toml | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 601dad46..c63c715c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1660,9 +1660,9 @@ dependencies = [ [[package]] name = "postgres" -version = "0.19.9" +version = "0.19.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95c918733159f4d55d2ceb262950f00b0aebd6af4aa97b5a47bb0655120475ed" +checksum = "7915b33ed60abc46040cbcaa25ffa1c7ec240668e0477c4f3070786f5916d451" dependencies = [ "bytes", "fallible-iterator", @@ -2185,6 +2185,7 @@ dependencies = [ "postgres", "pulldown-cmark", "rayon", + "tokio-postgres", "uuid 0.8.2", "walkdir", ] @@ -2506,9 +2507,9 @@ dependencies = [ [[package]] name = "tokio-postgres" -version = "0.7.12" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b5d3742945bc7d7f210693b0c58ae542c6fd47b17adbbda0885f3dcb34a6bdb" +checksum = "d340244b32d920260ae7448cb72b6e238bddc3d4f7603394e7dd46ed8e48f5b8" dependencies = [ "async-trait", "byteorder", diff --git a/tools/sql-doctester/Cargo.toml b/tools/sql-doctester/Cargo.toml index f4a08d23..20fd6e2e 100644 --- a/tools/sql-doctester/Cargo.toml +++ b/tools/sql-doctester/Cargo.toml @@ -7,7 +7,8 @@ edition = "2021" bytecount = "0.6.2" clap = { version = "3.2.15", features = ["wrap_help"] } colored = "2.0.0" -postgres = "0.19.1" +postgres = "=0.19.7" +tokio-postgres = "=0.7.10" pulldown-cmark = "0.8.0" rayon = "1.5" uuid = { version = "0.8", features = ["v4"] }