From edf8e63f2cf70f79cbdf20fb540e2e57c3f0814a Mon Sep 17 00:00:00 2001 From: Josh McKinney Date: Sat, 22 Jun 2024 06:10:52 -0700 Subject: [PATCH] bump msrv to 1.60.0 package `windows-result v0.1.2` cannot be built because it requires rustc 1.60 or newer --- .github/workflows/test.yml | 5 ++--- Cargo.toml | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f8b9a7f..6523c0c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,9 +24,8 @@ jobs: name: Test (${{ matrix.toolchain }}) strategy: matrix: - # run on stable and beta to ensure that tests won't break on the next version of the rust - # toolchain - toolchain: [stable, beta, 1.56.0] + # run on beta to ensure that tests won't break on the next version of the rust toolchain + toolchain: [stable, beta, 1.60.0] steps: - name: Checkout uses: actions/checkout@v4 diff --git a/Cargo.toml b/Cargo.toml index 775f85b..8446dbf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,8 @@ license = "MIT" keywords = ["winapi", "abstractions", "crossterm", "windows", "screen_buffer"] exclude = ["target", "Cargo.lock"] readme = "README.md" -edition = "2018" +edition = "2021" +rust-version = "1.60.0" [target.'cfg(windows)'.dependencies] winapi = { version = "0.3.8", features = ["winbase", "consoleapi", "processenv", "handleapi", "synchapi", "impl-default"] }