Skip to content

Commit d33284f

Browse files
authored
Merge pull request lightningdevkit#3394 from tnull/2024-11-pin-idna-adapter
Pin `idna_adapter` to fix MSRV
2 parents cb650a8 + 8a8e0f7 commit d33284f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci/ci-tests.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ function PIN_RELEASE_DEPS {
1414
# Starting with version 0.7.12, the `tokio-util` crate has an MSRV of rustc 1.70.0
1515
[ "$RUSTC_MINOR_VERSION" -lt 70 ] && cargo update -p tokio-util --precise "0.7.11" --verbose
1616

17+
# url 2.5.3 switched to idna 1.0.3 and ICU4X, which requires rustc 1.67 or newer.
18+
# Here we opt to keep using unicode-rs by pinning idna_adapter as described here: https://docs.rs/crate/idna_adapter/1.2.0
19+
[ "$RUSTC_MINOR_VERSION" -lt 67 ] && cargo update -p idna_adapter --precise "1.1.0" --verbose
20+
1721
return 0 # Don't fail the script if our rustc is higher than the last check
1822
}
1923

0 commit comments

Comments
 (0)