Merge rust-bitcoin/rust-bitcoin#1977: Update what deps to pin

443a4c5869 Remove pins from test script (yancy)
a0c5c1282a Update what deps to pin (yancy)

Pull request description:

  Update the deps to pin so that they match contrib/test.sh: https://github.com/rust-bitcoin/rust-bitcoin/blob/master/bitcoin/contrib/test.sh#L27

ACKs for top commit:
  apoelstra:
    ACK 443a4c5869
  tcharding:
    ACK 443a4c5869

Tree-SHA512: 84b10f1020328f1609c572d67aafa54203a9b84ecfb57ce217ede2b7d735495e9699eeb4a48f09c291922b7218bf6a359dbe6791bb915e7eefd1031409334aff
This commit is contained in:
Andrew Poelstra 2023-08-10 14:40:37 +00:00
commit b60c19261c
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
2 changed files with 4 additions and 8 deletions

View File

@ -75,8 +75,11 @@ To build with the MSRV you will need to pin `serde` (if you have the feature ena
```
# serde 1.0.157 uses syn 2.0 which requires edition 2021
cargo update -p serde_json --precise 1.0.99
cargo update -p serde --precise 1.0.156
cargo update -p half --precise 1.7.1
cargo update -p quote --precise 1.0.30
cargo update -p proc-macro2 --precise 1.0.63
cargo update -p serde_test --precise 1.0.175
```
## External dependencies

View File

@ -23,13 +23,6 @@ if cargo --version | grep beta; then
STABLE=false
fi
# Pin dependencies as required if we are using MSRV toolchain.
if cargo --version | grep "1\.48"; then
# 1.0.157 uses syn 2.0 which requires edition 2021
cargo update -p serde_json --precise 1.0.99
cargo update -p serde --precise 1.0.156
fi
if [ "$DO_LINT" = true ]
then
cargo clippy --locked --all-features --all-targets -- -D warnings