1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-08-30 19:10:20 +02:00

update all packages to use actix-web v3 (#94)

This commit is contained in:
Rob Ede
2020-09-11 16:26:15 +01:00
committed by GitHub
parent 7e6bdf2eb2
commit bad5f32a68
22 changed files with 73 additions and 70 deletions

View File

@@ -1,11 +1,11 @@
# Changes
## unreleased
## Unreleased - 2020-xx-xx
* Update `actix-web` dependency to 3.0.0.
* Minimum supported Rust version(MSRV) is now 1.42.0.
* Minimum supported Rust version(MSRV) is now 1.40.0.
## [0.4.0-alpha.1] - 2020-03-14
* Update the `time` dependency to 0.2.7
* Update the `actix-web` dependency to 3.0.0-alpha.1
* Long lasting auto-prolonged session [#1292]

View File

@@ -20,8 +20,8 @@ default = ["cookie-session"]
cookie-session = ["actix-web/secure-cookies"]
[dependencies]
actix-web = { version = "3.0.0-alpha.1", default_features = false }
actix-service = "1.0.1"
actix-web = { version = "3.0.0", default_features = false }
actix-service = "1.0.6"
bytes = "0.5.3"
derive_more = "0.99.2"
futures-util = { version = "0.3.4", default-features = false }
@@ -30,4 +30,4 @@ serde_json = "1.0"
time = { version = "0.2.7", default-features = false, features = ["std"] }
[dev-dependencies]
actix-rt = "1.0.0"
actix-rt = "1"

View File

@@ -343,7 +343,7 @@ where
type Error = S::Error;
type Future = LocalBoxFuture<'static, Result<Self::Response, Self::Error>>;
fn poll_ready(&mut self, cx: &mut Context) -> Poll<Result<(), Self::Error>> {
fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
self.service.poll_ready(cx)
}

View File

@@ -41,6 +41,9 @@
//! .await
//! }
//! ```
#![deny(rust_2018_idioms)]
use std::cell::RefCell;
use std::collections::HashMap;
use std::rc::Rc;