Skip to content

Commit d58137b

Browse files
committed
rustc_log: remove direct dep on tracing_core
required features reexported from tracing
1 parent 13c33ab commit d58137b

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
@@ -4289,7 +4289,6 @@ version = "0.0.0"
42894289
dependencies = [
42904290
"rustc_span",
42914291
"tracing",
4292-
"tracing-core",
42934292
"tracing-subscriber",
42944293
"tracing-tree",
42954294
]

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
@@ -41,7 +41,7 @@
4141
use std::env::{self, VarError};
4242
use std::fmt::{self, Display};
4343
use std::io::{self, IsTerminal};
44-
use tracing_core::{Event, Subscriber};
44+
use tracing::{Event, Subscriber};
4545
use tracing_subscriber::filter::{Directive, EnvFilter, LevelFilter};
4646
use tracing_subscriber::fmt::{
4747
format::{self, FormatEvent, FormatFields},

0 commit comments

Comments
 (0)