diff --git a/proxmox-async/src/stream/async_channel_writer.rs b/proxmox-async/src/io/async_channel_writer.rs similarity index 100% rename from proxmox-async/src/stream/async_channel_writer.rs rename to proxmox-async/src/io/async_channel_writer.rs diff --git a/proxmox-async/src/io/mod.rs b/proxmox-async/src/io/mod.rs new file mode 100644 index 00000000..9a6d8a62 --- /dev/null +++ b/proxmox-async/src/io/mod.rs @@ -0,0 +1,4 @@ +//! Helper which implements AsyncRead/AsyncWrite + +mod async_channel_writer; +pub use async_channel_writer::AsyncChannelWriter; diff --git a/proxmox-async/src/lib.rs b/proxmox-async/src/lib.rs index 7a78f08d..aee388c0 100644 --- a/proxmox-async/src/lib.rs +++ b/proxmox-async/src/lib.rs @@ -1,6 +1,7 @@ pub mod blocking; pub mod broadcast_future; pub mod compression; +pub mod io; pub mod runtime; pub mod stream; pub mod zip; diff --git a/proxmox-async/src/stream/mod.rs b/proxmox-async/src/stream/mod.rs index 26f9e516..f40ba7bf 100644 --- a/proxmox-async/src/stream/mod.rs +++ b/proxmox-async/src/stream/mod.rs @@ -1,7 +1,4 @@ //! Wrappers between async readers and streams. -mod async_channel_writer; -pub use async_channel_writer::AsyncChannelWriter; - mod async_reader_stream; pub use async_reader_stream::AsyncReaderStream;