bare 0.0.1

a bare web framework
#![feature(old_io)]
extern crate hyper;
#[macro_use] extern crate log;
extern crate "rustc-serialize" as rustc_serialize;

// use std::error::Error;

pub use bare::Service;
pub use request::Request;
pub use response::{ Response, IntoReader };
pub use method::Method;

mod bare;
mod request;
mod response;
mod json_response;

pub type WebError = String;//Box<Error>;
pub type WebResult<T> = Result<T, WebError>;

/// Status Codes
pub mod status {
    pub use hyper::status::StatusCode as Status;
    pub use hyper::status::StatusCode::*;
}

/// HTTP Methods
pub mod method {
    pub use hyper::method::Method;
    pub use hyper::method::Method::*;
}