1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-12-01 02:54:36 +01:00
actix-web/src/lib.rs

65 lines
1.4 KiB
Rust
Raw Normal View History

2017-10-23 06:40:41 +02:00
//! Web framework for [Actix](https://github.com/actix/actix)
2017-10-07 06:48:14 +02:00
#[macro_use]
extern crate log;
extern crate time;
extern crate bytes;
2017-10-08 06:48:00 +02:00
extern crate sha1;
2017-10-17 04:21:24 +02:00
extern crate regex;
2017-10-07 06:48:14 +02:00
#[macro_use]
extern crate futures;
extern crate tokio_core;
extern crate tokio_io;
extern crate tokio_proto;
2017-10-08 23:56:51 +02:00
extern crate cookie;
2017-10-07 06:48:14 +02:00
extern crate http;
extern crate httparse;
extern crate http_range;
2017-10-19 08:43:50 +02:00
extern crate mime;
2017-10-16 10:19:23 +02:00
extern crate mime_guess;
extern crate url;
2017-10-07 06:48:14 +02:00
extern crate actix;
mod application;
mod context;
mod error;
mod date;
mod decode;
mod httprequest;
2017-10-15 18:33:17 +02:00
mod httpresponse;
mod logger;
2017-10-09 05:16:48 +02:00
mod payload;
2017-10-07 06:48:14 +02:00
mod resource;
2017-10-17 04:21:24 +02:00
mod recognizer;
2017-10-07 06:48:14 +02:00
mod route;
mod reader;
2017-10-17 04:21:24 +02:00
mod task;
mod staticfiles;
2017-10-07 06:48:14 +02:00
mod server;
2017-10-08 06:48:00 +02:00
mod wsframe;
mod wsproto;
2017-10-10 08:07:32 +02:00
pub mod ws;
pub mod dev;
2017-10-07 06:48:14 +02:00
pub mod httpcodes;
2017-10-19 08:43:50 +02:00
pub mod multipart;
pub use error::ParseError;
pub use application::{Application, ApplicationBuilder, Middleware};
pub use httprequest::{HttpRequest, UrlEncoded};
2017-10-15 23:17:41 +02:00
pub use httpresponse::{Body, HttpResponse, HttpResponseBuilder};
2017-10-14 01:33:23 +02:00
pub use payload::{Payload, PayloadItem, PayloadError};
2017-10-22 18:13:29 +02:00
pub use route::{Route, RouteFactory, RouteHandler, RouteResult};
2017-10-17 04:21:24 +02:00
pub use resource::{Reply, Resource};
pub use recognizer::{Params, RouteRecognizer};
pub use logger::Logger;
2017-10-07 06:48:14 +02:00
pub use server::HttpServer;
pub use context::HttpContext;
pub use staticfiles::StaticFiles;
2017-10-14 19:40:58 +02:00
// re-exports
2017-10-15 23:17:41 +02:00
pub use http::{Method, StatusCode};
2017-10-14 19:40:58 +02:00
pub use cookie::{Cookie, CookieBuilder};
pub use cookie::{ParseError as CookieParseError};
pub use http_range::{HttpRange, HttpRangeParseError};