1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-24 08:22:59 +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 url::ParseError as UrlParseError;
pub use crate::blocking::BlockingError;
/// Errors which can occur when attempting to generate resource uri.
#[derive(Debug, PartialEq, Display, From)]
pub enum UrlGenerationError {

View File

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