From 30730306833819811430205efc90a4d876d2d043 Mon Sep 17 00:00:00 2001 From: Techcable Date: Wed, 3 Jan 2024 20:42:52 -0700 Subject: [PATCH] Update to Rust 2021, MSRV 1.59 Prompted by recent updates in the `time` crate --- .github/workflows/test.yml | 4 ++-- CHANGELOG.md | 3 +++ Cargo.toml | 7 ++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 80953ab..3c82371 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 this in sync with Cargo.toml - rust: [1.53, stable, nightly] + # 1.59 is MSRV. Keep this in sync with Cargo.toml + rust: [1.59, stable, nightly] # NOTE: We don't really have any "feature combos" to test. # # We just have default features and nothing else :) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f8eae4..4e21884 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +* Update to Rust 2021 +* Update MSRV to Rust 1.59 + ## 2.4.0 - 2022-02-19 ### Changed diff --git a/Cargo.toml b/Cargo.toml index 72877ba..31ddf58 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "slog-bunyan" version = "2.4.0" -edition = "2018" +edition = "2021" authors = ["Dawid Ciężarkiewicz "] description = "Bunyan formatter for slog-rs" keywords = ["log", "logging", "structured", "hierarchical"] @@ -17,10 +17,7 @@ readme = "README.md" # Changing this bumps the minor version for semver (2.x for semver). # # NOTE: Changing this requires updating github actions -# -# 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.59" [lib] path = "lib.rs"