summaryrefslogtreecommitdiffstats
path: root/rust/src/auth.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-08 21:43:14 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-08 21:43:17 -0800
commiteb6fb8e5fe1efb3fbb927d13075cf5a1b33aa83e (patch)
treec5f4daeed7e661bdfe41c432d0e8921d3f146489 /rust/src/auth.rs
parentba1bde18d780db53ac3562a3be9ae62bb5729db6 (diff)
downloadfatcat-eb6fb8e5fe1efb3fbb927d13075cf5a1b33aa83e.tar.gz
fatcat-eb6fb8e5fe1efb3fbb927d13075cf5a1b33aa83e.zip
rust 2018 edition!
Only the basics to get things to compile/test again in this commit.
Diffstat (limited to 'rust/src/auth.rs')
-rw-r--r--rust/src/auth.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/rust/src/auth.rs b/rust/src/auth.rs
index d4e03ecf..da038b6b 100644
--- a/rust/src/auth.rs
+++ b/rust/src/auth.rs
@@ -5,13 +5,13 @@ use macaroon::{Format, Macaroon, Verifier};
use std::fmt;
use swagger::auth::{AuthData, Authorization, Scopes};
-use api_helpers::*;
+use crate::api_helpers::*;
use chrono::prelude::*;
-use database_models::*;
-use database_schema::*;
+use crate::database_models::*;
+use crate::database_schema::*;
use diesel;
use diesel::prelude::*;
-use errors::*;
+use crate::errors::*;
use std::collections::HashMap;
use std::str::FromStr;