From af433c6aaa90df451bc997a8ab549211ae3937a5 Mon Sep 17 00:00:00 2001 From: Sahkal Poddar Date: Thu, 11 Jan 2024 15:14:11 +0530 Subject: [PATCH] refactor(router): fixed compilation warning --- crates/redis_interface/src/lib.rs | 2 +- crates/router/src/macros.rs | 5 +---- crates/router/src/types/storage/query.rs | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/crates/redis_interface/src/lib.rs b/crates/redis_interface/src/lib.rs index 7111869a5c0..33d40ebe155 100644 --- a/crates/redis_interface/src/lib.rs +++ b/crates/redis_interface/src/lib.rs @@ -28,7 +28,7 @@ pub use fred::interfaces::PubsubInterface; use fred::{interfaces::ClientLike, prelude::EventInterface}; use router_env::logger; -pub use self::{commands::*, types::*}; +pub use self::types::*; pub struct RedisConnectionPool { pub pool: fred::prelude::RedisPool, diff --git a/crates/router/src/macros.rs b/crates/router/src/macros.rs index e6c9dba7d6e..efe71e49bb0 100644 --- a/crates/router/src/macros.rs +++ b/crates/router/src/macros.rs @@ -1,4 +1 @@ -pub use common_utils::{ - async_spawn, collect_missing_value_keys, fallback_reverse_lookup_not_found, newtype, - newtype_impl, -}; +pub use common_utils::{collect_missing_value_keys, newtype}; diff --git a/crates/router/src/types/storage/query.rs b/crates/router/src/types/storage/query.rs index 1483dec3eab..8b137891791 100644 --- a/crates/router/src/types/storage/query.rs +++ b/crates/router/src/types/storage/query.rs @@ -1 +1 @@ -pub use diesel_models::query::*; +