ldap0r/src/main.rs
finga 6d247c63ba Prepare rocket requisites to start with
A basic index page with basic configuration and a rudimentary test.
2020-07-03 16:10:46 +02:00

17 lines
242 B
Rust

#![feature(proc_macro_hygiene, decl_macro)]
#[macro_use]
extern crate rocket;
#[cfg(test)]
mod tests;
#[get("/")]
fn index() -> &'static str {
"Hello, ldap0r!"
}
fn main() {
rocket::ignite().mount("/", routes![index]).launch();
}