]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/bin/test_chunk_speed2.rs
update a chunk of stuff to the hyper release
[proxmox-backup.git] / src / bin / test_chunk_speed2.rs
index 3fe7024a33138a8c348f62cb202931ec08cc8661..27f7a1570621200087678356c9c501a8dd98ab2f 100644 (file)
@@ -23,7 +23,7 @@ async fn run() -> Result<(), Error> {
 
     let file = tokio::fs::File::open("random-test.dat").await?;
 
-    let stream = tokio::codec::FramedRead::new(file, tokio::codec::BytesCodec::new())
+    let stream = tokio_util::codec::FramedRead::new(file, tokio_util::codec::BytesCodec::new())
         .map_ok(|bytes| bytes.to_vec())
         .map_err(Error::from);