From 7b7247fa803ba4170c864391300a68d3947b9a0c Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Sat, 20 Nov 2021 16:38:36 +0100 Subject: [PATCH] proxmox-async: move TokioWriterAdapter to blocking Signed-off-by: Dietmar Maurer --- proxmox-async/src/blocking/mod.rs | 3 +++ proxmox-async/src/{ => blocking}/tokio_writer_adapter.rs | 0 proxmox-async/src/lib.rs | 1 - 3 files changed, 3 insertions(+), 1 deletion(-) rename proxmox-async/src/{ => blocking}/tokio_writer_adapter.rs (100%) diff --git a/proxmox-async/src/blocking/mod.rs b/proxmox-async/src/blocking/mod.rs index f6fd7d8d..28247b34 100644 --- a/proxmox-async/src/blocking/mod.rs +++ b/proxmox-async/src/blocking/mod.rs @@ -4,5 +4,8 @@ mod std_channel_stream; pub use std_channel_stream::StdChannelStream; +mod tokio_writer_adapter; +pub use tokio_writer_adapter::TokioWriterAdapter; + mod wrapped_reader_stream; pub use wrapped_reader_stream::WrappedReaderStream; diff --git a/proxmox-async/src/tokio_writer_adapter.rs b/proxmox-async/src/blocking/tokio_writer_adapter.rs similarity index 100% rename from proxmox-async/src/tokio_writer_adapter.rs rename to proxmox-async/src/blocking/tokio_writer_adapter.rs diff --git a/proxmox-async/src/lib.rs b/proxmox-async/src/lib.rs index 3cf5102a..7a78f08d 100644 --- a/proxmox-async/src/lib.rs +++ b/proxmox-async/src/lib.rs @@ -3,5 +3,4 @@ pub mod broadcast_future; pub mod compression; pub mod runtime; pub mod stream; -pub mod tokio_writer_adapter; pub mod zip;