Skip to content

Commit

Permalink
Pin indexmap back to account for hashbrown MSRV bump
Browse files Browse the repository at this point in the history
`indexmap` 2.6.0 upgraded to `hashbrown` 0.15, which unfortunately bumped
their MSRV to rustc 1.65 with the 0.15.1 release. So we pin `indexmap` to
2.5.0 to fix our MSRV CI.
  • Loading branch information
tnull committed Nov 7, 2024
1 parent 8f61e46 commit be9133e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
cargo update -p tokio --precise "1.38.1" --verbose # tokio v1.39.0 requires rustc 1.70 or newer
cargo update -p tokio-util --precise "0.7.11" --verbose # tokio-util v0.7.12 requires rustc 1.70 or newer
cargo update -p idna_adapter --precise "1.1.0" --verbose # url 2.5.3 switched to idna 1.0.3 and ICU4X, which requires rustc 1.67 or newer. Here we opt to keep using unicode-rs by pinning idna_adapter as described here: https://docs.rs/crate/idna_adapter/1.2.0
cargo update -p indexmap --precise "2.5.0" --verbose # indexmap 2.6.0 upgraded to hashbrown 0.15, which unfortunately bumped their MSRV to rustc 1.65 with the 0.15.1 release
- name: Set RUSTFLAGS to deny warnings
if: "matrix.toolchain == 'stable'"
run: echo "RUSTFLAGS=-D warnings" >> "$GITHUB_ENV"
Expand Down

0 comments on commit be9133e

Please sign in to comment.