diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1ec034bc..e4d713b4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,7 +16,7 @@ jobs:
- { name: macOS, os: macos-latest, triple: x86_64-apple-darwin }
- { name: Windows, os: windows-latest, triple: x86_64-pc-windows-msvc }
version:
- - 1.51.0 # MSRV
+ - 1.52.0 # MSRV
- stable
- nightly
diff --git a/CHANGES.md b/CHANGES.md
index 2509197f..1654b085 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -8,6 +8,7 @@
* Associated type `FromRequest::Config` was removed. [#2233]
* Inner field made private on `web::Payload`. [#2384]
* `Data::into_inner` and `Data::get_ref` no longer require T: Sized. [#2403]
+* Minimum supported Rust version (MSRV) is now 1.52.
### Removed
* `ServiceResponse::checked_expr` was a legacy and just removed. [#2401]
diff --git a/Cargo.toml b/Cargo.toml
index dc7e9af3..ae47398e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -38,8 +38,6 @@ members = [
"actix-test",
"actix-router",
]
-# enable when MSRV is 1.51+
-# resolver = "2"
[features]
default = ["compress-brotli", "compress-gzip", "compress-zstd", "cookies"]
diff --git a/README.md b/README.md
index 13ec3a01..00e8fa6c 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
[](https://crates.io/crates/actix-web)
[](https://docs.rs/actix-web/4.0.0-beta.9)
-[](https://blog.rust-lang.org/2020/03/12/Rust-1.51.html)
+[](https://blog.rust-lang.org/2021/05/06/Rust-1.52.0.html)

[](https://deps.rs/crate/actix-web/4.0.0-beta.9)
@@ -32,7 +32,7 @@
* SSL support using OpenSSL or Rustls
* Middlewares ([Logger, Session, CORS, etc](https://actix.rs/docs/middleware/))
* Includes an async [HTTP client](https://docs.rs/awc/)
-* Runs on stable Rust 1.51+
+* Runs on stable Rust 1.52+
## Documentation
diff --git a/actix-files/CHANGES.md b/actix-files/CHANGES.md
index 6d1512c2..8e0a3eec 100644
--- a/actix-files/CHANGES.md
+++ b/actix-files/CHANGES.md
@@ -1,6 +1,7 @@
# Changes
## Unreleased - 2021-xx-xx
+* Minimum supported Rust version (MSRV) is now 1.52.
## 0.6.0-beta.7 - 2021-09-09
diff --git a/actix-files/README.md b/actix-files/README.md
index 31bbd036..ed15e333 100644
--- a/actix-files/README.md
+++ b/actix-files/README.md
@@ -4,7 +4,7 @@
[](https://crates.io/crates/actix-files)
[](https://docs.rs/actix-files/0.6.0-beta.7)
-[](https://blog.rust-lang.org/2020/03/12/Rust-1.51.html)
+[](https://blog.rust-lang.org/2021/05/06/Rust-1.52.0.html)

[](https://deps.rs/crate/actix-files/0.6.0-beta.7)
@@ -15,4 +15,4 @@
- [API Documentation](https://docs.rs/actix-files/)
- [Example Project](https://github.com/actix/examples/tree/master/basics/static_index)
-- Minimum supported Rust version: 1.51 or later
+- Minimum Supported Rust Version (MSRV): 1.52
diff --git a/actix-http-test/CHANGES.md b/actix-http-test/CHANGES.md
index 69e96f98..98b197bc 100644
--- a/actix-http-test/CHANGES.md
+++ b/actix-http-test/CHANGES.md
@@ -1,6 +1,7 @@
# Changes
## Unreleased - 2021-xx-xx
+* Minimum supported Rust version (MSRV) is now 1.52.
## 3.0.0-beta.5 - 2021-09-09
diff --git a/actix-http-test/README.md b/actix-http-test/README.md
index f75b9c13..6bf0d710 100644
--- a/actix-http-test/README.md
+++ b/actix-http-test/README.md
@@ -4,7 +4,7 @@
[](https://crates.io/crates/actix-http-test)
[](https://docs.rs/actix-http-test/3.0.0-beta.5)
-[](https://blog.rust-lang.org/2020/03/12/Rust-1.51.html)
+[](https://blog.rust-lang.org/2021/05/06/Rust-1.52.0.html)

[](https://deps.rs/crate/actix-http-test/3.0.0-beta.5)
@@ -14,4 +14,4 @@
## Documentation & Resources
- [API Documentation](https://docs.rs/actix-http-test)
-- Minimum Supported Rust Version (MSRV): 1.51.0
+- Minimum Supported Rust Version (MSRV): 1.52
diff --git a/actix-http/CHANGES.md b/actix-http/CHANGES.md
index 775b9e6d..71aa8668 100644
--- a/actix-http/CHANGES.md
+++ b/actix-http/CHANGES.md
@@ -1,6 +1,7 @@
# Changes
## Unreleased - 2021-xx-xx
+* Minimum supported Rust version (MSRV) is now 1.52.
## 3.0.0-beta.10 - 2021-09-09
diff --git a/actix-http/README.md b/actix-http/README.md
index b58b47f5..68a6e0a5 100644
--- a/actix-http/README.md
+++ b/actix-http/README.md
@@ -4,7 +4,7 @@
[](https://crates.io/crates/actix-http)
[](https://docs.rs/actix-http/3.0.0-beta.10)
-[](https://blog.rust-lang.org/2020/03/12/Rust-1.51.html)
+[](https://blog.rust-lang.org/2021/05/06/Rust-1.52.0.html)

[](https://deps.rs/crate/actix-http/3.0.0-beta.10)
@@ -14,7 +14,7 @@
## Documentation & Resources
- [API Documentation](https://docs.rs/actix-http)
-- Minimum Supported Rust Version (MSRV): 1.51.0
+- Minimum Supported Rust Version (MSRV): 1.52
## Example
diff --git a/actix-multipart/CHANGES.md b/actix-multipart/CHANGES.md
index c32583f0..33da6a20 100644
--- a/actix-multipart/CHANGES.md
+++ b/actix-multipart/CHANGES.md
@@ -1,6 +1,7 @@
# Changes
## Unreleased - 2021-xx-xx
+* Minimum supported Rust version (MSRV) is now 1.52.
## 0.4.0-beta.6 - 2021-09-09
diff --git a/actix-multipart/README.md b/actix-multipart/README.md
index f3366f50..254ef877 100644
--- a/actix-multipart/README.md
+++ b/actix-multipart/README.md
@@ -4,7 +4,7 @@
[](https://crates.io/crates/actix-multipart)
[](https://docs.rs/actix-multipart/0.4.0-beta.6)
-[](https://blog.rust-lang.org/2020/03/12/Rust-1.51.html)
+[](https://blog.rust-lang.org/2021/05/06/Rust-1.52.0.html)

[](https://deps.rs/crate/actix-multipart/0.4.0-beta.6)
@@ -14,4 +14,4 @@
## Documentation & Resources
- [API Documentation](https://docs.rs/actix-multipart)
-- Minimum Supported Rust Version (MSRV): 1.51.0
+- Minimum Supported Rust Version (MSRV): 1.52
diff --git a/actix-router/CHANGES.md b/actix-router/CHANGES.md
index 00190343..c2858f2b 100644
--- a/actix-router/CHANGES.md
+++ b/actix-router/CHANGES.md
@@ -1,6 +1,7 @@
# Changes
## Unreleased - 2021-xx-xx
+* Minimum supported Rust version (MSRV) is now 1.52.
## 0.5.0-beta.2 - 2021-09-09
diff --git a/actix-test/CHANGES.md b/actix-test/CHANGES.md
index 58e05c4b..9c0a9ee8 100644
--- a/actix-test/CHANGES.md
+++ b/actix-test/CHANGES.md
@@ -1,6 +1,7 @@
# Changes
## Unreleased - 2021-xx-xx
+* Minimum supported Rust version (MSRV) is now 1.52.
## 0.1.0-beta.4 - 2021-09-09
diff --git a/actix-web-actors/CHANGES.md b/actix-web-actors/CHANGES.md
index 2e453063..e3693f0f 100644
--- a/actix-web-actors/CHANGES.md
+++ b/actix-web-actors/CHANGES.md
@@ -1,6 +1,7 @@
# Changes
## Unreleased - 2021-xx-xx
+* Minimum supported Rust version (MSRV) is now 1.52.
## 4.0.0-beta.7 - 2021-09-09
diff --git a/actix-web-actors/README.md b/actix-web-actors/README.md
index a647e4bc..2c29dedf 100644
--- a/actix-web-actors/README.md
+++ b/actix-web-actors/README.md
@@ -4,7 +4,7 @@
[](https://crates.io/crates/actix-web-actors)
[](https://docs.rs/actix-web-actors/4.0.0-beta.7)
-[](https://blog.rust-lang.org/2020/03/12/Rust-1.51.html)
+[](https://blog.rust-lang.org/2021/05/06/Rust-1.52.0.html)

[](https://deps.rs/crate/actix-web-actors/4.0.0-beta.7)
@@ -14,4 +14,4 @@
## Documentation & Resources
- [API Documentation](https://docs.rs/actix-web-actors)
-- Minimum supported Rust version: 1.51 or later
+- Minimum Supported Rust Version (MSRV): 1.52
diff --git a/actix-web-codegen/CHANGES.md b/actix-web-codegen/CHANGES.md
index dae9830a..4b3e04ac 100644
--- a/actix-web-codegen/CHANGES.md
+++ b/actix-web-codegen/CHANGES.md
@@ -2,6 +2,7 @@
## Unreleased - 2021-xx-xx
* Improve error recovery potential when macro input is invalid. [#2410]
+* Minimum supported Rust version (MSRV) is now 1.52.
[#2410]: https://github.com/actix/actix-web/pull/2410
diff --git a/actix-web-codegen/README.md b/actix-web-codegen/README.md
index 268e8b01..ee552cfb 100644
--- a/actix-web-codegen/README.md
+++ b/actix-web-codegen/README.md
@@ -4,7 +4,7 @@
[](https://crates.io/crates/actix-web-codegen)
[](https://docs.rs/actix-web-codegen/0.5.0-beta.4)
-[](https://blog.rust-lang.org/2020/03/12/Rust-1.51.html)
+[](https://blog.rust-lang.org/2021/05/06/Rust-1.52.0.html)

[](https://deps.rs/crate/actix-web-codegen/0.5.0-beta.4)
@@ -14,7 +14,7 @@
## Documentation & Resources
- [API Documentation](https://docs.rs/actix-web-codegen)
-- Minimum supported Rust version: 1.51 or later.
+- Minimum Supported Rust Version (MSRV): 1.52
## Compile Testing
diff --git a/actix-web-codegen/tests/trybuild.rs b/actix-web-codegen/tests/trybuild.rs
index 54bc1cae..edbe1a8e 100644
--- a/actix-web-codegen/tests/trybuild.rs
+++ b/actix-web-codegen/tests/trybuild.rs
@@ -1,4 +1,4 @@
-#[rustversion::stable(1.51)] // MSRV
+#[rustversion::stable(1.52)] // MSRV
#[test]
fn compile_macros() {
let t = trybuild::TestCases::new();
diff --git a/awc/README.md b/awc/README.md
index 868bc5ca..38c967e6 100644
--- a/awc/README.md
+++ b/awc/README.md
@@ -12,7 +12,7 @@
- [API Documentation](https://docs.rs/awc)
- [Example Project](https://github.com/actix/examples/tree/HEAD/security/awc_https)
-- Minimum Supported Rust Version (MSRV): 1.51.0
+- Minimum Supported Rust Version (MSRV): 1.52
## Example
diff --git a/clippy.toml b/clippy.toml
index 829dd1c5..cef91fde 100644
--- a/clippy.toml
+++ b/clippy.toml
@@ -1 +1 @@
-msrv = "1.51"
+msrv = "1.52"
diff --git a/src/lib.rs b/src/lib.rs
index d008fdb7..3ad77ff5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -53,7 +53,7 @@
//! * SSL support using OpenSSL or Rustls
//! * Middlewares ([Logger, Session, CORS, etc](https://actix.rs/docs/middleware/))
//! * Includes an async [HTTP client](https://docs.rs/awc/)
-//! * Runs on stable Rust 1.51+
+//! * Runs on stable Rust 1.52+
//!
//! # Crate Features
//! * `cookies` - cookies support (enabled by default)