From ddc0e62dfea28ef23d05408fa58d248c75137520 Mon Sep 17 00:00:00 2001 From: bconn98 Date: Sat, 25 Nov 2023 14:54:43 -0500 Subject: [PATCH 1/2] chore: update Rust version for latest log crate compatibility --- .github/workflows/main.yml | 4 ++-- Cargo.toml | 2 +- README.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fd7a14d8..9d485ab1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,7 +37,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - rust_versions: ["stable", "1.57"] + rust_versions: ["stable", "1.60"] os: [ubuntu-latest, windows-latest] steps: - name: Checkout the source code @@ -81,7 +81,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - rust_versions: ["stable", "1.57"] + rust_versions: ["stable", "1.60"] steps: - name: Checkout the source code uses: actions/checkout@master diff --git a/Cargo.toml b/Cargo.toml index 8819a2bc..24f0a26d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,7 +58,7 @@ chrono = { version = "0.4", optional = true } flate2 = { version = "1.0", optional = true } fnv = "1.0" humantime = { version = "2.0", optional = true } -log = { version = "=0.4.17", features = ["std"] } +log = { version = "0.4.20", features = ["std"] } log-mdc = { version = "0.1", optional = true } serde = { version = "1.0", optional = true, features = ["derive"] } serde-value = { version = "0.7", optional = true } diff --git a/README.md b/README.md index d3574138..f0b47c8b 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ fn main() { ## Rust Version Requirements -1.57 +1.60 ## Building for Dev From 3ecd88412c8297e123b37a6b4bbb16cd78f34430 Mon Sep 17 00:00:00 2001 From: bconn98 Date: Sat, 25 Nov 2023 14:59:38 -0500 Subject: [PATCH 2/2] chore: Update release version for updated rust version --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 24f0a26d..791afa03 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "log4rs" -version = "1.2.0" +version = "1.3.0" authors = ["Steven Fackler ", "Evan Simmons "] description = "A highly configurable multi-output logging implementation for the `log` facade" license = "MIT/Apache-2.0" @@ -8,7 +8,7 @@ repository = "https://github.com/estk/log4rs" readme = "README.md" keywords = ["log", "logger", "logging", "log4"] edition = "2018" -rust = "1.57" +rust = "1.60" [features] default = ["all_components", "config_parsing", "yaml_format"]