]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/backup/crypt_config.rs
switch from failure to anyhow
[proxmox-backup.git] / src / backup / crypt_config.rs
index bb053ae8fee0393bf13c7720f6fbf603bdbe48b0..771d41e01e5156d5afa12c76a8d6c0c2a9d389a8 100644 (file)
@@ -6,7 +6,7 @@
 //! See the Wikipedia Artikel for [Authenticated
 //! encryption](https://en.wikipedia.org/wiki/Authenticated_encryption)
 //! for a short introduction.
-use failure::*;
+use anyhow::{bail, Error};
 use openssl::pkcs5::pbkdf2_hmac;
 use openssl::hash::MessageDigest;
 use openssl::symm::{decrypt_aead, Cipher, Crypter, Mode};