From a3468e19f708c1848e1144e78a8966ff1cb55209 Mon Sep 17 00:00:00 2001 From: Josh McKinney Date: Sat, 22 Jun 2024 06:41:01 -0700 Subject: [PATCH] bump msrv to 1.62.0 --- .github/workflows/test.yml | 4 ++-- Cargo.toml | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6523c0c..321a9e5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,8 +24,8 @@ jobs: name: Test (${{ matrix.toolchain }}) strategy: matrix: - # run on beta to ensure that tests won't break on the next version of the rust toolchain - toolchain: [stable, beta, 1.60.0] + # test backward and forward compatibility with msrv and beta toolchains + toolchain: [1.62.0, stable, beta] steps: - name: Checkout uses: actions/checkout@v4 diff --git a/Cargo.toml b/Cargo.toml index ac30163..ab70970 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,10 @@ edition = "2021" rust-version = "1.60.0" [target.'cfg(windows)'.dependencies] -windows = { version = "0.57.0", features = [ +# Note that 0.56.0 is the last version that supports Rust 1.62.0, the next version requires Rust +# 1.70.0. This would prevent crossterm from being able to compile this on the stable version of +# Debian (which ships with Rust 1.63.0). +windows = { version = "0.56.0", features = [ "Win32_Security", "Win32_Storage_FileSystem", "Win32_System_Console",