Add #![deny(unreachable_pub)] to all crates

This commit is contained in:
René Kijewski 2022-01-05 19:41:23 +01:00 committed by Dirkjan Ochtman
parent fe62045667
commit 9dfe4cb39a
11 changed files with 11 additions and 0 deletions

View File

@ -60,6 +60,7 @@
//! provided by Askama.
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
pub use askama_shared as shared;

View File

@ -1,4 +1,5 @@
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
use std::fmt;

View File

@ -1,4 +1,5 @@
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
pub use askama::*;
use axum_core::body;

View File

@ -1,4 +1,5 @@
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
use askama_shared::heritage::{Context, Heritage};
use askama_shared::input::{Print, Source, TemplateInput};

View File

@ -1,5 +1,6 @@
#![no_std]
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
#[cfg(test)]
extern crate std;

View File

@ -1,4 +1,5 @@
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
pub use askama::*;

View File

@ -1,4 +1,5 @@
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
use std::convert::TryFrom;

View File

@ -1,4 +1,5 @@
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
use std::io::Cursor;

View File

@ -1,5 +1,6 @@
#![cfg_attr(feature = "cargo-clippy", allow(unused_parens))]
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
use std::collections::{BTreeMap, HashSet};
use std::convert::TryFrom;

View File

@ -1,4 +1,5 @@
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
pub use askama;
pub use tide;

View File

@ -1,4 +1,5 @@
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
pub use askama::*;
pub use warp;