aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index fe8bcab..40fa802 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,14 +1,15 @@
#![feature(plugin)]
#![plugin(rocket_codegen)]
-extern crate diesel;
-extern crate rocket;
#[macro_use] extern crate rocket_blog;
-extern crate rocket_contrib;
#[macro_use] extern crate bart_derive;
#[macro_use] extern crate serde_derive;
-use self::rocket_blog::models;
+extern crate diesel;
+extern crate rocket;
+extern crate rocket_contrib;
+
+use rocket_blog::models;
use rocket_contrib::Json;
mod posts;