]> git.proxmox.com Git - proxmox-backup.git/commit
move channel/stream helpers to pbs-tools
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 20 Jul 2021 09:26:29 +0000 (11:26 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 20 Jul 2021 09:27:40 +0000 (11:27 +0200)
commitfc5870be53bc41c406834d39dcea6d202e17c98e
tree5cad9b09b3be07bcbec0bd5736b2fb82b874762f
parent3c8c2827cb74c16c75cac158fc845af5a39675cb
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>
pbs-tools/Cargo.toml
pbs-tools/src/blocking.rs [new file with mode: 0644]
pbs-tools/src/lib.rs
pbs-tools/src/stream.rs [new file with mode: 0644]
src/api2/admin/datastore.rs
src/bin/proxmox-backup-client.rs
src/server/rest.rs
src/tools/async_channel_writer.rs [deleted file]
src/tools/mod.rs
src/tools/wrapped_reader_stream.rs [deleted file]