Initial commit

This commit is contained in:
Daniel Løvbrøtte Olsen
2020-03-24 22:21:29 +01:00
commit 53d016ceb6
6 changed files with 564 additions and 0 deletions

13
src/main.rs Normal file
View File

@@ -0,0 +1,13 @@
#![feature(proc_macro_hygiene, decl_macro)]
#[macro_use] extern crate rocket;
#[get("/")]
fn index() -> &'static str {
"Hello, world!"
}
fn main() {
rocket::ignite().mount("/", routes![index]).launch();
}