From 2dfb56f7f56298d4e57b9bf34605bbbd1d4fc56c Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 20 Dec 2021 21:05:01 -0500 Subject: [PATCH] Fixing reqwest-tracing dep. --- Cargo.lock | 2 ++ Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 5aab43405..e6956e214 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3149,11 +3149,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89af431b8c46776b5071a9a739c2b5fadbed6be2c6158d1ac5f71c4da3d2261c" dependencies = [ "async-trait", + "opentelemetry", "reqwest", "reqwest-middleware", "task-local-extensions", "tokio", "tracing", + "tracing-opentelemetry", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 778e2cac9..8bed91ec4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -62,7 +62,7 @@ tokio = { version = "1.14.0", features = ["sync"] } anyhow = "1.0.51" reqwest = { version = "0.11.7", features = ["json"] } reqwest-middleware = "0.1.3" -reqwest-tracing = "0.2.0" +reqwest-tracing = { version = "0.2.0", features = ["opentelemetry_0_16"] } activitystreams = "0.7.0-alpha.14" actix-rt = { version = "2.5.0", default-features = false } serde_json = { version = "1.0.72", features = ["preserve_order"] }