Skip to content

Commit e8f7754

Browse files
themaxdavitthawkw
authored andcommitted
journald: disable default features of tracing-subscriber (#1476)
## Motivation Closes #1465. ## Solution I'm just disabling the default features of `tracing-journald`'s dependency on `tracing-subscriber`. The original issue talked about the crate's dependencies more broadly but considering that the standard library is already depended upon I didn't think it made sense to change the `tracing-core` dependency's features (which are just `no_std` support).
1 parent 586da9b commit e8f7754

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tracing-journald/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ rust-version = "1.49.0"
1818
[dependencies]
1919
libc = "0.2.107"
2020
tracing-core = { path = "../tracing-core", version = "0.1.10" }
21-
tracing-subscriber = { path = "../tracing-subscriber", version = "0.3" }
21+
tracing-subscriber = { path = "../tracing-subscriber", version = "0.3", default-features = false, features = ["registry"] }
2222

2323
[dev-dependencies]
2424
serde_json = "1.0.68"
2525
serde = { version = "1.0.130", features = ["derive"] }
26-
tracing = { path = "../tracing", version = "0.1" }
26+
tracing = { path = "../tracing", version = "0.1" }

0 commit comments

Comments
 (0)