Skip to content

Commit e109950

Browse files
committed
fix feature gate
1 parent ed219da commit e109950

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/adapters.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ pub mod ws;
1111
#[cfg(feature = "unixsocket" )]
1212
pub mod unix_socket;
1313
// Add new adapters here
14-
// ...
14+
// ...

src/network/transport.rs

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use crate::adapters::tcp::{TcpAdapter, TcpConnectConfig, TcpListenConfig};
66
use crate::adapters::framed_tcp::{FramedTcpAdapter, FramedTcpConnectConfig, FramedTcpListenConfig};
77
#[cfg(feature = "udp")]
88
use crate::adapters::udp::{self, UdpAdapter, UdpConnectConfig, UdpListenConfig};
9+
#[cfg(feature = "unixsocket")]
910
use crate::adapters::unix_socket::{self, UnixSocketConnectConfig, UnixSocketDatagramAdapter, UnixSocketStreamAdapter};
1011
#[cfg(feature = "unixsocket")]
1112
use crate::adapters::unix_socket::UnixSocketListenConfig;

0 commit comments

Comments
 (0)