From f8255b1b8144d48cc6628094920da69484e5a7cc Mon Sep 17 00:00:00 2001
From: Jiahao XU <Jiahao_XU@outlook.com>
Date: Thu, 25 May 2023 00:27:05 +1000
Subject: [PATCH] dep: Downgrade tracing from v0.1.38 => v0.1.37 due to yanking
 (#1085)

Fixed #1019

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---
 Cargo.lock                            | 5 +++--
 crates/bin/Cargo.toml                 | 2 +-
 crates/binstalk-downloader/Cargo.toml | 2 +-
 crates/binstalk/Cargo.toml            | 2 +-
 4 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index d78acc08..87f1dc2a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2463,10 +2463,11 @@ checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52"
 
 [[package]]
 name = "tracing"
-version = "0.1.38"
+version = "0.1.37"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf9cf6a813d3f40c88b0b6b6f29a5c95c6cdbf97c1f9cc53fb820200f5ad814d"
+checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8"
 dependencies = [
+ "cfg-if",
  "log",
  "pin-project-lite",
  "tracing-attributes",
diff --git a/crates/bin/Cargo.toml b/crates/bin/Cargo.toml
index b3a8f926..301aacbb 100644
--- a/crates/bin/Cargo.toml
+++ b/crates/bin/Cargo.toml
@@ -41,7 +41,7 @@ supports-color = "2.0.0"
 tempfile = "3.5.0"
 tokio = { version = "1.28.1", features = ["rt-multi-thread"], default-features = false }
 tracing-core = "0.1.31"
-tracing = { version = "0.1.38", default-features = false }
+tracing = { version = "0.1.37", default-features = false }
 tracing-log = { version = "0.1.3", default-features = false }
 tracing-subscriber = { version = "0.3.17", features = ["fmt", "json", "ansi"], default-features = false }
 
diff --git a/crates/binstalk-downloader/Cargo.toml b/crates/binstalk-downloader/Cargo.toml
index 34913e9e..ec4da2a0 100644
--- a/crates/binstalk-downloader/Cargo.toml
+++ b/crates/binstalk-downloader/Cargo.toml
@@ -37,7 +37,7 @@ tokio = { version = "1.28.1", features = ["macros", "rt-multi-thread", "sync", "
 tokio-tar = "0.3.0"
 tokio-util = { version = "0.7.8", features = ["io"] }
 tower = { version = "0.4.13", features = ["limit", "util"] }
-tracing = "0.1.38"
+tracing = "0.1.37"
 # trust-dns-resolver must be kept in sync with the version reqwest uses
 trust-dns-resolver = { version = "0.22.0", optional = true, default-features = false, features = ["dnssec-ring"] }
 url = "2.3.1"
diff --git a/crates/binstalk/Cargo.toml b/crates/binstalk/Cargo.toml
index 654a35da..8711d8e1 100644
--- a/crates/binstalk/Cargo.toml
+++ b/crates/binstalk/Cargo.toml
@@ -34,7 +34,7 @@ tempfile = "3.5.0"
 thiserror = "1.0.40"
 # parking_lot for `tokio::sync::OnceCell::const_new`
 tokio = { version = "1.28.1", features = ["rt", "process", "sync", "signal", "parking_lot"], default-features = false }
-tracing = "0.1.38"
+tracing = "0.1.37"
 url = { version = "2.3.1", features = ["serde"] }
 xz2 = "0.1.7"