pin serde dep on 1.47

This commit is contained in:
Tobin C. Harding 2023-03-19 12:15:56 +11:00
parent f5f4a33fa9
commit 58033cf14e
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 6 additions and 0 deletions

View File

@ -31,6 +31,12 @@ if cargo --version | grep "1\.41"; then
cargo update -p syn --precise 1.0.107
fi
# Pin dependencies as above (required for no-std tests that use Rust 1.47 toolchain).
if cargo --version | grep "1\.47"; then
cargo update -p serde --precise 1.0.156
cargo update -p syn --precise 1.0.107
fi
# We should not have any duplicate dependencies. This catches mistakes made upgrading dependencies
# in one crate and not in another (e.g. upgrade bitcoin_hashes in bitcoin but not in secp).
duplicate_dependencies=$(