diff --git a/actix-files/src/lib.rs b/actix-files/src/lib.rs index 662fba0a3..6769d6d38 100644 --- a/actix-files/src/lib.rs +++ b/actix-files/src/lib.rs @@ -13,6 +13,7 @@ #![deny(rust_2018_idioms)] #![warn(missing_docs, missing_debug_implementations)] +#![clippy::msrv = "1.46"] use std::io; diff --git a/actix-http-test/src/lib.rs b/actix-http-test/src/lib.rs index 3ab3f8a0d..4d4bd6f2d 100644 --- a/actix-http-test/src/lib.rs +++ b/actix-http-test/src/lib.rs @@ -3,6 +3,7 @@ #![deny(rust_2018_idioms)] #![doc(html_logo_url = "https://actix.rs/img/logo.png")] #![doc(html_favicon_url = "https://actix.rs/favicon.ico")] +#![clippy::msrv = "1.46"] use std::sync::mpsc; use std::{net, thread, time}; diff --git a/actix-http/src/lib.rs b/actix-http/src/lib.rs index 94cc50a76..edf2b98e9 100644 --- a/actix-http/src/lib.rs +++ b/actix-http/src/lib.rs @@ -9,6 +9,7 @@ )] #![doc(html_logo_url = "https://actix.rs/img/logo.png")] #![doc(html_favicon_url = "https://actix.rs/favicon.ico")] +#![clippy::msrv = "1.46"] #[macro_use] extern crate log; diff --git a/actix-multipart/src/lib.rs b/actix-multipart/src/lib.rs index 46dd0ee9b..a3bc36e21 100644 --- a/actix-multipart/src/lib.rs +++ b/actix-multipart/src/lib.rs @@ -2,6 +2,7 @@ #![deny(rust_2018_idioms)] #![allow(clippy::borrow_interior_mutable_const)] +#![clippy::msrv = "1.46"] mod error; mod extractor; diff --git a/actix-web-actors/src/lib.rs b/actix-web-actors/src/lib.rs index 0421f05fb..1fdd266dc 100644 --- a/actix-web-actors/src/lib.rs +++ b/actix-web-actors/src/lib.rs @@ -2,6 +2,7 @@ #![deny(rust_2018_idioms)] #![allow(clippy::borrow_interior_mutable_const)] +#![clippy::msrv = "1.46"] mod context; pub mod ws; diff --git a/actix-web-codegen/src/lib.rs b/actix-web-codegen/src/lib.rs index 50e5be712..f5bec9773 100644 --- a/actix-web-codegen/src/lib.rs +++ b/actix-web-codegen/src/lib.rs @@ -57,6 +57,7 @@ //! [DELETE]: macro@delete #![recursion_limit = "512"] +#![clippy::msrv = "1.46"] use proc_macro::TokenStream; diff --git a/awc/src/lib.rs b/awc/src/lib.rs index fb6ed086a..611a7daa7 100644 --- a/awc/src/lib.rs +++ b/awc/src/lib.rs @@ -92,6 +92,7 @@ )] #![doc(html_logo_url = "https://actix.rs/img/logo.png")] #![doc(html_favicon_url = "https://actix.rs/favicon.ico")] +#![clippy::msrv = "1.46"] use std::cell::RefCell; use std::convert::TryFrom; diff --git a/src/lib.rs b/src/lib.rs index 88eae44bf..f2233c220 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -69,6 +69,7 @@ #![allow(clippy::needless_doctest_main, clippy::type_complexity)] #![doc(html_logo_url = "https://actix.rs/img/logo.png")] #![doc(html_favicon_url = "https://actix.rs/favicon.ico")] +#![clippy::msrv = "1.46"] mod app; mod app_service;