Skip to content

Commit

Permalink
Unix-only import. (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomusdrw authored Jul 21, 2021
1 parent ff05786 commit 09111be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/transports/ipc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ use std::{
};
use tokio::{
io::AsyncWriteExt,
net::UnixStream,
sync::{mpsc, oneshot},
};
use tokio_stream::wrappers::UnboundedReceiverStream;
use tokio_util::io::ReaderStream;

#[cfg(unix)]
use tokio::net::UnixStream;

/// Unix Domain Sockets (IPC) transport.
#[derive(Debug, Clone)]
pub struct Ipc {
Expand Down

0 comments on commit 09111be

Please sign in to comment.