1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-27 07:19:04 +02:00

Re-export actix dependency. Closes #260 (#264)

- Re-export actix's prelude into actix namespace
- Removing implicit dependency on root's actix module
This commit is contained in:
Douman
2018-05-31 20:43:14 +03:00
committed by GitHub
parent 77becb9bc0
commit 80965d7a9a
16 changed files with 50 additions and 34 deletions

View File

@ -143,7 +143,6 @@ pub trait IdentityPolicy<S>: Sized + 'static {
/// Request identity middleware
///
/// ```rust
/// # extern crate actix;
/// # extern crate actix_web;
/// use actix_web::App;
/// use actix_web::middleware::identity::{IdentityService, CookieIdentityPolicy};

View File

@ -229,7 +229,6 @@ unsafe impl Sync for SessionImplCell {}
/// Session storage middleware
///
/// ```rust
/// # extern crate actix;
/// # extern crate actix_web;
/// use actix_web::App;
/// use actix_web::middleware::session::{SessionStorage, CookieSessionBackend};