switch from failure to anyhow

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2020-04-17 14:11:25 +02:00
parent 404d78c41e
commit f7d4e4b506
116 changed files with 129 additions and 129 deletions

View File

@ -1,4 +1,4 @@
use failure::*;
use anyhow::{Error};
use chrono::{TimeZone, Local};
use std::io::Write;
@ -10,7 +10,7 @@ use std::io::Write;
/// #### Example:
/// ```
/// #[macro_use] extern crate proxmox_backup;
/// # use failure::*;
/// # use anyhow::{bail, format_err, Error};
/// use proxmox_backup::tools::FileLogger;
///
/// # std::fs::remove_file("test.log");