1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-28 10:02:38 +01:00
actix-web/src/lib.rs

40 lines
837 B
Rust
Raw Normal View History

2017-09-30 18:10:03 +02:00
//! Actix http framework
2017-10-07 06:48:14 +02:00
#[macro_use]
extern crate log;
extern crate time;
extern crate bytes;
#[macro_use]
extern crate futures;
extern crate tokio_core;
extern crate tokio_io;
extern crate tokio_proto;
extern crate hyper;
extern crate http;
extern crate httparse;
extern crate route_recognizer;
extern crate actix;
mod application;
mod context;
mod error;
mod date;
mod decode;
mod httpmessage;
mod resource;
mod route;
mod router;
mod task;
mod reader;
mod server;
pub mod httpcodes;
pub use application::HttpApplication;
2017-10-07 08:14:13 +02:00
pub use route::{Route, RouteFactory, RouteHandler, Payload, PayloadItem};
pub use resource::{HttpMessage, HttpResource};
2017-10-07 06:48:14 +02:00
pub use server::HttpServer;
pub use context::HttpContext;
pub use router::RoutingMap;
pub use route_recognizer::Params;
2017-10-07 08:14:13 +02:00
pub use httpmessage::{HttpRequest, HttpResponse, IntoHttpResponse};