Skip to content

Commit 9dcc172

Browse files
authored
deps: promote tracing-subscriber to workspace level
Promote `tracing-subscriber` to workspace-level dependency. Related issue: #5230 Pull-Request: #5441.
1 parent af42122 commit 9dcc172

File tree

40 files changed

+41
-40
lines changed

40 files changed

+41
-40
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ rw-stream-sink = { version = "0.4.0", path = "misc/rw-stream-sink" }
126126
unsigned-varint = { version = "0.8.0" }
127127
tokio = { version = "1.38", default-features = false }
128128
tracing = "0.1.37"
129+
tracing-subscriber = "0.3"
129130
futures = "0.3.30"
130131
ring = "0.17.8"
131132

examples/autonat/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ clap = { version = "4.5.4", features = ["derive"] }
1414
futures = { workspace = true }
1515
libp2p = { path = "../../libp2p", features = ["tokio", "tcp", "noise", "yamux", "autonat", "identify", "macros"] }
1616
tracing = { workspace = true }
17-
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
17+
tracing-subscriber = { workspace = true, features = ["env-filter"] }
1818

1919
[lints]
2020
workspace = true

examples/browser-webrtc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ anyhow = "1.0.86"
2020
futures = { workspace = true }
2121
rand = "0.8"
2222
tracing = { workspace = true }
23-
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
23+
tracing-subscriber = { workspace = true, features = ["env-filter"] }
2424

2525
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
2626
axum = "0.7.5"

examples/chat/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ async-trait = "0.1"
1414
futures = { workspace = true }
1515
libp2p = { path = "../../libp2p", features = [ "tokio", "gossipsub", "mdns", "noise", "macros", "tcp", "yamux", "quic"] }
1616
tracing = { workspace = true }
17-
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
17+
tracing-subscriber = { workspace = true, features = ["env-filter"] }
1818

1919
[lints]
2020
workspace = true

examples/dcutr/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ libp2p = { path = "../../libp2p", features = [ "dns", "dcutr", "identify", "macr
1616
log = "0.4"
1717
tokio = { workspace = true, features = ["macros", "net", "rt", "signal"] }
1818
tracing = { workspace = true }
19-
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
19+
tracing-subscriber = { workspace = true, features = ["env-filter"] }
2020

2121
[lints]
2222
workspace = true

examples/distributed-key-value-store/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ async-trait = "0.1"
1414
futures = { workspace = true }
1515
libp2p = { path = "../../libp2p", features = [ "async-std", "dns", "kad", "mdns", "noise", "macros", "tcp", "yamux"] }
1616
tracing = { workspace = true }
17-
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
17+
tracing-subscriber = { workspace = true, features = ["env-filter"] }
1818

1919
[lints]
2020
workspace = true

examples/file-sharing/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ clap = { version = "4.5.4", features = ["derive"] }
1515
futures = { workspace = true }
1616
libp2p = { path = "../../libp2p", features = [ "tokio", "cbor", "dns", "kad", "noise", "macros", "request-response", "tcp", "websocket", "yamux"] }
1717
tracing = { workspace = true }
18-
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
18+
tracing-subscriber = { workspace = true, features = ["env-filter"] }
1919
void = "1.0.2"
2020

2121
[lints]

examples/identify/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ async-trait = "0.1"
1414
futures = { workspace = true }
1515
libp2p = { path = "../../libp2p", features = ["async-std", "dns", "dcutr", "identify", "macros", "noise", "ping", "relay", "rendezvous", "tcp", "tokio","yamux"] }
1616
tracing = { workspace = true }
17-
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
17+
tracing-subscriber = { workspace = true, features = ["env-filter"] }
1818

1919
[lints]
2020
workspace = true

examples/ipfs-kad/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ futures = { workspace = true }
1717
anyhow = "1.0.86"
1818
libp2p = { path = "../../libp2p", features = [ "tokio", "dns", "kad", "noise", "tcp", "yamux", "rsa"] }
1919
tracing = { workspace = true }
20-
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
20+
tracing-subscriber = { workspace = true, features = ["env-filter"] }
2121

2222
[lints]
2323
workspace = true

examples/ipfs-private/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ either = "1.12"
1515
futures = { workspace = true }
1616
libp2p = { path = "../../libp2p", features = [ "tokio", "gossipsub", "dns", "identify", "kad", "macros", "noise", "ping", "pnet", "tcp", "websocket", "yamux"] }
1717
tracing = { workspace = true }
18-
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
18+
tracing-subscriber = { workspace = true, features = ["env-filter"] }
1919

2020
[lints]
2121
workspace = true

0 commit comments

Comments
 (0)