From e272d93d506a6038de78e7a5480fb39f10eec58a Mon Sep 17 00:00:00 2001 From: LimpidCrypto Date: Sun, 28 Jan 2024 13:21:30 +0000 Subject: [PATCH] fix ambiguous name error --- src/asynch/clients/{embedded_websocket.rs => embedded_ws.rs} | 0 src/asynch/clients/mod.rs | 4 ++-- src/asynch/clients/{tokio_tungstenite.rs => tungstenite.rs} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/asynch/clients/{embedded_websocket.rs => embedded_ws.rs} (100%) rename src/asynch/clients/{tokio_tungstenite.rs => tungstenite.rs} (100%) diff --git a/src/asynch/clients/embedded_websocket.rs b/src/asynch/clients/embedded_ws.rs similarity index 100% rename from src/asynch/clients/embedded_websocket.rs rename to src/asynch/clients/embedded_ws.rs diff --git a/src/asynch/clients/mod.rs b/src/asynch/clients/mod.rs index 23038986..54eb0495 100644 --- a/src/asynch/clients/mod.rs +++ b/src/asynch/clients/mod.rs @@ -6,9 +6,9 @@ pub struct WebsocketClosed; #[cfg(all(feature = "embedded-ws", not(feature = "tungstenite")))] mod embedded_websocket; #[cfg(all(feature = "tungstenite", not(feature = "embedded-ws")))] -mod tokio_tungstenite; +mod tungstenite; #[cfg(all(feature = "embedded-ws", not(feature = "tungstenite")))] pub use embedded_websocket::*; #[cfg(all(feature = "tungstenite", not(feature = "embedded-ws")))] -pub use tokio_tungstenite::*; +pub use tungstenite::*; diff --git a/src/asynch/clients/tokio_tungstenite.rs b/src/asynch/clients/tungstenite.rs similarity index 100% rename from src/asynch/clients/tokio_tungstenite.rs rename to src/asynch/clients/tungstenite.rs