mirror of https://github.com/fafhrd91/actix-web
add msrv to clippy config
This commit is contained in:
parent
102bb8f9ab
commit
3ead6dcf5b
|
@ -13,6 +13,7 @@
|
|||
|
||||
#![deny(rust_2018_idioms)]
|
||||
#![warn(missing_docs, missing_debug_implementations)]
|
||||
#![clippy::msrv = "1.46"]
|
||||
|
||||
use std::io;
|
||||
|
||||
|
|
|
@ -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};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#![deny(rust_2018_idioms)]
|
||||
#![allow(clippy::borrow_interior_mutable_const)]
|
||||
#![clippy::msrv = "1.46"]
|
||||
|
||||
mod error;
|
||||
mod extractor;
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#![deny(rust_2018_idioms)]
|
||||
#![allow(clippy::borrow_interior_mutable_const)]
|
||||
#![clippy::msrv = "1.46"]
|
||||
|
||||
mod context;
|
||||
pub mod ws;
|
||||
|
|
|
@ -57,6 +57,7 @@
|
|||
//! [DELETE]: macro@delete
|
||||
|
||||
#![recursion_limit = "512"]
|
||||
#![clippy::msrv = "1.46"]
|
||||
|
||||
use proc_macro::TokenStream;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue