mirror of
https://github.com/actix/actix-web.git
synced 2025-02-11 08:42:20 +00:00
19 lines
587 B
Rust
19 lines
587 B
Rust
//! The `actix-web` prelude for library developers
|
|
//!
|
|
//! 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)]
|
|
//! use actix_web::dev::*;
|
|
//! ```
|
|
|
|
// dev specific
|
|
pub use handler::Handler;
|
|
pub use pipeline::Pipeline;
|
|
pub use channel::{HttpChannel, HttpHandler};
|
|
pub use recognizer::{FromParam, RouteRecognizer, Pattern, PatternElement};
|
|
|
|
pub use cookie::CookieBuilder;
|
|
pub use application::ApplicationBuilder;
|
|
pub use httpresponse::HttpResponseBuilder;
|