From 5744b459eefc652bbfaf5c7b5c4f4f91f1cf3e4f Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Wed, 7 Jun 2023 17:43:10 -0700 Subject: [PATCH] lint --- web3_proxy/src/response_cache.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web3_proxy/src/response_cache.rs b/web3_proxy/src/response_cache.rs index a2f36d74..f9541672 100644 --- a/web3_proxy/src/response_cache.rs +++ b/web3_proxy/src/response_cache.rs @@ -238,9 +238,8 @@ pub fn json_rpc_response_weigher(_key: &K, value: &JsonRpcResponseEnum) mod tests { use super::JsonRpcResponseEnum; use crate::response_cache::json_rpc_response_weigher; - use moka::future::{Cache, CacheBuilder}; use serde_json::value::RawValue; - use std::{sync::Arc, time::Duration}; + use std::sync::Arc; #[tokio::test(start_paused = true)] async fn test_json_rpc_query_weigher() {