Skip to content

Commit

Permalink
journald: disable default features of tracing-subscriber (#1476)
Browse files Browse the repository at this point in the history
## 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).
  • Loading branch information
themaxdavitt authored May 9, 2022
1 parent 3f058db commit 6bae73b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tracing-journald/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ rust-version = "1.49.0"
[dependencies]
libc = "0.2.107"
tracing-core = { path = "../tracing-core", version = "0.2" }
tracing-subscriber = { path = "../tracing-subscriber", version = "0.3" }
tracing-subscriber = { path = "../tracing-subscriber", version = "0.3", default-features = false, features = ["registry"] }

[dev-dependencies]
serde_json = "1.0.68"
serde = { version = "1.0.130", features = ["derive"] }
tracing = { path = "../tracing", version = "0.2" }
tracing = { path = "../tracing", version = "0.2" }

0 comments on commit 6bae73b

Please sign in to comment.