From 3d572539c9d58f5a1fa53fd3702bf1821cfb689b Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson Date: Sun, 14 Jul 2024 22:20:57 +0200 Subject: [PATCH 1/2] Bump matchers. Add dependency on regex_automata with std. --- .github/workflows/CI.yml | 4 ++-- README.md | 2 +- tracing-subscriber/Cargo.toml | 8 +++++--- tracing-subscriber/README.md | 4 ++-- tracing-subscriber/src/filter/env/field.rs | 5 +++-- tracing-subscriber/src/fmt/mod.rs | 2 +- tracing-subscriber/src/lib.rs | 4 ++-- 7 files changed, 16 insertions(+), 13 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d2ef17f9f3..58011382cb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -121,7 +121,7 @@ jobs: shell: bash check-msrv: - # Run `cargo check` on our minimum supported Rust version (1.63.0). This + # Run `cargo check` on our minimum supported Rust version (1.65.0). This # checks with minimal versions; maximal versions are checked above. name: "cargo check (+MSRV -Zminimal-versions)" needs: check @@ -143,7 +143,7 @@ jobs: - tracing-tower - tracing toolchain: - - 1.63.0 + - 1.65.0 - stable steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index f527bfe2a8..e0f4d9baa5 100644 --- a/README.md +++ b/README.md @@ -398,7 +398,7 @@ are not maintained by the `tokio` project. These include: - [`tracing-elastic-apm`] provides a layer for reporting traces to [Elastic APM]. - [`tracing-etw`] provides a layer for emitting Windows [ETW] events. - [`sentry-tracing`] provides a layer for reporting events and traces to [Sentry]. -- [`tracing-forest`] provides a subscriber that preserves contextual coherence by +- [`tracing-forest`] provides a subscriber that preserves contextual coherence by grouping together logs from the same spans during writing. - [`tracing-loki`] provides a layer for shipping logs to [Grafana Loki]. - [`tracing-logfmt`] provides a layer that formats events and spans into the logfmt format. diff --git a/tracing-subscriber/Cargo.toml b/tracing-subscriber/Cargo.toml index fdf49ef1dd..50d8713a60 100644 --- a/tracing-subscriber/Cargo.toml +++ b/tracing-subscriber/Cargo.toml @@ -20,14 +20,14 @@ categories = [ "asynchronous", ] keywords = ["logging", "tracing", "metrics", "subscriber"] -rust-version = "1.63.0" +rust-version = "1.65.0" [features] default = ["smallvec", "fmt", "ansi", "tracing-log", "std"] alloc = ["tracing-core/alloc", "portable-atomic-util?/alloc"] std = ["alloc", "tracing-core/std"] -env-filter = ["matchers", "once_cell", "tracing", "std", "thread_local"] +env-filter = ["matchers", "once_cell", "tracing", "std", "thread_local", "dep:regex-automata"] fmt = ["registry", "std"] ansi = ["fmt", "nu-ansi-term"] registry = ["sharded-slab", "thread_local", "std"] @@ -47,7 +47,9 @@ tracing-core = { path = "../tracing-core", version = "0.2", default-features = f # only required by the `env-filter` feature tracing = { optional = true, path = "../tracing", version = "0.2", default-features = false } -matchers = { optional = true, version = "0.1.0" } +matchers = { optional = true, version = "0.2.0" } +# required to have matchers::BuildError implement std::error::Error +regex-automata = { optional = true, version = "0.4", default-features = false, features = ["std"] } smallvec = { optional = true, version = "1.9.0" } once_cell = { optional = true, version = "1.13.0" } diff --git a/tracing-subscriber/README.md b/tracing-subscriber/README.md index cc5426d04d..afc347cdeb 100644 --- a/tracing-subscriber/README.md +++ b/tracing-subscriber/README.md @@ -32,14 +32,14 @@ Utilities for implementing and composing [`tracing`][tracing] subscribers. [discord-url]: https://discord.gg/EeF3cQw [maint-badge]: https://img.shields.io/badge/maintenance-experimental-blue.svg -*Compiler support: [requires `rustc` 1.63+][msrv]* +*Compiler support: [requires `rustc` 1.65+][msrv]* [msrv]: #supported-rust-versions ## Supported Rust Versions Tracing is built against the latest stable release. The minimum supported -version is 1.63. The current Tracing version is not guaranteed to build on Rust +version is 1.65. The current Tracing 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 diff --git a/tracing-subscriber/src/filter/env/field.rs b/tracing-subscriber/src/filter/env/field.rs index d08cca15e8..6ddb52e9fd 100644 --- a/tracing-subscriber/src/filter/env/field.rs +++ b/tracing-subscriber/src/filter/env/field.rs @@ -234,7 +234,8 @@ impl ValueMatch { /// This returns an error if the string didn't contain a valid `bool`, /// `u64`, `i64`, or `f64` literal, and couldn't be parsed as a regular /// expression. - fn parse_regex(s: &str) -> Result { + #[allow(clippy::result_large_err)] + fn parse_regex(s: &str) -> Result { s.parse::() .map(ValueMatch::Bool) .or_else(|_| s.parse::().map(ValueMatch::U64)) @@ -279,7 +280,7 @@ impl fmt::Display for ValueMatch { // === impl MatchPattern === impl FromStr for MatchPattern { - type Err = matchers::Error; + type Err = matchers::BuildError; fn from_str(s: &str) -> Result { let matcher = Pattern::new_anchored(s)?; Ok(Self { diff --git a/tracing-subscriber/src/fmt/mod.rs b/tracing-subscriber/src/fmt/mod.rs index 1e3bfc359b..80d0284a46 100644 --- a/tracing-subscriber/src/fmt/mod.rs +++ b/tracing-subscriber/src/fmt/mod.rs @@ -16,7 +16,7 @@ //! tracing-subscriber = "0.3" //! ``` //! -//! *Compiler support: [requires `rustc` 1.63+][msrv]* +//! *Compiler support: [requires `rustc` 1.65+][msrv]* //! //! [msrv]: ../index.html#supported-rust-versions //! diff --git a/tracing-subscriber/src/lib.rs b/tracing-subscriber/src/lib.rs index fea886efc9..8fc91fda61 100644 --- a/tracing-subscriber/src/lib.rs +++ b/tracing-subscriber/src/lib.rs @@ -10,7 +10,7 @@ //! `tracing-subscriber` is intended for use by both `Collector` authors and //! application authors using `tracing` to instrument their applications. //! -//! *Compiler support: [requires `rustc` 1.63+][msrv]* +//! *Compiler support: [requires `rustc` 1.65+][msrv]* //! //! [msrv]: #supported-rust-versions //! @@ -106,7 +106,7 @@ //! ## Supported Rust Versions //! //! Tracing is built against the latest stable release. The minimum supported -//! version is 1.63. The current Tracing version is not guaranteed to build on +//! version is 1.65. The current Tracing 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 From ea0b96f36d9974013f667ca8f9159c2b97854bd4 Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson Date: Mon, 26 May 2025 22:55:09 +0200 Subject: [PATCH 2/2] Bump MSRV to 1.65 --- README.md | 2 +- tracing-attributes/Cargo.toml | 2 +- tracing-attributes/README.md | 4 ++-- tracing-attributes/src/lib.rs | 4 ++-- tracing-core/Cargo.toml | 2 +- tracing-core/README.md | 6 +++--- tracing-core/src/lib.rs | 4 ++-- tracing-error/Cargo.toml | 2 +- tracing-error/README.md | 4 ++-- tracing-error/src/lib.rs | 4 ++-- tracing-flame/Cargo.toml | 2 +- tracing-flame/README.md | 4 ++-- tracing-flame/src/lib.rs | 4 ++-- tracing-futures/Cargo.toml | 2 +- tracing-futures/README.md | 4 ++-- tracing-futures/src/lib.rs | 4 ++-- tracing-journald/Cargo.toml | 2 +- tracing-journald/README.md | 6 +++--- tracing-journald/src/lib.rs | 4 ++-- tracing-log/Cargo.toml | 2 +- tracing-log/README.md | 4 ++-- tracing-log/src/lib.rs | 4 ++-- tracing-macros/Cargo.toml | 2 +- tracing-mock/Cargo.toml | 2 +- tracing-mock/README.md | 4 ++-- tracing-serde/Cargo.toml | 2 +- tracing-serde/README.md | 6 +++--- tracing-serde/src/lib.rs | 4 ++-- tracing-tower/Cargo.toml | 2 +- tracing/Cargo.toml | 2 +- tracing/README.md | 4 ++-- tracing/src/lib.rs | 4 ++-- 32 files changed, 54 insertions(+), 54 deletions(-) diff --git a/README.md b/README.md index e0f4d9baa5..0eede0719b 100644 --- a/README.md +++ b/README.md @@ -254,7 +254,7 @@ attachment that `Future::instrument` does. ## Supported Rust Versions Tracing is built against the latest stable release. The minimum supported -version is 1.63. The current Tracing version is not guaranteed to build on Rust +version is 1.65. The current Tracing 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 diff --git a/tracing-attributes/Cargo.toml b/tracing-attributes/Cargo.toml index 8ab13c062b..bf125aeddf 100644 --- a/tracing-attributes/Cargo.toml +++ b/tracing-attributes/Cargo.toml @@ -25,7 +25,7 @@ keywords = ["logging", "tracing", "macro", "instrument", "log"] license = "MIT" readme = "README.md" edition = "2018" -rust-version = "1.63.0" +rust-version = "1.65.0" [lib] proc-macro = true diff --git a/tracing-attributes/README.md b/tracing-attributes/README.md index 0e9ad0f6ad..f2bf958c25 100644 --- a/tracing-attributes/README.md +++ b/tracing-attributes/README.md @@ -37,7 +37,7 @@ structured, event-based diagnostic information. This crate provides the Note that this macro is also re-exported by the main `tracing` crate. -*Compiler support: [requires `rustc` 1.63+][msrv]* +*Compiler support: [requires `rustc` 1.65+][msrv]* [msrv]: #supported-rust-versions @@ -69,7 +69,7 @@ pub fn my_function(my_arg: usize) { ## Supported Rust Versions Tracing is built against the latest stable release. The minimum supported -version is 1.63. The current Tracing version is not guaranteed to build on Rust +version is 1.65. The current Tracing 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 diff --git a/tracing-attributes/src/lib.rs b/tracing-attributes/src/lib.rs index 809305ca4e..372a8393f3 100644 --- a/tracing-attributes/src/lib.rs +++ b/tracing-attributes/src/lib.rs @@ -6,7 +6,7 @@ //! //! Note that this macro is also re-exported by the main `tracing` crate. //! -//! *Compiler support: [requires `rustc` 1.63+][msrv]* +//! *Compiler support: [requires `rustc` 1.65+][msrv]* //! //! [msrv]: #supported-rust-versions //! @@ -41,7 +41,7 @@ //! ## Supported Rust Versions //! //! Tracing is built against the latest stable release. The minimum supported -//! version is 1.63. The current Tracing version is not guaranteed to build on +//! version is 1.65. The current Tracing 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 diff --git a/tracing-core/Cargo.toml b/tracing-core/Cargo.toml index 794c09608c..61c3abc5ba 100644 --- a/tracing-core/Cargo.toml +++ b/tracing-core/Cargo.toml @@ -22,7 +22,7 @@ categories = [ ] keywords = ["logging", "tracing", "profiling"] edition = "2018" -rust-version = "1.63.0" +rust-version = "1.65.0" [features] default = ["std"] diff --git a/tracing-core/README.md b/tracing-core/README.md index 14e714ca83..0da30bb649 100644 --- a/tracing-core/README.md +++ b/tracing-core/README.md @@ -53,12 +53,12 @@ The crate provides: In addition, it defines the global callsite registry and per-thread current dispatcher which other components of the tracing system rely on. -*Compiler support: [requires `rustc` 1.63+][msrv]* +*Compiler support: [requires `rustc` 1.65+][msrv]* [msrv]: #supported-rust-versions ## Usage - + Application authors will typically not use this crate directly. Instead, they will use the [`tracing`] crate, which provides a much more fully-featured API. However, this crate's API will change very infrequently, so it may be used @@ -99,7 +99,7 @@ The following crate feature flags are available: ## Supported Rust Versions Tracing is built against the latest stable release. The minimum supported -version is 1.63. The current Tracing version is not guaranteed to build on Rust +version is 1.65. The current Tracing 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 diff --git a/tracing-core/src/lib.rs b/tracing-core/src/lib.rs index b78cfcecdf..96315b26b8 100644 --- a/tracing-core/src/lib.rs +++ b/tracing-core/src/lib.rs @@ -23,7 +23,7 @@ //! In addition, it defines the global callsite registry and per-thread current //! dispatcher which other components of the tracing system rely on. //! -//! *Compiler support: [requires `rustc` 1.63+][msrv]* +//! *Compiler support: [requires `rustc` 1.65+][msrv]* //! //! [msrv]: #supported-rust-versions //! @@ -109,7 +109,7 @@ //! ## Supported Rust Versions //! //! Tracing is built against the latest stable release. The minimum supported -//! version is 1.63. The current Tracing version is not guaranteed to build on +//! version is 1.65. The current Tracing 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 diff --git a/tracing-error/Cargo.toml b/tracing-error/Cargo.toml index 4731081cd3..818e767fea 100644 --- a/tracing-error/Cargo.toml +++ b/tracing-error/Cargo.toml @@ -29,7 +29,7 @@ keywords = [ "backtrace" ] edition = "2018" -rust-version = "1.63.0" +rust-version = "1.65.0" [features] default = ["traced-error"] diff --git a/tracing-error/README.md b/tracing-error/README.md index c1d0e530a9..3acba25934 100644 --- a/tracing-error/README.md +++ b/tracing-error/README.md @@ -48,7 +48,7 @@ The crate provides the following: **Note**: This crate is currently experimental. -*Compiler support: [requires `rustc` 1.63+][msrv]* +*Compiler support: [requires `rustc` 1.65+][msrv]* [msrv]: #supported-rust-versions @@ -186,7 +186,7 @@ fn main() { ## Supported Rust Versions Tracing is built against the latest stable release. The minimum supported -version is 1.63. The current Tracing version is not guaranteed to build on Rust +version is 1.65. The current Tracing 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 diff --git a/tracing-error/src/lib.rs b/tracing-error/src/lib.rs index ced227afd3..53a5a3da14 100644 --- a/tracing-error/src/lib.rs +++ b/tracing-error/src/lib.rs @@ -18,7 +18,7 @@ //! //! **Note**: This crate is currently experimental. //! -//! *Compiler support: [requires `rustc` 1.63+][msrv]* +//! *Compiler support: [requires `rustc` 1.65+][msrv]* //! //! [msrv]: #supported-rust-versions //! @@ -166,7 +166,7 @@ //! ## Supported Rust Versions //! //! Tracing is built against the latest stable release. The minimum supported -//! version is 1.63. The current Tracing version is not guaranteed to build on +//! version is 1.65. The current Tracing 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 diff --git a/tracing-flame/Cargo.toml b/tracing-flame/Cargo.toml index 597aefe668..2790e02243 100644 --- a/tracing-flame/Cargo.toml +++ b/tracing-flame/Cargo.toml @@ -19,7 +19,7 @@ categories = [ "asynchronous", ] keywords = ["tracing", "subscriber", "flamegraph", "profiling"] -rust-version = "1.63.0" +rust-version = "1.65.0" [features] default = ["smallvec"] diff --git a/tracing-flame/README.md b/tracing-flame/README.md index 8e47bc09d8..a5d2b54cb1 100644 --- a/tracing-flame/README.md +++ b/tracing-flame/README.md @@ -26,7 +26,7 @@ flamegraph/flamechart. Flamegraphs/flamecharts are useful for identifying perfor bottlenecks in an application. For more details, see Brendan Gregg's [post] on flamegraphs. -*Compiler support: [requires `rustc` 1.63+][msrv]* +*Compiler support: [requires `rustc` 1.65+][msrv]* [msrv]: #supported-rust-versions [post]: http://www.brendangregg.com/flamegraphs.html @@ -106,7 +106,7 @@ _flamechart_, which _does not_ sort or collapse identical stack frames. ## Supported Rust Versions Tracing is built against the latest stable release. The minimum supported -version is 1.63. The current Tracing version is not guaranteed to build on Rust +version is 1.65. The current Tracing 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 diff --git a/tracing-flame/src/lib.rs b/tracing-flame/src/lib.rs index 5ad84b582c..e3c1507079 100644 --- a/tracing-flame/src/lib.rs +++ b/tracing-flame/src/lib.rs @@ -10,7 +10,7 @@ //! issues bottlenecks in an application. For more details, see Brendan Gregg's [post] //! on flamegraphs. //! -//! *Compiler support: [requires `rustc` 1.63+][msrv]* +//! *Compiler support: [requires `rustc` 1.65+][msrv]* //! //! [msrv]: #supported-rust-versions //! [post]: http://www.brendangregg.com/flamegraphs.html @@ -95,7 +95,7 @@ //! ## Supported Rust Versions //! //! Tracing is built against the latest stable release. The minimum supported -//! version is 1.63. The current Tracing version is not guaranteed to build on +//! version is 1.65. The current Tracing 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 diff --git a/tracing-futures/Cargo.toml b/tracing-futures/Cargo.toml index 7c3a374034..5d286fbc69 100644 --- a/tracing-futures/Cargo.toml +++ b/tracing-futures/Cargo.toml @@ -16,7 +16,7 @@ categories = [ ] keywords = ["logging", "profiling", "tracing", "futures", "async"] license = "MIT" -rust-version = "1.63.0" +rust-version = "1.65.0" [features] default = ["std-future", "std"] diff --git a/tracing-futures/README.md b/tracing-futures/README.md index d16046358f..7896fbac33 100644 --- a/tracing-futures/README.md +++ b/tracing-futures/README.md @@ -51,14 +51,14 @@ The crate provides the following traits: [`Subscriber`]: https://docs.rs/tracing/latest/tracing/subscriber/index.html [`tracing`]: https://crates.io/crates/tracing -*Compiler support: [requires `rustc` 1.63+][msrv]* +*Compiler support: [requires `rustc` 1.65+][msrv]* [msrv]: #supported-rust-versions ## Supported Rust Versions Tracing is built against the latest stable release. The minimum supported -version is 1.63. The current Tracing version is not guaranteed to build on Rust +version is 1.65. The current Tracing 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 diff --git a/tracing-futures/src/lib.rs b/tracing-futures/src/lib.rs index 5604721682..b1dcbb393b 100644 --- a/tracing-futures/src/lib.rs +++ b/tracing-futures/src/lib.rs @@ -15,7 +15,7 @@ //! * [`WithCollector`] allows a `tracing` [collector] to be attached to a //! future, sink, stream, or executor. //! -//! *Compiler support: [requires `rustc` 1.63+][msrv]* +//! *Compiler support: [requires `rustc` 1.65+][msrv]* //! //! [msrv]: #supported-rust-versions //! @@ -59,7 +59,7 @@ //! ## Supported Rust Versions //! //! Tracing is built against the latest stable release. The minimum supported -//! version is 1.63. The current Tracing version is not guaranteed to build on +//! version is 1.65. The current Tracing 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 diff --git a/tracing-journald/Cargo.toml b/tracing-journald/Cargo.toml index 11e0f05b39..3eff13b2c8 100644 --- a/tracing-journald/Cargo.toml +++ b/tracing-journald/Cargo.toml @@ -13,7 +13,7 @@ categories = [ "development-tools::profiling", ] keywords = ["tracing", "journald"] -rust-version = "1.63.0" +rust-version = "1.65.0" [dependencies] libc = "0.2.126" diff --git a/tracing-journald/README.md b/tracing-journald/README.md index b7176b432d..b7731d29d7 100644 --- a/tracing-journald/README.md +++ b/tracing-journald/README.md @@ -27,8 +27,8 @@ scoped, structured, and async-aware diagnostics. `tracing-journald` provides a [`tracing-subscriber::Layer`][layer] implementation for logging `tracing` spans and events to [`systemd-journald`][journald], on Linux distributions that use `systemd`. - -*Compiler support: [requires `rustc` 1.63+][msrv]* + +*Compiler support: [requires `rustc` 1.65+][msrv]* [msrv]: #supported-rust-versions [`tracing`]: https://crates.io/crates/tracing @@ -38,7 +38,7 @@ and events to [`systemd-journald`][journald], on Linux distributions that use ## Supported Rust Versions Tracing is built against the latest stable release. The minimum supported -version is 1.63. The current Tracing version is not guaranteed to build on Rust +version is 1.65. The current Tracing 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 diff --git a/tracing-journald/src/lib.rs b/tracing-journald/src/lib.rs index 3c5189db0f..dc9291c85a 100644 --- a/tracing-journald/src/lib.rs +++ b/tracing-journald/src/lib.rs @@ -11,7 +11,7 @@ //! and events to [`systemd-journald`][journald], on Linux distributions that //! use `systemd`. //! -//! *Compiler support: [requires `rustc` 1.63+][msrv]* +//! *Compiler support: [requires `rustc` 1.65+][msrv]* //! //! [msrv]: #supported-rust-versions //! [`tracing`]: https://crates.io/crates/tracing @@ -21,7 +21,7 @@ //! ## Supported Rust Versions //! //! Tracing is built against the latest stable release. The minimum supported -//! version is 1.63. The current Tracing version is not guaranteed to build on +//! version is 1.65. The current Tracing 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 diff --git a/tracing-log/Cargo.toml b/tracing-log/Cargo.toml index 7caedb5522..5cada47fdd 100644 --- a/tracing-log/Cargo.toml +++ b/tracing-log/Cargo.toml @@ -15,7 +15,7 @@ categories = [ keywords = ["logging", "tracing", "log"] license = "MIT" readme = "README.md" -rust-version = "1.63.0" +rust-version = "1.65.0" [features] default = ["log-tracer", "std"] diff --git a/tracing-log/README.md b/tracing-log/README.md index 8ccad1c506..4813ed348f 100644 --- a/tracing-log/README.md +++ b/tracing-log/README.md @@ -56,14 +56,14 @@ This crate provides: [`tracing::Subscriber`]: https://docs.rs/tracing/latest/tracing/trait.Subscriber.html [`tracing::Event`]: https://docs.rs/tracing/latest/tracing/struct.Event.html -*Compiler support: [requires `rustc` 1.63+][msrv]* +*Compiler support: [requires `rustc` 1.65+][msrv]* [msrv]: #supported-rust-versions ## Supported Rust Versions Tracing is built against the latest stable release. The minimum supported -version is 1.63. The current Tracing version is not guaranteed to build on Rust +version is 1.65. The current Tracing 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 diff --git a/tracing-log/src/lib.rs b/tracing-log/src/lib.rs index 400d8ca1da..7c8d9d72fd 100644 --- a/tracing-log/src/lib.rs +++ b/tracing-log/src/lib.rs @@ -16,7 +16,7 @@ //! - An [`env_logger`] module, with helpers for using the [`env_logger` crate] //! with `tracing` (optional, enabled by the `env-logger` feature). //! -//! *Compiler support: [requires `rustc` 1.63+][msrv]* +//! *Compiler support: [requires `rustc` 1.65+][msrv]* //! //! [msrv]: #supported-rust-versions //! @@ -76,7 +76,7 @@ //! ## Supported Rust Versions //! //! Tracing is built against the latest stable release. The minimum supported -//! version is 1.63. The current Tracing version is not guaranteed to build on +//! version is 1.65. The current Tracing 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 diff --git a/tracing-macros/Cargo.toml b/tracing-macros/Cargo.toml index 8623b44db6..9f6a97cea0 100644 --- a/tracing-macros/Cargo.toml +++ b/tracing-macros/Cargo.toml @@ -15,7 +15,7 @@ categories = [ ] keywords = ["logging", "tracing"] license = "MIT" -rust-version = "1.63.0" +rust-version = "1.65.0" [dependencies] tracing = { path = "../tracing", version = "0.2", default-features = false } diff --git a/tracing-mock/Cargo.toml b/tracing-mock/Cargo.toml index 71cc20a25d..213511ee5f 100644 --- a/tracing-mock/Cargo.toml +++ b/tracing-mock/Cargo.toml @@ -14,7 +14,7 @@ readme = "README.md" repository = "https://github.com/tokio-rs/tracing" homepage = "https://tokio.rs" edition = "2018" -rust-version = "1.63.0" +rust-version = "1.65.0" publish = false [dependencies] diff --git a/tracing-mock/README.md b/tracing-mock/README.md index c2d751cce9..89ec1c6500 100644 --- a/tracing-mock/README.md +++ b/tracing-mock/README.md @@ -29,7 +29,7 @@ structured, event-based diagnostic information. `tracing-mock` provides tools for making assertions about what `tracing` diagnostics are emitted by code under test. -*Compiler support: [requires `rustc` 1.63+][msrv]* +*Compiler support: [requires `rustc` 1.65+][msrv]* [msrv]: #supported-rust-versions @@ -154,7 +154,7 @@ handle.assert_finished(); ## Supported Rust Versions Tracing is built against the latest stable release. The minimum supported -version is 1.63. The current Tracing version is not guaranteed to build on Rust +version is 1.65. The current Tracing 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 diff --git a/tracing-serde/Cargo.toml b/tracing-serde/Cargo.toml index 6e0bb028a5..f8bf24b453 100644 --- a/tracing-serde/Cargo.toml +++ b/tracing-serde/Cargo.toml @@ -16,7 +16,7 @@ categories = [ "encoding", ] keywords = ["logging", "tracing", "serialization"] -rust-version = "1.63.0" +rust-version = "1.65.0" [features] default = ["std"] diff --git a/tracing-serde/README.md b/tracing-serde/README.md index 7b24517b75..bdbc3d16ae 100644 --- a/tracing-serde/README.md +++ b/tracing-serde/README.md @@ -18,7 +18,7 @@ An adapter for serializing [`tracing`] types using [`serde`]. [`tracing`] is a framework for instrumenting Rust programs to collect scoped, structured, and async-aware diagnostics.`tracing-serde` enables -serializing `tracing` types using [`serde`]. +serializing `tracing` types using [`serde`]. Traditional logging is based on human-readable text messages. `tracing` gives us machine-readable structured diagnostic @@ -36,7 +36,7 @@ and tracing data to monitor your services in production. The `tracing` crate provides the APIs necessary for instrumenting libraries and applications to emit trace data. -*Compiler support: [requires `rustc` 1.63+][msrv]* +*Compiler support: [requires `rustc` 1.65+][msrv]* [msrv]: #supported-rust-versions @@ -113,7 +113,7 @@ The following crate feature flags are available: ## Supported Rust Versions Tracing is built against the latest stable release. The minimum supported -version is 1.63. The current Tracing version is not guaranteed to build on Rust +version is 1.65. The current Tracing 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 diff --git a/tracing-serde/src/lib.rs b/tracing-serde/src/lib.rs index 7411a307fc..7ef0482bf7 100644 --- a/tracing-serde/src/lib.rs +++ b/tracing-serde/src/lib.rs @@ -32,7 +32,7 @@ //! The `tracing` crate provides the APIs necessary for instrumenting //! libraries and applications to emit trace data. //! -//! *Compiler support: [requires `rustc` 1.63+][msrv]* +//! *Compiler support: [requires `rustc` 1.65+][msrv]* //! //! [msrv]: #supported-rust-versions //! @@ -134,7 +134,7 @@ //! ## Supported Rust Versions //! //! Tracing is built against the latest stable release. The minimum supported -//! version is 1.63. The current Tracing version is not guaranteed to build on +//! version is 1.65. The current Tracing 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 diff --git a/tracing-tower/Cargo.toml b/tracing-tower/Cargo.toml index 62fdb00cbc..812141e9c0 100644 --- a/tracing-tower/Cargo.toml +++ b/tracing-tower/Cargo.toml @@ -15,7 +15,7 @@ categories = [ ] keywords = ["logging", "tracing"] license = "MIT" -rust-version = "1.63.0" +rust-version = "1.65.0" [features] default = ["tower-layer", "tower-make"] diff --git a/tracing/Cargo.toml b/tracing/Cargo.toml index 7bfbbf7edb..d899e655b4 100644 --- a/tracing/Cargo.toml +++ b/tracing/Cargo.toml @@ -25,7 +25,7 @@ categories = [ ] keywords = ["logging", "tracing", "metrics", "async"] edition = "2018" -rust-version = "1.63.0" +rust-version = "1.65.0" [dependencies] tracing-core = { path = "../tracing-core", version = "0.2", default-features = false } diff --git a/tracing/README.md b/tracing/README.md index c94185ad25..0704463e24 100644 --- a/tracing/README.md +++ b/tracing/README.md @@ -47,7 +47,7 @@ data as well as textual messages. The `tracing` crate provides the APIs necessary for instrumenting libraries and applications to emit trace data. -*Compiler support: [requires `rustc` 1.63+][msrv]* +*Compiler support: [requires `rustc` 1.65+][msrv]* [msrv]: #supported-rust-versions @@ -429,7 +429,7 @@ undergoing active development. They may be less stable than `tracing` and ## Supported Rust Versions Tracing is built against the latest stable release. The minimum supported -version is 1.63. The current Tracing version is not guaranteed to build on Rust +version is 1.65. The current Tracing 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 diff --git a/tracing/src/lib.rs b/tracing/src/lib.rs index 4fe13ab701..839139a2d3 100644 --- a/tracing/src/lib.rs +++ b/tracing/src/lib.rs @@ -19,7 +19,7 @@ //! The `tracing` crate provides the APIs necessary for instrumenting libraries //! and applications to emit trace data. //! -//! *Compiler support: [requires `rustc` 1.63+][msrv]* +//! *Compiler support: [requires `rustc` 1.65+][msrv]* //! //! [msrv]: #supported-rust-versions //! # Core Concepts @@ -894,7 +894,7 @@ //! ## Supported Rust Versions //! //! Tracing is built against the latest stable release. The minimum supported -//! version is 1.63. The current Tracing version is not guaranteed to build on +//! version is 1.65. The current Tracing 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