Merge rust-bitcoin/rust-bitcoin#2077: CI: Pin `syn`
f5bc9b3cd4
Remove pinning docs from readme (Tobin C. Harding)34890827ae
Pin syn to 2.0.32 (Tobin C. Harding) Pull request description: Lets see if this fixes CI. ACKs for top commit: apoelstra: ACKf5bc9b3cd4
Tree-SHA512: 71b5a9b12782948a7fa2c6a4c9448d580ccde6c347eb9d399f97cf16d7b5dd7bbac19b2906eeccaa3cd6ff289a797d210518edbe985aa7a340ac6723cd0188e1
This commit is contained in:
commit
e70836c871
14
README.md
14
README.md
|
@ -71,18 +71,8 @@ For more information please see `./CONTRIBUTING.md`.
|
||||||
|
|
||||||
This library should always compile with any combination of features on **Rust 1.48.0**.
|
This library should always compile with any combination of features on **Rust 1.48.0**.
|
||||||
|
|
||||||
To build with the MSRV you will need to pin `serde` (if you have the feature enabled)
|
To build with the MSRV you will likely need to pin a bunch of dependencies, see `./contrib/test.sh`
|
||||||
|
for the current list.
|
||||||
```
|
|
||||||
# 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 quote --precise 1.0.30
|
|
||||||
cargo update -p proc-macro2 --precise 1.0.63
|
|
||||||
cargo update -p serde_test --precise 1.0.175
|
|
||||||
```
|
|
||||||
|
|
||||||
The above commands are sourced from `./contrib/test.sh`.
|
|
||||||
|
|
||||||
## External dependencies
|
## External dependencies
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,8 @@ MSRV="1\.48\.0"
|
||||||
|
|
||||||
# Test pinned versions.
|
# Test pinned versions.
|
||||||
if cargo --version | grep ${MSRV}; then
|
if cargo --version | grep ${MSRV}; then
|
||||||
|
cargo update -p syn:2.0.37 --precise 2.0.32
|
||||||
|
|
||||||
cargo update -p serde_json --precise 1.0.99
|
cargo update -p serde_json --precise 1.0.99
|
||||||
cargo update -p serde --precise 1.0.156
|
cargo update -p serde --precise 1.0.156
|
||||||
cargo update -p quote --precise 1.0.30
|
cargo update -p quote --precise 1.0.30
|
||||||
|
|
Loading…
Reference in New Issue