mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 05:26:59 +00:00
15 lines
231 B
Rust
15 lines
231 B
Rust
#![feature(proc_macro_hygiene, decl_macro)]
|
|
#[macro_use] extern crate rocket;
|
|
|
|
pub mod database;
|
|
pub mod routes;
|
|
|
|
use dotenv;
|
|
|
|
fn main() {
|
|
dotenv::dotenv().ok();
|
|
database::connect();
|
|
|
|
routes::mount(rocket::ignite()).launch();
|
|
}
|