From 413093e181f1d10baa41bbbaf1bfc688ee263fce Mon Sep 17 00:00:00 2001 From: Kevin Mehall Date: Tue, 8 Apr 2025 08:45:09 -0600 Subject: [PATCH] Bump MSRV to 1.79 The associated type bounds feature, stabilized in 1.79 allows adding an implied Send bound on all IntoFuture types used with MaybeFuture, so every function doesn't have to be marked as Send. This is going to be especially useful with wasm, because it allows the Send bound to be turned on and off in one place. --- .github/workflows/rust.yml | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 66d35b8..f599056 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - rust: ['stable', '1.76'] + rust: ['stable', '1.79'] runs-on: ${{ matrix.os }} diff --git a/Cargo.toml b/Cargo.toml index 67a0576..8ad435a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Kevin Mehall "] edition = "2021" license = "Apache-2.0 OR MIT" repository = "https://github.com/kevinmehall/nusb" -rust-version = "1.76" # keep in sync with .github/workflows/rust.yml +rust-version = "1.79" # keep in sync with .github/workflows/rust.yml [dependencies] atomic-waker = "1.1.2"