1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-26 19:47:43 +02:00

standardise compiler lints across all crates (#226)

This commit is contained in:
Rob Ede
2020-12-12 23:24:00 +00:00
committed by GitHub
parent 93889776c4
commit 4e43216b99
15 changed files with 49 additions and 14 deletions

View File

@ -1,6 +1,8 @@
//! A runtime implementation that runs everything on the current thread.
#![deny(rust_2018_idioms, warnings)]
#![deny(rust_2018_idioms, nonstandard_style)]
#![allow(clippy::type_complexity)]
#![doc(html_logo_url = "https://actix.rs/img/logo.png")]
#![doc(html_favicon_url = "https://actix.rs/favicon.ico")]
#[cfg(not(test))] // Work around for rust-lang/rust#62127
pub use actix_macros::{main, test};