1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 23:51:06 +01:00

protobuf: Minimize futures dependency

This commit is contained in:
Yuki Okushi 2020-05-21 17:12:17 +09:00
parent c152c1ae8c
commit 2e3a094ef7
No known key found for this signature in database
GPG Key ID: B0986C85C0E2DAA1
3 changed files with 7 additions and 3 deletions

View File

@ -4,6 +4,10 @@
* Minimum supported Rust version(MSRV) is now 1.40.0.
## unreleased
* Minimize `futures` dependency
## 0.5.1 (2019-02-17)
* Move repository to actix-extras

View File

@ -17,7 +17,7 @@ path = "src/lib.rs"
[dependencies]
bytes = "0.5"
futures = "0.3.1"
futures-util = { version = "0.3.5", default-features = false }
derive_more = "0.99"
actix-rt = "1"

View File

@ -15,8 +15,8 @@ use actix_web::dev::{HttpResponseBuilder, Payload};
use actix_web::error::{Error, PayloadError, ResponseError};
use actix_web::http::header::{CONTENT_LENGTH, CONTENT_TYPE};
use actix_web::{FromRequest, HttpMessage, HttpRequest, HttpResponse, Responder};
use futures::future::{ready, FutureExt, LocalBoxFuture, Ready};
use futures::StreamExt;
use futures_util::future::{ready, FutureExt, LocalBoxFuture, Ready};
use futures_util::StreamExt;
#[derive(Debug, Display)]
pub enum ProtoBufPayloadError {