summaryrefslogtreecommitdiffstats
path: root/rust/src/lib.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-12-27 21:06:09 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-12-27 21:06:09 -0800
commitfa1892834a4650bf2e85215a3270e309d3e9f1c9 (patch)
treedd676f82952df845527fe0c1e1aa6965cdb9f0b2 /rust/src/lib.rs
parent26438d2392eb68345ee7eff204b85c6471ce59c2 (diff)
downloadfatcat-fa1892834a4650bf2e85215a3270e309d3e9f1c9.tar.gz
fatcat-fa1892834a4650bf2e85215a3270e309d3e9f1c9.zip
more basic work on auth
Diffstat (limited to 'rust/src/lib.rs')
-rw-r--r--rust/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/src/lib.rs b/rust/src/lib.rs
index 2a6c7203..f081be25 100644
--- a/rust/src/lib.rs
+++ b/rust/src/lib.rs
@@ -15,7 +15,6 @@ extern crate swagger;
#[macro_use]
extern crate error_chain;
extern crate iron;
-#[macro_use]
extern crate serde_json;
#[macro_use]
extern crate log;
@@ -43,6 +42,8 @@ pub mod errors {
Uuid(::uuid::ParseError);
Io(::std::io::Error) #[cfg(unix)];
Serde(::serde_json::Error);
+ Utf8Decode(::std::string::FromUtf8Error);
+ StringDecode(::data_encoding::DecodeError);
}
errors {
InvalidFatcatId(id: String) {