1 2 3 4 5 6 7 8 9 10 11 12
cfg_if::cfg_if! { if #[cfg(all(feature = "futures_io", not(feature = "tokio_io")))] { pub mod transport; pub use transport::AsyncTransport; } else if #[cfg(all(not(feature = "futures_io"), feature = "tokio_io"))] { pub mod transport; pub use transport::AsyncTransport; } } pub mod configuration; pub use configuration::AsyncTransportConfiguration;