From b4a8149dc6ed595c0bd95f5824f7048799989bdb Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 21 Mar 2019 10:39:16 +0100 Subject: Actually fetch available rooms from the database. --- src/lib.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/lib.rs') 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; -- cgit v1.2.3