remove proxmox-protocol subcrate

AFAICT we have no use for it anymore, its api entry points
are gone. If we do end up needing something from it, it's
still in the git history anyway. (And about two thirds of it
can be made much less awkward by utilizing async-await
anyway, so no love lost there...)

Moved the chunker back into src/backup/chunker.rs

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2019-08-22 14:03:43 +02:00
parent 7a57cb77e1
commit 7d83440c60
19 changed files with 67 additions and 3073 deletions

View File

@ -1,10 +1,9 @@
use failure::*;
use proxmox_protocol::Chunker;
use futures::{Async, Poll};
use futures::stream::Stream;
use bytes::BytesMut;
use failure::*;
use futures::stream::Stream;
use futures::{Async, Poll};
use super::Chunker;
/// Split input stream into dynamic sized chunks
pub struct ChunkStream<S> {