Skip to content

Commit e9c435a

Browse files
authored
Pin idna_adapter to fix MSRV CI (#480)
Starting with v1.2, the `idna_adapter` crate switched to use `icu4x`, which requires a rust version of 1.81, conflicting with our MSRV. Here, we hence pin `idna_adapter` to v1.1 in our MSRV CI.
1 parent 116fb63 commit e9c435a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/rust.yml

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
if: matrix.msrv
4747
run: |
4848
cargo update -p home --precise "0.5.9" --verbose # home v0.5.11 requires rustc 1.81 or newer
49+
cargo update -p idna_adapter --precise "1.1.0" --verbose # idna_adapter 1.2 switched to ICU4X, requiring 1.81 and newer
4950
- name: Set RUSTFLAGS to deny warnings
5051
if: "matrix.toolchain == 'stable'"
5152
run: echo "RUSTFLAGS=-D warnings" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)