dependencies: Add base deps and boilerplate
Signed-off-by: ATechnoHazard <amolele@gmail.com>
This commit is contained in:
4 files changed
+852
-1
No files matched your search
+13
-1
@@ -1,3 +1,15 @@
|
||||
#![feature(proc_macro_hygiene, decl_macro)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate rocket;
|
||||
|
||||
#[get("/alive")]
|
||||
fn alive() -> &'static str {
|
||||
"OK"
|
||||
}
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
rocket::ignite()
|
||||
.mount("/", routes![index])
|
||||
.launch();
|
||||
}
|
||||
Reference in new issue
Block a user