Skip to content

Commit a39988d

Browse files
committed
ci: pin deps for 1.41.1
1 parent febf493 commit a39988d

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ rand_chacha = "0.3"
4040
serde_test = "1.0"
4141
serde_json = "1.0"
4242
serde_cbor = "0.8" # older than latest version to support 1.41.1
43-
ryu = "<1.0.5"
4443
bincode = "1.3"
4544
base64 = "0.13.0"
4645

contrib/test.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ then
88
alias cargo="cargo +$TOOLCHAIN"
99
fi
1010

11+
# Pin dependencies as required if we are using MSRV toolchain.
12+
if cargo --version | grep "1\.41"; then
13+
# can be removed with elementsd 0.8.0
14+
cargo update -p zip --precise 0.5.6
15+
# 1.0.157 uses syn 2.0 which requires edition 2018
16+
cargo update -p serde --precise 1.0.156
17+
# 1.0.108 uses `matches!` macro so does not work with Rust 1.41.1, bad `syn` no biscuit.
18+
cargo update -p syn --precise 1.0.107
19+
fi
20+
1121
# Test without any features first
1222
cargo test --verbose --no-default-features
1323
# Then test with the default features

0 commit comments

Comments
 (0)