1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-28 01:52:57 +01:00

hide blocking mod

This commit is contained in:
Nikolay Kim 2019-03-10 10:56:53 -07:00
parent 16c42be4a2
commit b6c1135798
2 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,8 @@ pub use actix_http::error::*;
use derive_more::{Display, From}; use derive_more::{Display, From};
use url::ParseError as UrlParseError; use url::ParseError as UrlParseError;
pub use crate::blocking::BlockingError;
/// Errors which can occur when attempting to generate resource uri. /// Errors which can occur when attempting to generate resource uri.
#[derive(Debug, PartialEq, Display, From)] #[derive(Debug, PartialEq, Display, From)]
pub enum UrlGenerationError { pub enum UrlGenerationError {

View File

@ -2,7 +2,7 @@
mod app; mod app;
mod app_service; mod app_service;
pub mod blocking; mod blocking;
mod config; mod config;
pub mod error; pub mod error;
mod extract; mod extract;
@ -54,6 +54,7 @@ pub mod dev {
//! ``` //! ```
pub use crate::app::AppRouter; pub use crate::app::AppRouter;
pub use crate::blocking::CpuFuture;
pub use crate::config::{AppConfig, ServiceConfig}; pub use crate::config::{AppConfig, ServiceConfig};
pub use crate::info::ConnectionInfo; pub use crate::info::ConnectionInfo;
pub use crate::rmap::ResourceMap; pub use crate::rmap::ResourceMap;