Skip to content

Commit 7e4dcf9

Browse files
klensyclubby789
authored andcommitted
rustc_log: remove direct dep on tracing_core
required features reexported from tracing
1 parent 9deb1e9 commit 7e4dcf9

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

Cargo.lock

-1
Original file line numberDiff line numberDiff line change
@@ -4052,7 +4052,6 @@ version = "0.0.0"
40524052
dependencies = [
40534053
"rustc_span",
40544054
"tracing",
4055-
"tracing-core",
40564055
"tracing-subscriber",
40574056
"tracing-tree",
40584057
]

compiler/rustc_log/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ edition = "2021"
66
[dependencies]
77
# tidy-alphabetical-start
88
tracing = "0.1.28"
9-
tracing-core = "0.1.30"
109
tracing-subscriber = { version = "0.3.3", default-features = false, features = ["fmt", "env-filter", "smallvec", "parking_lot", "ansi"] }
1110
tracing-tree = "0.3.1"
1211
# tidy-alphabetical-end

compiler/rustc_log/src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@
4141
use std::env::{self, VarError};
4242
use std::fmt::{self, Display};
4343
use std::io::{self, IsTerminal};
44-
45-
use tracing_core::{Event, Subscriber};
44+
use tracing::{Event, Subscriber};
4645
use tracing_subscriber::filter::{Directive, EnvFilter, LevelFilter};
4746
use tracing_subscriber::fmt::FmtContext;
4847
use tracing_subscriber::fmt::format::{self, FormatEvent, FormatFields};

0 commit comments

Comments
 (0)