From d484c05e56194346944b295968c66ccc0e543534 Mon Sep 17 00:00:00 2001 From: Eskil Queseth Date: Wed, 24 Mar 2021 21:38:51 +0100 Subject: remove ipc-channel dependency --- mumd/src/client.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mumd/src/client.rs') diff --git a/mumd/src/client.rs b/mumd/src/client.rs index 84c1ea1..cdae7eb 100644 --- a/mumd/src/client.rs +++ b/mumd/src/client.rs @@ -2,16 +2,15 @@ use crate::command; use crate::network::{tcp, udp, ConnectionInfo}; use crate::state::State; -use ipc_channel::ipc::IpcSender; use mumble_protocol::{Serverbound, control::ControlPacket, crypt::ClientCryptState}; use mumlib::command::{Command, CommandResponse}; use std::sync::Arc; -use tokio::{join, sync::{mpsc, watch, Mutex}}; +use tokio::{join, sync::{Mutex, mpsc, oneshot, watch}}; pub async fn handle( command_receiver: mpsc::UnboundedReceiver<( Command, - IpcSender>>, + oneshot::Sender>>, )>, ) { let (connection_info_sender, connection_info_receiver) = -- cgit v1.2.1