From b8885f957807c14b74dc00d0ccbe4bec3a50a20f Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Mon, 6 Mar 2023 01:43:03 +0900 Subject: [PATCH] Bump MSRV to 1.48 async-lock 2.7.0 requires Rust 1.48. ``` error[E0658]: use of unstable library feature 'future_readiness_fns' --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/async-lock-2.7.0/src/once_cell.rs:430:45 | 430 | self.initialize_or_wait(move || std::future::ready(closure()), &mut Blocking), | ^^^^^^^^^^^^^^^^^^ | ``` --- .github/workflows/ci.yml | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd32bb4..eea3a01 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,7 +50,7 @@ jobs: matrix: # When updating this, the reminder to update the minimum supported # Rust version in Cargo.toml. - rust: ['1.47'] + rust: ['1.48'] steps: - uses: actions/checkout@v3 - name: Install Rust diff --git a/Cargo.toml b/Cargo.toml index 5bd5abd..b994277 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ name = "async-executor" version = "1.5.0" authors = ["Stjepan Glavina "] edition = "2018" -rust-version = "1.47" +rust-version = "1.48" description = "Async executor" license = "Apache-2.0 OR MIT" repository = "https://github.com/smol-rs/async-executor"