Merge bitcoindevkit/bdk#1157: chore: pin byteorder and webpki to fix MSRV

1db3f87a4850c11b010ceafeba8a64ee0e54e022 chore: pin `byteorder` and `webpki` to fix MSRV (志宇)

Pull request description:

  * pin `byteorder` to 1.4.3
  * pin `webpki` to 0.22.2
  * it's tokio:1.33.0 that needs to be pinned to 1.29.1
  * fix README MSRV comments

ACKs for top commit:
  danielabrozzoni:
    utACK 1db3f87a4850c11b010ceafeba8a64ee0e54e022

Tree-SHA512: 4c2dc009ea117dd7ca18c7a836eb2b169c68d6ccaf84f85bcc2d4a3bcb7b008ad99f1dadf933b20c9d6ca6cc761e89dbafa99f99e31776e291f480cd6a112b1d
This commit is contained in:
Daniela Brozzoni 2023-10-09 15:03:27 +02:00
commit 77cde96229
No known key found for this signature in database
GPG Key ID: 7DE4F1FDCED0AB87
2 changed files with 12 additions and 6 deletions

View File

@ -34,7 +34,7 @@ jobs:
cargo update -p tempfile --precise "3.6.0" cargo update -p tempfile --precise "3.6.0"
cargo update -p rustls:0.21.7 --precise "0.21.1" cargo update -p rustls:0.21.7 --precise "0.21.1"
cargo update -p rustls:0.20.9 --precise "0.20.8" cargo update -p rustls:0.20.9 --precise "0.20.8"
cargo update -p tokio:1.32.0 --precise "1.29.1" cargo update -p tokio:1.33.0 --precise "1.29.1"
cargo update -p tokio-util --precise "0.7.8" cargo update -p tokio-util --precise "0.7.8"
cargo update -p flate2:1.0.27 --precise "1.0.26" cargo update -p flate2:1.0.27 --precise "1.0.26"
cargo update -p reqwest --precise "0.11.18" cargo update -p reqwest --precise "0.11.18"
@ -44,6 +44,8 @@ jobs:
cargo update -p zip:0.6.6 --precise "0.6.2" cargo update -p zip:0.6.6 --precise "0.6.2"
cargo update -p time --precise "0.3.13" cargo update -p time --precise "0.3.13"
cargo update -p cc --precise "1.0.81" cargo update -p cc --precise "1.0.81"
cargo update -p byteorder --precise "1.4.3"
cargo update -p webpki --precise "0.22.2"
- name: Build - name: Build
run: cargo build ${{ matrix.features }} run: cargo build ${{ matrix.features }}
- name: Test - name: Test

View File

@ -69,12 +69,12 @@ To build with the MSRV you will need to pin dependencies as follows:
cargo update -p log --precise "0.4.18" cargo update -p log --precise "0.4.18"
# tempfile 3.7.0 has MSRV 1.63.0+ # tempfile 3.7.0 has MSRV 1.63.0+
cargo update -p tempfile --precise "3.6.0" cargo update -p tempfile --precise "3.6.0"
# rustls 0.21.2 has MSRV 1.60.0+ # rustls 0.21.7 has MSRV 1.60.0+
cargo update -p rustls:0.21.7 --precise "0.21.1" cargo update -p rustls:0.21.7 --precise "0.21.1"
# rustls 0.20.9 has MSRV 1.60.0+ # rustls 0.20.9 has MSRV 1.60.0+
cargo update -p rustls:0.20.9 --precise "0.20.8" cargo update -p rustls:0.20.9 --precise "0.20.8"
# tokio 1.30 has MSRV 1.63.0+ # tokio 1.33 has MSRV 1.63.0+
cargo update -p tokio:1.32.0 --precise "1.29.1" cargo update -p tokio:1.33.0 --precise "1.29.1"
# tokio-util 0.7.9 doesn't build with MSRV 1.57.0 # tokio-util 0.7.9 doesn't build with MSRV 1.57.0
cargo update -p tokio-util --precise "0.7.8" cargo update -p tokio-util --precise "0.7.8"
# flate2 1.0.27 has MSRV 1.63.0+ # flate2 1.0.27 has MSRV 1.63.0+
@ -83,16 +83,20 @@ cargo update -p flate2:1.0.27 --precise "1.0.26"
cargo update -p reqwest --precise "0.11.18" cargo update -p reqwest --precise "0.11.18"
# h2 0.3.21 has MSRV 1.63.0+ # h2 0.3.21 has MSRV 1.63.0+
cargo update -p h2 --precise "0.3.20" cargo update -p h2 --precise "0.3.20"
# rustls-webpki 0.100.2 has MSRV 1.60.0+ # rustls-webpki 0.100.3 has MSRV 1.60.0+
cargo update -p rustls-webpki:0.100.3 --precise "0.100.1" cargo update -p rustls-webpki:0.100.3 --precise "0.100.1"
# rustls-webpki 0.101.2 has MSRV 1.60.0+ # rustls-webpki 0.101.2 has MSRV 1.60.0+
cargo update -p rustls-webpki:0.101.6 --precise "0.101.1" cargo update -p rustls-webpki:0.101.6 --precise "0.101.1"
# zip 0.6.3 has MSRV 1.59.0+ # zip 0.6.6 has MSRV 1.59.0+
cargo update -p zip:0.6.6 --precise "0.6.2" cargo update -p zip:0.6.6 --precise "0.6.2"
# time 0.3.14 has MSRV 1.59.0+ # time 0.3.14 has MSRV 1.59.0+
cargo update -p time --precise "0.3.13" cargo update -p time --precise "0.3.13"
# cc 1.0.82 has MSRV 1.61.0+ # cc 1.0.82 has MSRV 1.61.0+
cargo update -p cc --precise "1.0.81" cargo update -p cc --precise "1.0.81"
# 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"
``` ```
## License ## License