diff --git a/Cargo.toml b/Cargo.toml index 67475cf8e..a7220591d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,11 +26,11 @@ derive_more = "0.14" actix = "0.8.1" actix-web = "1.0.0-rc" -prost = "0.4" +prost = "0.5.0" [dev-dependencies] http = "^0.1" -prost-derive = "^0.4" +prost-derive = "0.5.0" [workspace] members = [ diff --git a/src/lib.rs b/src/lib.rs index 5e23d5b05..f8bb3317a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -125,7 +125,7 @@ where { type Config = ProtoBufConfig; type Error = Error; - type Future = Box>; + type Future = Box>; #[inline] fn from_request(req: &HttpRequest, payload: &mut Payload) -> Self::Future { @@ -164,7 +164,7 @@ pub struct ProtoBufMessage { length: Option, stream: Option, err: Option, - fut: Option>>, + fut: Option>>, } impl ProtoBufMessage {