Skip to content

Commit c3f5745

Browse files
authored
subscriber: update matchers to 0.2 (#3033)
Update the version of the `matchers` crate to 0.2. This requires also adding a direct dependency on `regex-automata` to enable the `std` feature.
1 parent 906f00c commit c3f5745

File tree

38 files changed

+70
-67
lines changed

38 files changed

+70
-67
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
shell: bash
122122

123123
check-msrv:
124-
# Run `cargo check` on our minimum supported Rust version (1.63.0). This
124+
# Run `cargo check` on our minimum supported Rust version (1.65.0). This
125125
# checks with minimal versions; maximal versions are checked above.
126126
name: "cargo check (+MSRV -Zminimal-versions)"
127127
needs: check
@@ -143,7 +143,7 @@ jobs:
143143
- tracing-tower
144144
- tracing
145145
toolchain:
146-
- 1.63.0
146+
- 1.65.0
147147
- stable
148148
steps:
149149
- uses: actions/checkout@v4

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ attachment that `Future::instrument` does.
254254
## Supported Rust Versions
255255

256256
Tracing is built against the latest stable release. The minimum supported
257-
version is 1.63. The current Tracing version is not guaranteed to build on Rust
257+
version is 1.65. The current Tracing version is not guaranteed to build on Rust
258258
versions earlier than the minimum supported version.
259259

260260
Tracing follows the same compiler support policies as the rest of the Tokio
@@ -398,7 +398,7 @@ are not maintained by the `tokio` project. These include:
398398
- [`tracing-elastic-apm`] provides a layer for reporting traces to [Elastic APM].
399399
- [`tracing-etw`] provides a layer for emitting Windows [ETW] events.
400400
- [`sentry-tracing`] provides a layer for reporting events and traces to [Sentry].
401-
- [`tracing-forest`] provides a subscriber that preserves contextual coherence by
401+
- [`tracing-forest`] provides a subscriber that preserves contextual coherence by
402402
grouping together logs from the same spans during writing.
403403
- [`tracing-loki`] provides a layer for shipping logs to [Grafana Loki].
404404
- [`tracing-logfmt`] provides a layer that formats events and spans into the logfmt format.

tracing-attributes/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ keywords = ["logging", "tracing", "macro", "instrument", "log"]
2525
license = "MIT"
2626
readme = "README.md"
2727
edition = "2018"
28-
rust-version = "1.63.0"
28+
rust-version = "1.65.0"
2929

3030
[lib]
3131
proc-macro = true

tracing-attributes/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ structured, event-based diagnostic information. This crate provides the
3737

3838
Note that this macro is also re-exported by the main `tracing` crate.
3939

40-
*Compiler support: [requires `rustc` 1.63+][msrv]*
40+
*Compiler support: [requires `rustc` 1.65+][msrv]*
4141

4242
[msrv]: #supported-rust-versions
4343

@@ -69,7 +69,7 @@ pub fn my_function(my_arg: usize) {
6969
## Supported Rust Versions
7070

7171
Tracing is built against the latest stable release. The minimum supported
72-
version is 1.63. The current Tracing version is not guaranteed to build on Rust
72+
version is 1.65. The current Tracing version is not guaranteed to build on Rust
7373
versions earlier than the minimum supported version.
7474

7575
Tracing follows the same compiler support policies as the rest of the Tokio

tracing-attributes/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//!
77
//! Note that this macro is also re-exported by the main `tracing` crate.
88
//!
9-
//! *Compiler support: [requires `rustc` 1.63+][msrv]*
9+
//! *Compiler support: [requires `rustc` 1.65+][msrv]*
1010
//!
1111
//! [msrv]: #supported-rust-versions
1212
//!
@@ -41,7 +41,7 @@
4141
//! ## Supported Rust Versions
4242
//!
4343
//! Tracing is built against the latest stable release. The minimum supported
44-
//! version is 1.63. The current Tracing version is not guaranteed to build on
44+
//! version is 1.65. The current Tracing version is not guaranteed to build on
4545
//! Rust versions earlier than the minimum supported version.
4646
//!
4747
//! Tracing follows the same compiler support policies as the rest of the Tokio

tracing-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ categories = [
2222
]
2323
keywords = ["logging", "tracing", "profiling"]
2424
edition = "2018"
25-
rust-version = "1.63.0"
25+
rust-version = "1.65.0"
2626

2727
[features]
2828
default = ["std"]

tracing-core/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ The crate provides:
5353
In addition, it defines the global callsite registry and per-thread current
5454
dispatcher which other components of the tracing system rely on.
5555

56-
*Compiler support: [requires `rustc` 1.63+][msrv]*
56+
*Compiler support: [requires `rustc` 1.65+][msrv]*
5757

5858
[msrv]: #supported-rust-versions
5959

6060
## Usage
61-
61+
6262
Application authors will typically not use this crate directly. Instead, they
6363
will use the [`tracing`] crate, which provides a much more fully-featured
6464
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:
9999
## Supported Rust Versions
100100

101101
Tracing is built against the latest stable release. The minimum supported
102-
version is 1.63. The current Tracing version is not guaranteed to build on Rust
102+
version is 1.65. The current Tracing version is not guaranteed to build on Rust
103103
versions earlier than the minimum supported version.
104104

105105
Tracing follows the same compiler support policies as the rest of the Tokio

tracing-core/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
//! In addition, it defines the global callsite registry and per-thread current
2424
//! dispatcher which other components of the tracing system rely on.
2525
//!
26-
//! *Compiler support: [requires `rustc` 1.63+][msrv]*
26+
//! *Compiler support: [requires `rustc` 1.65+][msrv]*
2727
//!
2828
//! [msrv]: #supported-rust-versions
2929
//!
@@ -109,7 +109,7 @@
109109
//! ## Supported Rust Versions
110110
//!
111111
//! Tracing is built against the latest stable release. The minimum supported
112-
//! version is 1.63. The current Tracing version is not guaranteed to build on
112+
//! version is 1.65. The current Tracing version is not guaranteed to build on
113113
//! Rust versions earlier than the minimum supported version.
114114
//!
115115
//! Tracing follows the same compiler support policies as the rest of the Tokio

tracing-error/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ keywords = [
2929
"backtrace"
3030
]
3131
edition = "2018"
32-
rust-version = "1.63.0"
32+
rust-version = "1.65.0"
3333

3434
[features]
3535
default = ["traced-error"]

tracing-error/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The crate provides the following:
4848

4949
**Note**: This crate is currently experimental.
5050

51-
*Compiler support: [requires `rustc` 1.63+][msrv]*
51+
*Compiler support: [requires `rustc` 1.65+][msrv]*
5252

5353
[msrv]: #supported-rust-versions
5454

@@ -186,7 +186,7 @@ fn main() {
186186
## Supported Rust Versions
187187

188188
Tracing is built against the latest stable release. The minimum supported
189-
version is 1.63. The current Tracing version is not guaranteed to build on Rust
189+
version is 1.65. The current Tracing version is not guaranteed to build on Rust
190190
versions earlier than the minimum supported version.
191191

192192
Tracing follows the same compiler support policies as the rest of the Tokio

tracing-error/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
//!
1919
//! **Note**: This crate is currently experimental.
2020
//!
21-
//! *Compiler support: [requires `rustc` 1.63+][msrv]*
21+
//! *Compiler support: [requires `rustc` 1.65+][msrv]*
2222
//!
2323
//! [msrv]: #supported-rust-versions
2424
//!
@@ -166,7 +166,7 @@
166166
//! ## Supported Rust Versions
167167
//!
168168
//! Tracing is built against the latest stable release. The minimum supported
169-
//! version is 1.63. The current Tracing version is not guaranteed to build on
169+
//! version is 1.65. The current Tracing version is not guaranteed to build on
170170
//! Rust versions earlier than the minimum supported version.
171171
//!
172172
//! Tracing follows the same compiler support policies as the rest of the Tokio

tracing-flame/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ categories = [
1919
"asynchronous",
2020
]
2121
keywords = ["tracing", "subscriber", "flamegraph", "profiling"]
22-
rust-version = "1.63.0"
22+
rust-version = "1.65.0"
2323

2424
[features]
2525
default = ["smallvec"]

tracing-flame/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ flamegraph/flamechart. Flamegraphs/flamecharts are useful for identifying perfor
2626
bottlenecks in an application. For more details, see Brendan Gregg's [post]
2727
on flamegraphs.
2828

29-
*Compiler support: [requires `rustc` 1.63+][msrv]*
29+
*Compiler support: [requires `rustc` 1.65+][msrv]*
3030

3131
[msrv]: #supported-rust-versions
3232
[post]: http://www.brendangregg.com/flamegraphs.html
@@ -106,7 +106,7 @@ _flamechart_, which _does not_ sort or collapse identical stack frames.
106106
## Supported Rust Versions
107107

108108
Tracing is built against the latest stable release. The minimum supported
109-
version is 1.63. The current Tracing version is not guaranteed to build on Rust
109+
version is 1.65. The current Tracing version is not guaranteed to build on Rust
110110
versions earlier than the minimum supported version.
111111

112112
Tracing follows the same compiler support policies as the rest of the Tokio

tracing-flame/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//! issues bottlenecks in an application. For more details, see Brendan Gregg's [post]
1111
//! on flamegraphs.
1212
//!
13-
//! *Compiler support: [requires `rustc` 1.63+][msrv]*
13+
//! *Compiler support: [requires `rustc` 1.65+][msrv]*
1414
//!
1515
//! [msrv]: #supported-rust-versions
1616
//! [post]: http://www.brendangregg.com/flamegraphs.html
@@ -95,7 +95,7 @@
9595
//! ## Supported Rust Versions
9696
//!
9797
//! Tracing is built against the latest stable release. The minimum supported
98-
//! version is 1.63. The current Tracing version is not guaranteed to build on
98+
//! version is 1.65. The current Tracing version is not guaranteed to build on
9999
//! Rust versions earlier than the minimum supported version.
100100
//!
101101
//! Tracing follows the same compiler support policies as the rest of the Tokio

tracing-futures/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ categories = [
1616
]
1717
keywords = ["logging", "profiling", "tracing", "futures", "async"]
1818
license = "MIT"
19-
rust-version = "1.63.0"
19+
rust-version = "1.65.0"
2020

2121
[features]
2222
default = ["std-future", "std"]

tracing-futures/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ The crate provides the following traits:
5151
[`Subscriber`]: https://docs.rs/tracing/latest/tracing/subscriber/index.html
5252
[`tracing`]: https://crates.io/crates/tracing
5353

54-
*Compiler support: [requires `rustc` 1.63+][msrv]*
54+
*Compiler support: [requires `rustc` 1.65+][msrv]*
5555

5656
[msrv]: #supported-rust-versions
5757

5858
## Supported Rust Versions
5959

6060
Tracing is built against the latest stable release. The minimum supported
61-
version is 1.63. The current Tracing version is not guaranteed to build on Rust
61+
version is 1.65. The current Tracing version is not guaranteed to build on Rust
6262
versions earlier than the minimum supported version.
6363

6464
Tracing follows the same compiler support policies as the rest of the Tokio

tracing-futures/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
//! * [`WithCollector`] allows a `tracing` [collector] to be attached to a
1616
//! future, sink, stream, or executor.
1717
//!
18-
//! *Compiler support: [requires `rustc` 1.63+][msrv]*
18+
//! *Compiler support: [requires `rustc` 1.65+][msrv]*
1919
//!
2020
//! [msrv]: #supported-rust-versions
2121
//!
@@ -59,7 +59,7 @@
5959
//! ## Supported Rust Versions
6060
//!
6161
//! Tracing is built against the latest stable release. The minimum supported
62-
//! version is 1.63. The current Tracing version is not guaranteed to build on
62+
//! version is 1.65. The current Tracing version is not guaranteed to build on
6363
//! Rust versions earlier than the minimum supported version.
6464
//!
6565
//! Tracing follows the same compiler support policies as the rest of the Tokio

tracing-journald/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ categories = [
1313
"development-tools::profiling",
1414
]
1515
keywords = ["tracing", "journald"]
16-
rust-version = "1.63.0"
16+
rust-version = "1.65.0"
1717

1818
[dependencies]
1919
libc = "0.2.126"

tracing-journald/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ scoped, structured, and async-aware diagnostics. `tracing-journald` provides a
2727
[`tracing-subscriber::Layer`][layer] implementation for logging `tracing` spans
2828
and events to [`systemd-journald`][journald], on Linux distributions that use
2929
`systemd`.
30-
31-
*Compiler support: [requires `rustc` 1.63+][msrv]*
30+
31+
*Compiler support: [requires `rustc` 1.65+][msrv]*
3232

3333
[msrv]: #supported-rust-versions
3434
[`tracing`]: https://crates.io/crates/tracing
@@ -38,7 +38,7 @@ and events to [`systemd-journald`][journald], on Linux distributions that use
3838
## Supported Rust Versions
3939

4040
Tracing is built against the latest stable release. The minimum supported
41-
version is 1.63. The current Tracing version is not guaranteed to build on Rust
41+
version is 1.65. The current Tracing version is not guaranteed to build on Rust
4242
versions earlier than the minimum supported version.
4343

4444
Tracing follows the same compiler support policies as the rest of the Tokio

tracing-journald/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//! and events to [`systemd-journald`][journald], on Linux distributions that
1212
//! use `systemd`.
1313
//!
14-
//! *Compiler support: [requires `rustc` 1.63+][msrv]*
14+
//! *Compiler support: [requires `rustc` 1.65+][msrv]*
1515
//!
1616
//! [msrv]: #supported-rust-versions
1717
//! [`tracing`]: https://crates.io/crates/tracing
@@ -21,7 +21,7 @@
2121
//! ## Supported Rust Versions
2222
//!
2323
//! Tracing is built against the latest stable release. The minimum supported
24-
//! version is 1.63. The current Tracing version is not guaranteed to build on
24+
//! version is 1.65. The current Tracing version is not guaranteed to build on
2525
//! Rust versions earlier than the minimum supported version.
2626
//!
2727
//! Tracing follows the same compiler support policies as the rest of the Tokio

tracing-log/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ categories = [
1515
keywords = ["logging", "tracing", "log"]
1616
license = "MIT"
1717
readme = "README.md"
18-
rust-version = "1.63.0"
18+
rust-version = "1.65.0"
1919

2020
[features]
2121
default = ["log-tracer", "std"]

tracing-log/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ This crate provides:
5656
[`tracing::Subscriber`]: https://docs.rs/tracing/latest/tracing/trait.Subscriber.html
5757
[`tracing::Event`]: https://docs.rs/tracing/latest/tracing/struct.Event.html
5858

59-
*Compiler support: [requires `rustc` 1.63+][msrv]*
59+
*Compiler support: [requires `rustc` 1.65+][msrv]*
6060

6161
[msrv]: #supported-rust-versions
6262

6363
## Supported Rust Versions
6464

6565
Tracing is built against the latest stable release. The minimum supported
66-
version is 1.63. The current Tracing version is not guaranteed to build on Rust
66+
version is 1.65. The current Tracing version is not guaranteed to build on Rust
6767
versions earlier than the minimum supported version.
6868

6969
Tracing follows the same compiler support policies as the rest of the Tokio

tracing-log/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
//! - An [`env_logger`] module, with helpers for using the [`env_logger` crate]
1717
//! with `tracing` (optional, enabled by the `env-logger` feature).
1818
//!
19-
//! *Compiler support: [requires `rustc` 1.63+][msrv]*
19+
//! *Compiler support: [requires `rustc` 1.65+][msrv]*
2020
//!
2121
//! [msrv]: #supported-rust-versions
2222
//!
@@ -76,7 +76,7 @@
7676
//! ## Supported Rust Versions
7777
//!
7878
//! Tracing is built against the latest stable release. The minimum supported
79-
//! version is 1.63. The current Tracing version is not guaranteed to build on
79+
//! version is 1.65. The current Tracing version is not guaranteed to build on
8080
//! Rust versions earlier than the minimum supported version.
8181
//!
8282
//! Tracing follows the same compiler support policies as the rest of the Tokio

tracing-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ categories = [
1515
]
1616
keywords = ["logging", "tracing"]
1717
license = "MIT"
18-
rust-version = "1.63.0"
18+
rust-version = "1.65.0"
1919

2020
[dependencies]
2121
tracing = { path = "../tracing", version = "0.2", default-features = false }

tracing-mock/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ readme = "README.md"
1414
repository = "https://github.com/tokio-rs/tracing"
1515
homepage = "https://tokio.rs"
1616
edition = "2018"
17-
rust-version = "1.63.0"
17+
rust-version = "1.65.0"
1818
publish = false
1919

2020
[dependencies]

tracing-mock/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ structured, event-based diagnostic information. `tracing-mock` provides
2929
tools for making assertions about what `tracing` diagnostics are emitted
3030
by code under test.
3131

32-
*Compiler support: [requires `rustc` 1.63+][msrv]*
32+
*Compiler support: [requires `rustc` 1.65+][msrv]*
3333

3434
[msrv]: #supported-rust-versions
3535

@@ -154,7 +154,7 @@ handle.assert_finished();
154154
## Supported Rust Versions
155155

156156
Tracing is built against the latest stable release. The minimum supported
157-
version is 1.63. The current Tracing version is not guaranteed to build on Rust
157+
version is 1.65. The current Tracing version is not guaranteed to build on Rust
158158
versions earlier than the minimum supported version.
159159

160160
Tracing follows the same compiler support policies as the rest of the Tokio

0 commit comments

Comments
 (0)