2017-10-14 16:59:35 +02:00
|
|
|
//! The `actix-web` prelude for library developers
|
2017-10-10 08:07:32 +02: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 16:59:35 +02:00
|
|
|
//! use actix_web::dev::*;
|
2017-10-10 08:07:32 +02:00
|
|
|
//! ```
|
2017-10-15 07:52:38 +02:00
|
|
|
|
|
|
|
// dev specific
|
2017-11-25 07:15:52 +01:00
|
|
|
pub use pipeline::Pipeline;
|
2017-11-29 22:53:52 +01:00
|
|
|
pub use route::Handler;
|
|
|
|
pub use channel::{HttpChannel, HttpHandler};
|
2017-12-02 19:17:15 +01:00
|
|
|
pub use recognizer::{FromParam, RouteRecognizer};
|
2017-11-29 04:49:17 +01:00
|
|
|
|
|
|
|
pub use application::ApplicationBuilder;
|
|
|
|
pub use httpresponse::HttpResponseBuilder;
|
|
|
|
pub use cookie::CookieBuilder;
|