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

20 lines
560 B
Rust
Raw Normal View History

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
//! ```
// 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};
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;