diff --git a/actix-files/src/lib.rs b/actix-files/src/lib.rs index d26e55899..04dd9f07f 100644 --- a/actix-files/src/lib.rs +++ b/actix-files/src/lib.rs @@ -13,7 +13,6 @@ #![deny(rust_2018_idioms)] #![warn(missing_docs, missing_debug_implementations)] -#![clippy::msrv = "1.46"] use actix_service::boxed::{BoxService, BoxServiceFactory}; use actix_web::{ diff --git a/actix-http-test/src/lib.rs b/actix-http-test/src/lib.rs index 336dfe312..8de07c8d3 100644 --- a/actix-http-test/src/lib.rs +++ b/actix-http-test/src/lib.rs @@ -3,7 +3,6 @@ #![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"] #[cfg(feature = "openssl")] extern crate tls_openssl as openssl; diff --git a/actix-http/src/lib.rs b/actix-http/src/lib.rs index a5454917a..574d4ef68 100644 --- a/actix-http/src/lib.rs +++ b/actix-http/src/lib.rs @@ -24,7 +24,6 @@ )] #![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 0cf54e70e..38a24e28f 100644 --- a/actix-multipart/src/lib.rs +++ b/actix-multipart/src/lib.rs @@ -2,7 +2,6 @@ #![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 4310d784e..7a4823d91 100644 --- a/actix-web-actors/src/lib.rs +++ b/actix-web-actors/src/lib.rs @@ -2,7 +2,6 @@ #![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 b6f7b2b59..670d82ce9 100644 --- a/actix-web-codegen/src/lib.rs +++ b/actix-web-codegen/src/lib.rs @@ -57,7 +57,6 @@ //! [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 f92eabbfb..66ff55402 100644 --- a/awc/src/lib.rs +++ b/awc/src/lib.rs @@ -92,7 +92,6 @@ )] #![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::convert::TryFrom; use std::rc::Rc; diff --git a/clippy.toml b/clippy.toml new file mode 100644 index 000000000..eb66960ac --- /dev/null +++ b/clippy.toml @@ -0,0 +1 @@ +msrv = "1.46" diff --git a/src/lib.rs b/src/lib.rs index 4beb54f98..16b2ab186 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -70,7 +70,6 @@ #![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"] #[cfg(feature = "openssl")] extern crate tls_openssl as openssl;