karyon_core/async_runtime/
net.rs1#[cfg(target_family = "unix")]
2pub use std::os::unix::net::SocketAddr;
3
4#[cfg(all(feature = "smol", target_family = "unix"))]
5pub use smol::net::unix::{SocketAddr as UnixSocketAddr, UnixListener, UnixStream};
6#[cfg(feature = "smol")]
7pub use smol::net::{TcpListener, TcpStream, UdpSocket};
8
9#[cfg(all(feature = "tokio", target_family = "unix"))]
10pub use tokio::net::{unix::SocketAddr as UnixSocketAddr, UnixListener, UnixStream};
11#[cfg(feature = "tokio")]
12pub use tokio::net::{TcpListener, TcpStream, UdpSocket};