summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2020-08-27 10:45:51 -0700
committerGitHub <noreply@github.com>2020-08-27 13:45:51 -0400
commit933eb8ab38317d894b8b09b4de3cecd317221e06 (patch)
tree5e0d48dbf2043dad60a8900061ac921745133093 /src/lib.rs
parentdd7596758f55fcbbfbd690a8da17d8a17c4ec1d8 (diff)
Switch from error-chain to thiserror (#33)
thiserror provides a simpler interface than error-chain, directly generating an error enum similar to what could be written by hand. It also reduces dependencies; error-chain pulls in backtrace which currently pulls in gimli, which is fairly heavyweight. This changes the error type's interface, so it'll require a bump to 0.7.0.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 3dae164..7bf11ba 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -203,8 +203,6 @@
)]
#[macro_use]
-extern crate error_chain;
-#[macro_use]
extern crate serde;
#[cfg(feature = "actix")]