mirror of
https://github.com/actix/actix-extras.git
synced 2025-02-17 08:33:30 +01:00
protobuf: Minimize futures
dependency
This commit is contained in:
parent
c152c1ae8c
commit
2e3a094ef7
@ -4,6 +4,10 @@
|
|||||||
|
|
||||||
* Minimum supported Rust version(MSRV) is now 1.40.0.
|
* Minimum supported Rust version(MSRV) is now 1.40.0.
|
||||||
|
|
||||||
|
## unreleased
|
||||||
|
|
||||||
|
* Minimize `futures` dependency
|
||||||
|
|
||||||
## 0.5.1 (2019-02-17)
|
## 0.5.1 (2019-02-17)
|
||||||
|
|
||||||
* Move repository to actix-extras
|
* Move repository to actix-extras
|
||||||
|
@ -17,7 +17,7 @@ path = "src/lib.rs"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bytes = "0.5"
|
bytes = "0.5"
|
||||||
futures = "0.3.1"
|
futures-util = { version = "0.3.5", default-features = false }
|
||||||
derive_more = "0.99"
|
derive_more = "0.99"
|
||||||
|
|
||||||
actix-rt = "1"
|
actix-rt = "1"
|
||||||
|
@ -15,8 +15,8 @@ use actix_web::dev::{HttpResponseBuilder, Payload};
|
|||||||
use actix_web::error::{Error, PayloadError, ResponseError};
|
use actix_web::error::{Error, PayloadError, ResponseError};
|
||||||
use actix_web::http::header::{CONTENT_LENGTH, CONTENT_TYPE};
|
use actix_web::http::header::{CONTENT_LENGTH, CONTENT_TYPE};
|
||||||
use actix_web::{FromRequest, HttpMessage, HttpRequest, HttpResponse, Responder};
|
use actix_web::{FromRequest, HttpMessage, HttpRequest, HttpResponse, Responder};
|
||||||
use futures::future::{ready, FutureExt, LocalBoxFuture, Ready};
|
use futures_util::future::{ready, FutureExt, LocalBoxFuture, Ready};
|
||||||
use futures::StreamExt;
|
use futures_util::StreamExt;
|
||||||
|
|
||||||
#[derive(Debug, Display)]
|
#[derive(Debug, Display)]
|
||||||
pub enum ProtoBufPayloadError {
|
pub enum ProtoBufPayloadError {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user