vial 0.0.7

a micro micro-framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use vial;

mod blog;
mod wiki;

mod index {
    vial::routes! {
        GET "/" => |_| "<h1>This is the index.</h1>";
    }
}

fn main() {
    vial::run!(index, wiki, blog).unwrap();
}