From f9406e91499c318a4d46a4d462b4f653cd9be8b5 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 31 Oct 2024 17:03:15 -0700 Subject: [PATCH] Raise required compiler to rust 1.65 --- .github/workflows/ci.yml | 4 ++-- Cargo.toml | 2 +- README.md | 2 +- impl/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5dd92eba..7ae95b4e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: strategy: fail-fast: false matrix: - rust: [nightly, beta, stable, 1.70.0, 1.61.0] + rust: [nightly, beta, stable, 1.70.0, 1.65.0] timeout-minutes: 45 steps: - uses: actions/checkout@v4 @@ -39,7 +39,7 @@ jobs: run: echo RUSTFLAGS=${RUSTFLAGS}\ --cfg=thiserror_nightly_testing >> $GITHUB_ENV if: matrix.rust == 'nightly' - run: cargo test --all - if: matrix.rust != '1.61.0' + if: matrix.rust != '1.65.0' - uses: actions/upload-artifact@v4 if: matrix.rust == 'nightly' && always() with: diff --git a/Cargo.toml b/Cargo.toml index 96a87e85..51c338e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" keywords = ["error", "error-handling", "derive"] license = "MIT OR Apache-2.0" repository = "https://github.com/dtolnay/thiserror" -rust-version = "1.61" +rust-version = "1.65" [dependencies] thiserror-impl = { version = "=1.0.66", path = "impl" } diff --git a/README.md b/README.md index 54e736d3..f8a640db 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ This library provides a convenient derive macro for the standard library's thiserror = "1.0" ``` -*Compiler support: requires rustc 1.61+* +*Compiler support: requires rustc 1.65+*
diff --git a/impl/Cargo.toml b/impl/Cargo.toml index 5acbe8f4..159e509f 100644 --- a/impl/Cargo.toml +++ b/impl/Cargo.toml @@ -6,7 +6,7 @@ description = "Implementation detail of the `thiserror` crate" edition = "2021" license = "MIT OR Apache-2.0" repository = "https://github.com/dtolnay/thiserror" -rust-version = "1.61" +rust-version = "1.65" [lib] proc-macro = true