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::{bail, Error};
use std::sync::Arc;
use std::io::Cursor;
use std::io::{Read, Write, Seek, SeekFrom };

View File

@ -1,4 +1,4 @@
use failure::*;
use anyhow::{Error};
use std::process::Command;
use proxmox_backup::pxar::*;

View File

@ -1,4 +1,4 @@
use failure::*;
use anyhow::{Error};
use std::path::PathBuf;
use proxmox_backup::backup::*;

View File

@ -1,4 +1,4 @@
use failure::*;
use anyhow::{bail, format_err, Error};
use proxmox_backup::api2;
use proxmox::api::*;

View File

@ -1,4 +1,4 @@
use failure::*;
use anyhow::{bail, Error};
#[macro_use]
extern crate proxmox_backup;