]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/client/http_client.rs
switch from failure to anyhow
[proxmox-backup.git] / src / client / http_client.rs
index c15a8ecac67e332ee19f4b48f66df77611c1f52d..ede41eda616d63a5d43022931b2881e26217332f 100644 (file)
@@ -3,7 +3,7 @@ use std::task::{Context, Poll};
 use std::sync::{Arc, Mutex};
 
 use chrono::Utc;
-use failure::*;
+use anyhow::{bail, format_err, Error};
 use futures::*;
 use http::Uri;
 use http::header::HeaderValue;