summaryrefslogtreecommitdiffstats
path: root/rust/src/api_server.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/api_server.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/api_server.rs')
-rw-r--r--rust/src/api_server.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/rust/src/api_server.rs b/rust/src/api_server.rs
index 349c6a27..0377f970 100644
--- a/rust/src/api_server.rs
+++ b/rust/src/api_server.rs
@@ -1,18 +1,18 @@
//! API endpoint handlers
-use api_entity_crud::EntityCrud;
-use api_helpers::*;
-use auth::*;
+use crate::api_entity_crud::EntityCrud;
+use crate::api_helpers::*;
+use crate::auth::*;
use chrono;
-use database_models::*;
-use database_schema::*;
+use crate::database_models::*;
+use crate::database_schema::*;
use diesel::prelude::*;
use diesel::{self, insert_into};
-use errors::*;
+use crate::errors::*;
use fatcat_api_spec::models;
use fatcat_api_spec::models::*;
use std::str::FromStr;
-use ConnectionPool;
+use crate::ConnectionPool;
macro_rules! entity_batch_handler {
($post_batch_handler:ident, $model:ident) => {