Merge rust-bitcoin/rust-bitcoin#1934: CI: Pin serde_json for MSRV build
c3a99c62ad
CI: Pin serde_json for MSRV build (Tobin C. Harding) Pull request description: Recent release of `serde_json` depends on `serde` 1.0.66 but we pin to 1.0.56 Pin `serde_json` for MSRV build to v1.0.99 ACKs for top commit: apoelstra: ACKc3a99c62ad
sanket1729: ACKc3a99c62ad
Tree-SHA512: f9c4e679c9b7f827132f4172056d48fd7428330d8acdb390b022825cfcf20d96610dd7a5cd77c2e833efb8ad52f0d0a5895a7657758a0af01da47db7a881a797
This commit is contained in:
commit
504d133b4e
|
@ -26,6 +26,7 @@ fi
|
||||||
# Pin dependencies as required if we are using MSRV toolchain.
|
# Pin dependencies as required if we are using MSRV toolchain.
|
||||||
if cargo --version | grep "1\.48"; then
|
if cargo --version | grep "1\.48"; then
|
||||||
# 1.0.157 uses syn 2.0 which requires edition 2021
|
# 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 serde --precise 1.0.156
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,7 @@ fi
|
||||||
# Pin dependencies as required if we are using MSRV toolchain.
|
# Pin dependencies as required if we are using MSRV toolchain.
|
||||||
if cargo --version | grep "1\.48"; then
|
if cargo --version | grep "1\.48"; then
|
||||||
# 1.0.157 uses syn 2.0 which requires edition 2021
|
# 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 serde --precise 1.0.156
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue