Skip to content

Commit 038b281

Browse files
committed
Pin idna_adapter to fix MSRV
1 parent a130bd6 commit 038b281

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
@@ -73,6 +73,10 @@ cargo test -p lightning-block-sync --verbose --color always --features rpc-clien
7373
cargo check -p lightning-block-sync --verbose --color always --features rpc-client,rest-client,tokio
7474

7575
if [[ "$HOST_PLATFORM" != *windows* ]]; then
76+
# url 2.5.3 switched to idna 1.0.3 and ICU4X, which requires rustc 1.67 or newer.
77+
# Here we opt to keep using unicode-rs by pinning idna_adapter as described here: https://docs.rs/crate/idna_adapter/1.2.0
78+
[ "$RUSTC_MINOR_VERSION" -lt 67 ] && cargo update -p idna_adapter --precise "1.1.0" --verbose
79+
7680
echo -e "\n\nChecking Transaction Sync Clients with features."
7781
cargo check -p lightning-transaction-sync --verbose --color always --features esplora-blocking
7882
cargo check -p lightning-transaction-sync --verbose --color always --features esplora-async

0 commit comments

Comments
 (0)