1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 10:27:42 +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,25 +1,20 @@
# Changes
## [unreleased]
* Minimum supported Rust version(MSRV) is now 1.40.0.
## Unreleased - 2020-xx-xx
* Update `actix-web` dependency to 3.0.0.
* Minimum supported Rust version(MSRV) is now 1.42.0.
* Implement the Debug trait on all public types.
## [0.3.0-alpha.1] - 2020-03-11
## 0.3.0-alpha.1 - 2020-03-11
* Minimize `futures-*` dependencies
* Update `actix-web` dependency to 3.0.0-alpha.1
## [0.2.0] - 2019-12-20
## 0.2.0 - 2019-12-20
* Release
## [0.2.0-alpha.3] - 2019-12-07
## 0.2.0-alpha.3 - 2019-12-07
* Migrate to actix-web 2.0.0
* Bump `derive_more` crate version to 0.99.0
## [0.1.0] - 2019-06-15
## 0.1.0 - 2019-06-15
* Move cors middleware to separate crate

View File

@ -16,10 +16,10 @@ name = "actix_cors"
path = "src/lib.rs"
[dependencies]
actix-web = { version = "3.0.0-alpha.1", default_features = false }
actix-web = { version = "3.0.0", default_features = false }
actix-service = "1.0.1"
derive_more = "0.99.2"
futures-util = { version = "0.3.4", default-features = false }
[dev-dependencies]
actix-rt = "1.0.0"
actix-rt = "1.1.1"

View File

@ -42,7 +42,7 @@
//! ```
#![allow(clippy::borrow_interior_mutable_const, clippy::type_complexity)]
#![deny(missing_docs, missing_debug_implementations)]
#![deny(missing_docs, missing_debug_implementations, rust_2018_idioms)]
use std::collections::HashSet;
use std::convert::TryFrom;
@ -695,7 +695,7 @@ where
LocalBoxFuture<'static, Result<Self::Response, 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)
}