summaryrefslogtreecommitdiff
path: root/src/bin/main.rs
blob: b54c4c0394dc2b5b6f7d3d6e19bf1f948c3c57d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CSRF protection
// https://github.com/heartsucker/iron-csrf
#[macro_use]
extern crate log;
extern crate systemhttp;
extern crate env_logger;

fn main() {
    env_logger::init().unwrap();
    let _server = systemhttp::server::serve(8080).unwrap();
    println!("Serving on {}", 8080);
}