]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/config.rs
switch from failure to anyhow
[proxmox-backup.git] / src / config.rs
index f7d904fa9e4dcaa174837a86fe4461c2e854bfce..48d1e8e9ffdd6f3cc21acfd506069dbeca34662d 100644 (file)
@@ -3,7 +3,7 @@
 //! This library contains helper to read, parse and write the
 //! configuration files.
 
-use failure::*;
+use anyhow::{bail, format_err, Error};
 use std::path::PathBuf;
 use nix::sys::stat::Mode;
 use openssl::rsa::{Rsa};