aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2019-03-21 10:39:16 +0100
committerHarald Eilertsen <haraldei@anduin.net>2019-03-21 10:39:16 +0100
commitb4a8149dc6ed595c0bd95f5824f7048799989bdb (patch)
treeffc490cb7e13a3abe55e176b0fd308c55da051e6 /src/lib.rs
parent9c3a341e79581541fc39ceddeec28daae7dc28cf (diff)
downloadramaskrik-social-b4a8149dc6ed595c0bd95f5824f7048799989bdb.tar.gz
ramaskrik-social-b4a8149dc6ed595c0bd95f5824f7048799989bdb.tar.bz2
ramaskrik-social-b4a8149dc6ed595c0bd95f5824f7048799989bdb.zip
Actually fetch available rooms from the database.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 989a6ba..4e94f5a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -17,8 +17,12 @@
*/
#![feature(proc_macro_hygiene, decl_macro)]
+#[macro_use] extern crate diesel;
+
mod controllers;
-mod db;
+pub mod db;
+pub mod models;
+pub mod schema;
use crate::controllers::room;
use rocket::routes;