From 71fc562f324566ff460bf489f415afaad81e76e2 Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Fri, 21 Jan 2022 12:46:16 -0800 Subject: [PATCH] appender: bump MSRV to 1.53.0 (#1851) The `time` crate bumped its MSRV to 1.53.0 in v0.3.6: https://github.com/time-rs/time/commit/2d37c01aff74bdccb8c537afa6bc7ce4f028048d Since `tracing-appender` has a non-optional dependency on `time`, it's necessary to increase its MSRV to track this. --- .github/workflows/CI.yml | 4 ++-- tracing-appender/Cargo.toml | 2 +- tracing-appender/README.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 9b64d8104c..860de07adf 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -46,13 +46,13 @@ jobs: # TODO: remove this once tracing's MSRV is bumped. check-msrv-appender: - # Run `cargo check` on our minimum supported Rust version (1.51.0). + # Run `cargo check` on our minimum supported Rust version (1.53.0). runs-on: ubuntu-latest steps: - uses: actions/checkout@main - uses: actions-rs/toolchain@v1 with: - toolchain: 1.51.0 + toolchain: 1.53.0 profile: minimal override: true - name: Check diff --git a/tracing-appender/Cargo.toml b/tracing-appender/Cargo.toml index d155e4d6ae..a51cea70c7 100644 --- a/tracing-appender/Cargo.toml +++ b/tracing-appender/Cargo.toml @@ -18,7 +18,7 @@ categories = [ ] keywords = ["logging", "tracing", "file-appender", "non-blocking-writer"] edition = "2018" -rust-version = "1.51.0" +rust-version = "1.53.0" [dependencies] crossbeam-channel = "0.5.0" diff --git a/tracing-appender/README.md b/tracing-appender/README.md index ad99df911c..55ba5871d7 100644 --- a/tracing-appender/README.md +++ b/tracing-appender/README.md @@ -36,7 +36,7 @@ allows events and spans to be recorded in a non-blocking manner through a dedicated logging thread. It also provides a [`RollingFileAppender`][file_appender] that can be used with _or_ without the non-blocking writer. -*Compiler support: [requires `rustc` 1.51+][msrv]* +*Compiler support: [requires `rustc` 1.53+][msrv]* [msrv]: #supported-rust-versions @@ -146,7 +146,7 @@ fn main() { ## Supported Rust Versions `tracing-appender` is built against the latest stable release. The minimum supported -version is 1.51. The current `tracing-appender` version is not guaranteed to build on +version is 1.53. The current `tracing-appender` version is not guaranteed to build on Rust versions earlier than the minimum supported version. Tracing follows the same compiler support policies as the rest of the Tokio