From 70599c46f6645e28fc5c0d57af4649b6b092eb30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20du=20Garreau?= Date: Wed, 12 Jan 2022 19:18:46 +0100 Subject: [PATCH] Don't pin `indexmap` version --- .github/workflows/pipeline.yml | 6 ++++++ Cargo.toml | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) 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 }