]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/api2/backup/upload_chunk.rs
switch from failure to anyhow
[proxmox-backup.git] / src / api2 / backup / upload_chunk.rs
index 3fc457b0f67b6d39a0cd0162807631628ca273f7..483ced3ca0e7628c8f0ea0f5391d596bfcfad1dc 100644 (file)
@@ -2,7 +2,7 @@ use std::pin::Pin;
 use std::sync::Arc;
 use std::task::{Context, Poll};
 
-use failure::*;
+use anyhow::{bail, format_err, Error};
 use futures::*;
 use hyper::Body;
 use hyper::http::request::Parts;