From ac1701c26b0dfbf360ca79b08c0378c6857099bc Mon Sep 17 00:00:00 2001 From: David Ross Date: Sun, 20 Oct 2024 16:34:56 -0700 Subject: [PATCH] Update MSRV to 1.60 to match log crate --- .github/workflows/rust.yml | 8 ++++---- Cargo.toml | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 065ab54..36c6bb2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -117,7 +117,7 @@ jobs: with: profile: minimal # when updating this, also update rust-version in Cargo.toml - toolchain: 1.31.0 + toolchain: 1.60.0 override: true - run: cargo build - run: cargo build --features reopen-1,reopen-03,meta-logging-in-format,syslog-3 @@ -134,7 +134,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.48.0 + toolchain: 1.60.0 override: true - run: cargo build --features date-based msrv_syslog_4: @@ -150,7 +150,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.51.0 + toolchain: 1.60.0 override: true - run: cargo build --features syslog-4 msrv_syslog_6: @@ -166,7 +166,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.59.0 + toolchain: 1.60.0 override: true - run: cargo build --features syslog-6 fmt_and_clippy: diff --git a/Cargo.toml b/Cargo.toml index 3fd3fbf..cdfc877 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,8 @@ version = "0.6.2" authors = ["David Ross "] description = "Simple, efficient logging" edition = "2018" -rust-version = "1.31" +# when updating this, also update toolchain in .github/workflows/rust.yml +rust-version = "1.60" documentation = "https://docs.rs/fern/" repository = "https://github.com/daboross/fern"