summaryrefslogtreecommitdiffstats
path: root/store/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'store/src/lib.rs')
-rw-r--r--store/src/lib.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/store/src/lib.rs b/store/src/lib.rs
index b6046148..28ef59c4 100644
--- a/store/src/lib.rs
+++ b/store/src/lib.rs
@@ -53,7 +53,6 @@
extern crate capnp;
#[macro_use]
extern crate capnp_rpc;
-extern crate failure;
extern crate futures;
extern crate rand;
extern crate rusqlite;
@@ -1153,11 +1152,11 @@ impl Iterator for LogIter {
/* Error handling. */
/// Results for sequoia-store.
-pub type Result<T> = ::std::result::Result<T, failure::Error>;
+pub type Result<T> = ::std::result::Result<T, anyhow::Error>;
// Converts from backend errors.
-impl From<node::Error> for failure::Error {
+impl From<node::Error> for anyhow::Error {
fn from(error: node::Error) -> Self {
match error {
node::Error::Unspecified => Error::StoreError.into(),