mirror of
https://github.com/actix/actix-web.git
synced 2024-11-26 11:31:09 +00:00
hide blocking mod
This commit is contained in:
parent
16c42be4a2
commit
b6c1135798
2 changed files with 4 additions and 1 deletions
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue