1#![deny(rust_2018_idioms, unreachable_pub, missing_debug_implementations)]
3#![allow(unused_variables, dead_code)]
4
5mod compat;
6pub mod connect;
7
8pub use ntex_io::Io;
9pub use ntex_rt::{spawn, spawn_blocking};
10
11cfg_if::cfg_if! {
12 if #[cfg(all(feature = "neon", target_os = "linux", feature = "io-uring"))] {
13 #[path = "rt_uring/mod.rs"]
14 mod rt_impl;
15 pub use self::rt_impl::{
16 from_tcp_stream, from_unix_stream, tcp_connect, unix_connect, active_stream_ops
17 };
18 } else if #[cfg(all(unix, feature = "neon"))] {
19 #[path = "rt_polling/mod.rs"]
20 mod rt_impl;
21 pub use self::rt_impl::{
22 from_tcp_stream, from_unix_stream, tcp_connect, unix_connect, active_stream_ops
23 };
24 } else {
25 pub use self::compat::*;
26 }
27}
28
29#[cfg(all(unix, feature = "neon"))]
30mod helpers;