Skip to content

Commit fde8271

Browse files
committed
update tracing version
1 parent d0ef365 commit fde8271

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ tonic = { version = "0.12.3", default-features = false }
4444
tonic-build = "0.12"
4545
tokio = { version = "1", default-features = false }
4646
tokio-stream = "0.1"
47-
tracing = { version = "0.1", default-features = false }
48-
tracing-core = { version = "0.1", default-features = false }
47+
# Using `tracing 0.1.39` because it introduces the ability to set event names in macros,
48+
# required for OpenTelemetry's internal logging macros. Falling back to 0.1.40 or later if unavailable.
49+
tracing = { version = ">=0.1.39", default-features = false }
50+
tracing-core = { version = ">=0.1.33", default-features = false } # tracing 0.1.40 needs tracing-core 0.1.33 and above
4951
tracing-subscriber = { version = "0.3", default-features = false }
5052
url = { version = "2.5.2", default-features = false } #https://github.com/servo/rust-url/issues/992

0 commit comments

Comments
 (0)