mirror of https://github.com/fafhrd91/actix-web
refactor: export EitherExtractError
This commit is contained in:
parent
86f4f90e75
commit
c15bc7c8e4
|
|
@ -5,7 +5,7 @@
|
||||||
- `actix_web::response::builder::HttpResponseBuilder::streaming()` now sets `Content-Type` to `application/octet-stream` if `Content-Type` does not exist.
|
- `actix_web::response::builder::HttpResponseBuilder::streaming()` now sets `Content-Type` to `application/octet-stream` if `Content-Type` does not exist.
|
||||||
- `actix_web::response::builder::HttpResponseBuilder::streaming()` now calls `actix_web::response::builder::HttpResponseBuilder::no_chunking()` if `Content-Length` is set by user.
|
- `actix_web::response::builder::HttpResponseBuilder::streaming()` now calls `actix_web::response::builder::HttpResponseBuilder::no_chunking()` if `Content-Length` is set by user.
|
||||||
- Add `ws` crate feature (on-by-default) which forwards to `actix-http` and guards some of its `ResponseError` impls.
|
- Add `ws` crate feature (on-by-default) which forwards to `actix-http` and guards some of its `ResponseError` impls.
|
||||||
- Add public export for `EitherExtractError`.
|
- Add public export for `EitherExtractError` in `error` module.
|
||||||
|
|
||||||
## 4.11.0
|
## 4.11.0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ mod response_error;
|
||||||
|
|
||||||
pub(crate) use self::macros::{downcast_dyn, downcast_get_type_id};
|
pub(crate) use self::macros::{downcast_dyn, downcast_get_type_id};
|
||||||
pub use self::{error::Error, internal::*, response_error::ResponseError};
|
pub use self::{error::Error, internal::*, response_error::ResponseError};
|
||||||
|
pub use crate::types::EitherExtractError;
|
||||||
|
|
||||||
/// A convenience [`Result`](std::result::Result) for Actix Web operations.
|
/// A convenience [`Result`](std::result::Result) for Actix Web operations.
|
||||||
///
|
///
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,7 @@ pub use crate::{
|
||||||
route::Route,
|
route::Route,
|
||||||
scope::Scope,
|
scope::Scope,
|
||||||
server::HttpServer,
|
server::HttpServer,
|
||||||
types::{Either, EitherExtractError},
|
types::Either,
|
||||||
};
|
};
|
||||||
|
|
||||||
macro_rules! codegen_reexport {
|
macro_rules! codegen_reexport {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue