1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
extern crate serde; #[macro_use] extern crate log; extern crate void; extern crate mime; extern crate mime_guess; extern crate regex; extern crate combine; extern crate serde_json; extern crate hyper; extern crate futures; mod api; mod routes; mod parse_route; mod static_file; pub use api::Server; pub use api::RequestInfo; pub fn create() -> api::Server { api::Server::new() }