From 42254ed14e9a2019d68f5b7d5711090a46d6f391 Mon Sep 17 00:00:00 2001 From: Daniel Burgener Date: Tue, 26 Sep 2023 15:47:42 -0400 Subject: [PATCH] Bump MSRV to 1.70 This is required for dependency clap --- .github/workflows/rust.yml | 4 ++-- Cargo.toml | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c84063db..d2685df9 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -27,8 +27,8 @@ jobs: # informationally check the latest as well. We should # regularly update the known good once we know that tests # pass on it - # 1.66 is our MSRV, so we should keep testing on it - rust-toolchain: [ 1.71, stable, nightly, 1.66 ] + # 1.70 is our MSRV, so we should keep testing on it + rust-toolchain: [ 1.71, stable, nightly, 1.70 ] steps: - uses: actions/checkout@v3 - name: Setup diff --git a/Cargo.toml b/Cargo.toml index 26b1e326..24d1e361 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,9 +8,8 @@ license = "MIT" repository = "https://github.com/dburgener/cascade" readme = "README.md" keywords = [ "selinux" ] -# Rust 1.66 is required by BTreeSet::pop_first() -# https://doc.rust-lang.org/stable/std/collections/struct.BTreeSet.html#method.pop_first -rust-version = "1.66" +# Clap requires 1.70 +rust-version = "1.70" [build-dependencies] lalrpop = "0.19"