From 58643d605cacfd048d4f56a131b2daa84a667ccb Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Tue, 17 May 2022 04:26:53 +0000 Subject: [PATCH] tracing should use parking lot too --- Cargo.lock | 1 + web3-proxy/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index d2c6b736..5f934ce0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3637,6 +3637,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4bc28f93baff38037f64e6f43d34cfa1605f27a49c34e8a04c5e78b0babf2596" dependencies = [ "ansi_term", + "parking_lot 0.12.0", "sharded-slab", "smallvec", "thread_local", diff --git a/web3-proxy/Cargo.toml b/web3-proxy/Cargo.toml index 95170988..d93b302b 100644 --- a/web3-proxy/Cargo.toml +++ b/web3-proxy/Cargo.toml @@ -32,7 +32,7 @@ tokio = { version = "1.18.2", features = ["full"] } toml = "0.5.9" tracing = "0.1.34" # TODO: tracing-subscriber has serde and serde_json features that we might want to use -tracing-subscriber = "0.3.11" +tracing-subscriber = { version = "0.3.11", features = ["parking_lot"] } url = "2.2.2" # TODO: replace warp with axum? warp = "0.3.2"