From 4ee41dbc402121d14ffa099863bf35329851c1e4 Mon Sep 17 00:00:00 2001 From: thunderbiscuit Date: Mon, 16 Oct 2023 12:56:19 -0400 Subject: [PATCH 1/2] build(esplora): Add async-https-rustls flag to esplora client --- crates/esplora/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/esplora/Cargo.toml b/crates/esplora/Cargo.toml index bc127c087..386941dbd 100644 --- a/crates/esplora/Cargo.toml +++ b/crates/esplora/Cargo.toml @@ -30,4 +30,5 @@ default = ["std", "async-https", "blocking"] std = ["bdk_chain/std"] async = ["async-trait", "futures", "esplora-client/async"] async-https = ["async", "esplora-client/async-https"] +async-https-rustls = ["async", "esplora-client/async-https-rustls"] blocking = ["esplora-client/blocking"] From 6817ca9bcbff957efb58f96886a30b6bd87c0cde Mon Sep 17 00:00:00 2001 From: thunderbiscuit Date: Mon, 20 Nov 2023 20:02:31 -0500 Subject: [PATCH 2/2] ci: pin hyper-rustls version to 0.24.0 for 1.57 MSRV --- .github/workflows/cont_integration.yml | 3 ++- README.md | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml index 4bd9db305..d80a36bea 100644 --- a/.github/workflows/cont_integration.yml +++ b/.github/workflows/cont_integration.yml @@ -32,12 +32,13 @@ jobs: run: | cargo update -p log --precise "0.4.18" cargo update -p tempfile --precise "3.6.0" + cargo update -p reqwest --precise "0.11.18" + cargo update -p hyper-rustls --precise 0.24.0 cargo update -p rustls:0.21.9 --precise "0.21.1" cargo update -p rustls:0.20.9 --precise "0.20.8" cargo update -p tokio --precise "1.29.1" cargo update -p tokio-util --precise "0.7.8" cargo update -p flate2 --precise "1.0.26" - cargo update -p reqwest --precise "0.11.18" cargo update -p h2 --precise "0.3.20" cargo update -p rustls-webpki:0.100.3 --precise "0.100.1" cargo update -p rustls-webpki:0.101.7 --precise "0.101.1" diff --git a/README.md b/README.md index 9c6ada208..ecb8c2669 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,10 @@ To build with the MSRV you will need to pin dependencies as follows: cargo update -p log --precise "0.4.18" # tempfile 3.7.0 has MSRV 1.63.0+ cargo update -p tempfile --precise "3.6.0" +# reqwest 0.11.19 has MSRV 1.63.0+ +cargo update -p reqwest --precise "0.11.18" +# hyper-rustls 0.24.1 has MSRV 1.60.0+ +cargo update -p hyper-rustls --precise 0.24.0 # rustls 0.21.7 has MSRV 1.60.0+ cargo update -p rustls:0.21.9 --precise "0.21.1" # rustls 0.20.9 has MSRV 1.60.0+ @@ -79,8 +83,6 @@ cargo update -p tokio --precise "1.29.1" cargo update -p tokio-util --precise "0.7.8" # flate2 1.0.27 has MSRV 1.63.0+ cargo update -p flate2 --precise "1.0.26" -# reqwest 0.11.19 has MSRV 1.63.0+ -cargo update -p reqwest --precise "0.11.18" # h2 0.3.21 has MSRV 1.63.0+ cargo update -p h2 --precise "0.3.20" # rustls-webpki 0.100.3 has MSRV 1.60.0+