pencil 0.3.0

A micro web framework for Rust. failed to build pencil-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure builds.
If you believe this is' fault, open an issue.


Build Status Version LICENSE

A microframework for Rust inspired by Flask.

extern crate pencil;

use pencil::{Pencil, Request, Response, PencilResult};

fn hello(_: &mut Request) -> PencilResult {
    Ok(Response::from("Hello World!"))

fn main() {
    let mut app = Pencil::new("/web/hello");
    app.get("/", "hello", hello);"");

One simple guide:

If you feel anything wrong, feedbacks or pull requests are welcome.