Skip to content

Commit f5f4a33

Browse files
committed
pin serde dep on 1.41
1 parent ee9b297 commit f5f4a33

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,11 @@ For more information please see `./CONTRIBUTING.md`.
7979
This library should always compile with any combination of features (minus
8080
`no-std`) on **Rust 1.41.1** or **Rust 1.47** with `no-std`.
8181

82-
To build with the MSRV you will need to pin some dependencies, currently this is
83-
only `syn`, and can be achieved using `cargo update -p syn --precise 1.0.107`.
82+
To build with the MSRV you will need to pin some dependencies:
83+
```
84+
cargo update -p serde --precise 1.0.156
85+
cargo update -p syn --precise 1.0.107
86+
```
8487

8588
## Installing Rust
8689

bitcoin/contrib/test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ fi
2525

2626
# Pin dependencies as required if we are using MSRV toolchain.
2727
if cargo --version | grep "1\.41"; then
28+
# 1.0.157 uses syn 2.0 which requires edition 2018
29+
cargo update -p serde --precise 1.0.156
2830
# 1.0.108 uses `matches!` macro so does not work with Rust 1.41.1, bad `syn` no biscuit.
2931
cargo update -p syn --precise 1.0.107
3032
fi

0 commit comments

Comments
 (0)