aboutsummaryrefslogtreecommitdiff
path: root/core/src/async_runtime/io.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/async_runtime/io.rs')
-rw-r--r--core/src/async_runtime/io.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/src/async_runtime/io.rs b/core/src/async_runtime/io.rs
new file mode 100644
index 0000000..161c258
--- /dev/null
+++ b/core/src/async_runtime/io.rs
@@ -0,0 +1,9 @@
+#[cfg(feature = "smol")]
+pub use smol::io::{
+ split, AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt, ReadHalf, WriteHalf,
+};
+
+#[cfg(feature = "tokio")]
+pub use tokio::io::{
+ split, AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt, ReadHalf, WriteHalf,
+};