diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index d7e652155..c92721c18 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -22,6 +22,12 @@ jobs: with: command: update args: -p bitflags --precise 1.2.1 + - uses: actions-rs/cargo@v1 + name: Downgrade indexmap to MSRV + if: ${{ matrix.rust }} == "1.43.0" + with: + command: update + args: -p indexmap --precise 1.6.2 - uses: actions-rs/cargo@v1 name: Default test with: diff --git a/Cargo.toml b/Cargo.toml index 1e2338524..70e252406 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,12 +15,14 @@ resolver = "2" all-features = true [dependencies] -# MSRV warning: bitflags 1.3 requires Rust-1.46 +# MSRV warnings: +# - bitflags 1.3 requires Rust-1.46 +# - indexmap 1.7 requires Rust-1.49 bitflags = "1" bit-set = "0.5" codespan-reporting = { version = "0.11.0", optional = true } rustc-hash = "1.1.0" -indexmap = "~1.6" # 1.7 has MSRV 1.49 +indexmap = "1.6" log = "0.4" num-traits = "0.2" spirv = { version = "0.2", optional = true }