move channel/stream helpers to pbs-tools

pbs_tools
  ::blocking: std/async wrapping with block_in_place
  ::stream: stream <-> AsyncRead/AsyncWrite wrapping

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2021-07-20 11:26:29 +02:00
parent 3c8c2827cb
commit fc5870be53
9 changed files with 239 additions and 161 deletions

View File

@ -1,5 +1,6 @@
pub mod acl;
pub mod auth;
pub mod blocking;
pub mod borrow;
pub mod broadcast_future;
pub mod cert;
@ -7,12 +8,14 @@ pub mod compression;
pub mod format;
pub mod fs;
pub mod json;
pub mod lru_cache;
pub mod nom;
pub mod ops;
pub mod percent_encoding;
pub mod process_locker;
pub mod sha;
pub mod str;
pub mod stream;
pub mod sync;
pub mod ticket;
pub mod tokio;
@ -20,7 +23,6 @@ pub mod xattr;
pub mod zip;
pub mod async_lru_cache;
pub mod lru_cache;
mod command;
pub use command::{command_output, command_output_as_string, run_command};