From 169385bb5ba0fe6ad3ed4fbbad431904582c7eb7 Mon Sep 17 00:00:00 2001
From: Steve Myers
Date: Tue, 24 Oct 2023 21:55:19 -0500
Subject: [PATCH] ci: change MSRV to 1.63.0
---
.github/workflows/cont_integration.yml | 24 +++----------
README.md | 48 +++++---------------------
crates/bdk/Cargo.toml | 2 +-
crates/bdk/README.md | 2 +-
crates/bitcoind_rpc/Cargo.toml | 2 +-
crates/chain/Cargo.toml | 2 +-
6 files changed, 16 insertions(+), 64 deletions(-)
diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml
index d80a36bea..1892242ad 100644
--- a/.github/workflows/cont_integration.yml
+++ b/.github/workflows/cont_integration.yml
@@ -12,7 +12,7 @@ jobs:
rust:
- version: stable
clippy: true
- - version: 1.57.0 # MSRV
+ - version: 1.63.0 # MSRV
features:
- --no-default-features
- --all-features
@@ -28,28 +28,12 @@ jobs:
- name: Rust Cache
uses: Swatinem/rust-cache@v2.2.1
- name: Pin dependencies for MSRV
- if: matrix.rust.version == '1.57.0'
+ if: matrix.rust.version == '1.63.0'
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 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"
cargo update -p zip --precise "0.6.2"
- cargo update -p time --precise "0.3.13"
- cargo update -p byteorder --precise "1.4.3"
- cargo update -p webpki --precise "0.22.2"
- cargo update -p os_str_bytes --precise 6.5.1
- cargo update -p sct --precise 0.7.0
- cargo update -p cc --precise "1.0.81"
+ cargo update -p time --precise "0.3.20"
cargo update -p jobserver --precise "0.1.26"
+ cargo update -p reqwest --precise "0.11.19"
- name: Build
run: cargo build ${{ matrix.features }}
- name: Test
diff --git a/README.md b/README.md
index ecb8c2669..087c4e68c 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@
-
+
@@ -60,51 +60,19 @@ Fully working examples of how to use these components are in `/example-crates`:
[`bdk_chain`]: https://docs.rs/bdk-chain/
## Minimum Supported Rust Version (MSRV)
-This library should compile with any combination of features with Rust 1.57.0.
+This library should compile with any combination of features with Rust 1.63.0.
To build with the MSRV you will need to pin dependencies as follows:
```shell
-# log 0.4.19 has MSRV 1.60.0+
-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+
-cargo update -p rustls:0.20.9 --precise "0.20.8"
-# tokio 1.33 has MSRV 1.63.0+
-cargo update -p tokio --precise "1.29.1"
-# tokio-util 0.7.9 doesn't build with MSRV 1.57.0
-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"
-# 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+
-cargo update -p rustls-webpki:0.100.3 --precise "0.100.1"
-# rustls-webpki 0.101.2 has MSRV 1.60.0+
-cargo update -p rustls-webpki:0.101.7 --precise "0.101.1"
-# zip 0.6.6 has MSRV 1.59.0+
+# zip 0.6.3 has MSRV 1.64.0+
cargo update -p zip --precise "0.6.2"
-# time 0.3.14 has MSRV 1.59.0+
-cargo update -p time --precise "0.3.13"
-# byteorder 1.5.0 has MSRV 1.60.0+
-cargo update -p byteorder --precise "1.4.3"
-# webpki 0.22.4 requires `ring:0.17.2` which has MSRV 1.61.0+
-cargo update -p webpki --precise "0.22.2"
-# os_str_bytes 6.6.0 has MSRV 1.61.0+
-cargo update -p os_str_bytes --precise 6.5.1
-# sct 0.7.1 has MSRV 1.61.0+
-cargo update -p sct --precise 0.7.0
-# cc 1.0.82 has MSRV 1.61.0+
-cargo update -p cc --precise "1.0.81"
-# jobserver 0.1.27 has MSRV 1.66.0+
+# time 0.3.21 has MSRV 1.65.0+
+cargo update -p time --precise "0.3.20"
+# jobserver 0.1.27 has MSRV 1.66.0
cargo update -p jobserver --precise "0.1.26"
+# reqwest 0.11.20 has MSRV > 1.63.0+
+cargo update -p reqwest --precise "0.11.19"
```
## License
diff --git a/crates/bdk/Cargo.toml b/crates/bdk/Cargo.toml
index dd61822f1..57c209004 100644
--- a/crates/bdk/Cargo.toml
+++ b/crates/bdk/Cargo.toml
@@ -10,7 +10,7 @@ readme = "README.md"
license = "MIT OR Apache-2.0"
authors = ["Bitcoin Dev Kit Developers"]
edition = "2021"
-rust-version = "1.57"
+rust-version = "1.63"
[dependencies]
rand = "^0.8"
diff --git a/crates/bdk/README.md b/crates/bdk/README.md
index f911a4ea6..fa23f20a2 100644
--- a/crates/bdk/README.md
+++ b/crates/bdk/README.md
@@ -13,7 +13,7 @@
-
+
diff --git a/crates/bitcoind_rpc/Cargo.toml b/crates/bitcoind_rpc/Cargo.toml
index 7b91be1f3..bc629854e 100644
--- a/crates/bitcoind_rpc/Cargo.toml
+++ b/crates/bitcoind_rpc/Cargo.toml
@@ -2,7 +2,7 @@
name = "bdk_bitcoind_rpc"
version = "0.1.0"
edition = "2021"
-rust-version = "1.57"
+rust-version = "1.63"
homepage = "https://bitcoindevkit.org"
repository = "https://github.com/bitcoindevkit/bdk"
documentation = "https://docs.rs/bdk_bitcoind_rpc"
diff --git a/crates/chain/Cargo.toml b/crates/chain/Cargo.toml
index 7af7d3410..fd90faacf 100644
--- a/crates/chain/Cargo.toml
+++ b/crates/chain/Cargo.toml
@@ -2,7 +2,7 @@
name = "bdk_chain"
version = "0.6.0"
edition = "2021"
-rust-version = "1.57"
+rust-version = "1.63"
homepage = "https://bitcoindevkit.org"
repository = "https://github.com/bitcoindevkit/bdk"
documentation = "https://docs.rs/bdk_chain"