From 214ca2c94c443ed8f268927b3aa14a8615c6efdb Mon Sep 17 00:00:00 2001 From: Joseph Birr-Pixton Date: Mon, 12 Jun 2023 10:11:06 +0100 Subject: [PATCH] Update MSRV to 1.60 and test it --- .github/workflows/CI.yml | 13 +++++++++++++ Cargo.toml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 27a8ef5..1b6180e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -67,3 +67,16 @@ jobs: - name: Run cargo clippy if: always() run: cargo clippy --all-features -- -D warnings + + msrv: + name: MSRV + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v3 + + - uses: dtolnay/rust-toolchain@master + with: + toolchain: "1.60" + + - run: cargo check --lib --all-features diff --git a/Cargo.toml b/Cargo.toml index b039e30..203521e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ readme = "README.md" description = "Asynchronous TLS/SSL streams for Tokio using Rustls." categories = ["asynchronous", "cryptography", "network-programming"] edition = "2018" -rust-version = "1.56" +rust-version = "1.60" [dependencies] tokio = "1.0"