From 20871c96c4c8fa979dec6bb0d6010037a37603e2 Mon Sep 17 00:00:00 2001 From: Rob Day Date: Mon, 31 Jul 2023 13:25:19 +0100 Subject: [PATCH] Bump MSRV to 1.63 --- .github/workflows/test.yml | 8 +++++--- CHANGELOG.md | 3 +++ Cargo.toml | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 080bfe1..11372aa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,8 +28,8 @@ jobs: strategy: fail-fast: false # Even if one job fails we still want to see the other ones matrix: - # 1.53 is MSRV. Keep in sync with Cargo.toml - rust: [1.53, stable, nightly] + # 1.63 is MSRV. Keep in sync with Cargo.toml + rust: [1.63, stable, nightly] # NOTE: Features to test must be specified manually. They are applied to all versions seperately. # # This has the advantage of being more flexibile and thorough @@ -47,5 +47,7 @@ jobs: # NOTE: We only run `cargo test`. No need for a seperate `cargo check` - name: Test run: | - cargo test --verbose --features "${{ matrix.features }}" + # Pin a time version with a compatible MSRV + cargo update --package time --precise 0.3.20 + cargo test --locked --verbose --features "${{ matrix.features }}" diff --git a/CHANGELOG.md b/CHANGELOG.md index 9dbc7ea..8452ea3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased](https://github.com/slog-rs/term/compare/v2.8.1...HEAD) - ReleaseDate +* Switch from `atty` to `is_terminal` + * Avoids [RUSTSEC-2021-0145](https://rustsec.org/advisories/RUSTSEC-2021-0145) +* BREAKING: Bump MSRV to 1.63 ## 2.9.0 - 2022-02-20 ### Changed diff --git a/Cargo.toml b/Cargo.toml index 253f4d1..5d9c9a9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ edition = "2018" # # The first version of Cargo that supports this field was in Rust 1.56.0. # In older releases, the field will be ignored, and Cargo will display a warning. -rust-version = "1.53" +rust-version = "1.63" [features] nested-values = ["erased-serde", "serde", "serde_json", "slog/nested-values"]