2017-10-14 07:59:35 -07:00
|
|
|
//! The `actix-web` prelude for library developers
|
2017-10-09 23:07:32 -07:00
|
|
|
//!
|
|
|
|
//! The purpose of this module is to alleviate imports of many common actix traits
|
|
|
|
//! by adding a glob import to the top of actix heavy modules:
|
|
|
|
//!
|
|
|
|
//! ```
|
|
|
|
//! # #![allow(unused_imports)]
|
2017-10-14 07:59:35 -07:00
|
|
|
//! use actix_web::dev::*;
|
2017-10-09 23:07:32 -07:00
|
|
|
//! ```
|
2017-10-14 22:52:38 -07:00
|
|
|
|
|
|
|
// dev specific
|
|
|
|
pub use task::Task;
|
2017-11-24 22:15:52 -08:00
|
|
|
pub use pipeline::Pipeline;
|
2017-11-26 22:53:28 -08:00
|
|
|
pub use route::RouteFactory;
|
2017-10-23 19:28:23 -07:00
|
|
|
pub use recognizer::RouteRecognizer;
|
2017-11-26 22:53:28 -08:00
|
|
|
pub use channel::HttpChannel;
|
2017-11-28 19:49:17 -08:00
|
|
|
|
|
|
|
pub use application::ApplicationBuilder;
|
|
|
|
pub use httpresponse::HttpResponseBuilder;
|
|
|
|
pub use cookie::CookieBuilder;
|