From 9f936c08dcd96e8c3fda914f5d3f5ec24aecd4db Mon Sep 17 00:00:00 2001 From: Adam Reichold Date: Sat, 6 Aug 2022 14:17:35 +0200 Subject: [PATCH] Include 0.11 in the range of compatible phf versions. --- .github/workflows/main.yml | 4 ++++ Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b083c3e6..9da582a6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,6 +35,10 @@ jobs: toolchain: ${{ matrix.toolchain }} override: true + - name: Downgrade phf to a version compatible with the MSRV + run: cargo update --package phf:0.11.0 --precise 0.10.1 + if: matrix.toolchain == '1.40.0' + - name: Cargo build run: cargo build ${{ matrix.features }} diff --git a/Cargo.toml b/Cargo.toml index 7c0b5aff..a1032966 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ cssparser-macros = {path = "./macros", version = "0.6"} dtoa-short = "0.3" itoa = "1.0" matches = "0.1" -phf = {version = ">=0.8,<=0.10", features = ["macros"]} +phf = {version = ">=0.8,<=0.11", features = ["macros"]} serde = {version = "1.0", optional = true} smallvec = "1.0"