]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/tools/daemon.rs
switch from failure to anyhow
[proxmox-backup.git] / src / tools / daemon.rs
index 7f367fe704e8f1cb74136825ac59d7ccc11e7c6e..10921000f4e6a6013b1726b438aa44a033143728 100644 (file)
@@ -9,7 +9,7 @@ use std::panic::UnwindSafe;
 use std::pin::Pin;
 use std::task::{Context, Poll};
 
-use failure::*;
+use anyhow::{bail, format_err, Error};
 
 use proxmox::tools::io::{ReadExt, WriteExt};