diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2019-03-21 10:39:16 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2019-03-21 10:39:16 +0100 |
commit | b4a8149dc6ed595c0bd95f5824f7048799989bdb (patch) | |
tree | ffc490cb7e13a3abe55e176b0fd308c55da051e6 /src/lib.rs | |
parent | 9c3a341e79581541fc39ceddeec28daae7dc28cf (diff) | |
download | ramaskrik-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.rs | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; |