Skip to content

Commit fdb04a3

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

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
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-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ use std::env::{self, VarError};
4242
use std::fmt::{self, Display};
4343
use std::io::{self, IsTerminal};
4444

45-
use tracing_core::{Event, Subscriber};
45+
use tracing::{Event, Subscriber};
4646
use tracing_subscriber::filter::{Directive, EnvFilter, LevelFilter};
4747
use tracing_subscriber::fmt::FmtContext;
4848
use tracing_subscriber::fmt::format::{self, FormatEvent, FormatFields};

0 commit comments

Comments
 (0)