diff options
author | René Kijewski <kijewski@library.vetmed.fu-berlin.de> | 2022-01-05 19:41:23 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2022-01-06 13:05:24 +0100 |
commit | 9dfe4cb39a62c543c8680194cf586aa486066ba1 (patch) | |
tree | f3854dd559382793616b58f7caccd7fe334983af | |
parent | fe620456671cf52c741309b3bdcf7460e1973476 (diff) | |
download | askama-9dfe4cb39a62c543c8680194cf586aa486066ba1.tar.gz askama-9dfe4cb39a62c543c8680194cf586aa486066ba1.tar.bz2 askama-9dfe4cb39a62c543c8680194cf586aa486066ba1.zip |
Add `#![deny(unreachable_pub)]` to all crates
-rw-r--r-- | askama/src/lib.rs | 1 | ||||
-rw-r--r-- | askama_actix/src/lib.rs | 1 | ||||
-rw-r--r-- | askama_axum/src/lib.rs | 1 | ||||
-rw-r--r-- | askama_derive/src/lib.rs | 1 | ||||
-rw-r--r-- | askama_escape/src/lib.rs | 1 | ||||
-rw-r--r-- | askama_gotham/src/lib.rs | 1 | ||||
-rw-r--r-- | askama_mendes/src/lib.rs | 1 | ||||
-rw-r--r-- | askama_rocket/src/lib.rs | 1 | ||||
-rw-r--r-- | askama_shared/src/lib.rs | 1 | ||||
-rw-r--r-- | askama_tide/src/lib.rs | 1 | ||||
-rw-r--r-- | askama_warp/src/lib.rs | 1 |
11 files changed, 11 insertions, 0 deletions
diff --git a/askama/src/lib.rs b/askama/src/lib.rs index 491ebcd..db28e8c 100644 --- a/askama/src/lib.rs +++ b/askama/src/lib.rs @@ -60,6 +60,7 @@ //! provided by Askama. #![deny(elided_lifetimes_in_paths)] +#![deny(unreachable_pub)] pub use askama_shared as shared; diff --git a/askama_actix/src/lib.rs b/askama_actix/src/lib.rs index 7ecf591..b4c4ac7 100644 --- a/askama_actix/src/lib.rs +++ b/askama_actix/src/lib.rs @@ -1,4 +1,5 @@ #![deny(elided_lifetimes_in_paths)] +#![deny(unreachable_pub)] use std::fmt; diff --git a/askama_axum/src/lib.rs b/askama_axum/src/lib.rs index 859b19e..725c56f 100644 --- a/askama_axum/src/lib.rs +++ b/askama_axum/src/lib.rs @@ -1,4 +1,5 @@ #![deny(elided_lifetimes_in_paths)] +#![deny(unreachable_pub)] pub use askama::*; use axum_core::body; diff --git a/askama_derive/src/lib.rs b/askama_derive/src/lib.rs index 35070fe..514761a 100644 --- a/askama_derive/src/lib.rs +++ b/askama_derive/src/lib.rs @@ -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}; diff --git a/askama_escape/src/lib.rs b/askama_escape/src/lib.rs index 28b51f6..ad08e55 100644 --- a/askama_escape/src/lib.rs +++ b/askama_escape/src/lib.rs @@ -1,5 +1,6 @@ #![no_std] #![deny(elided_lifetimes_in_paths)] +#![deny(unreachable_pub)] #[cfg(test)] extern crate std; diff --git a/askama_gotham/src/lib.rs b/askama_gotham/src/lib.rs index 965155e..b585148 100644 --- a/askama_gotham/src/lib.rs +++ b/askama_gotham/src/lib.rs @@ -1,4 +1,5 @@ #![deny(elided_lifetimes_in_paths)] +#![deny(unreachable_pub)] pub use askama::*; diff --git a/askama_mendes/src/lib.rs b/askama_mendes/src/lib.rs index 8f32269..7315c95 100644 --- a/askama_mendes/src/lib.rs +++ b/askama_mendes/src/lib.rs @@ -1,4 +1,5 @@ #![deny(elided_lifetimes_in_paths)] +#![deny(unreachable_pub)] use std::convert::TryFrom; diff --git a/askama_rocket/src/lib.rs b/askama_rocket/src/lib.rs index 39c7c07..800e72f 100644 --- a/askama_rocket/src/lib.rs +++ b/askama_rocket/src/lib.rs @@ -1,4 +1,5 @@ #![deny(elided_lifetimes_in_paths)] +#![deny(unreachable_pub)] use std::io::Cursor; diff --git a/askama_shared/src/lib.rs b/askama_shared/src/lib.rs index 2800ffe..ea742e2 100644 --- a/askama_shared/src/lib.rs +++ b/askama_shared/src/lib.rs @@ -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; diff --git a/askama_tide/src/lib.rs b/askama_tide/src/lib.rs index 715f77e..d74b759 100644 --- a/askama_tide/src/lib.rs +++ b/askama_tide/src/lib.rs @@ -1,4 +1,5 @@ #![deny(elided_lifetimes_in_paths)] +#![deny(unreachable_pub)] pub use askama; pub use tide; diff --git a/askama_warp/src/lib.rs b/askama_warp/src/lib.rs index 30d15fa..90bf6c6 100644 --- a/askama_warp/src/lib.rs +++ b/askama_warp/src/lib.rs @@ -1,4 +1,5 @@ #![deny(elided_lifetimes_in_paths)] +#![deny(unreachable_pub)] pub use askama::*; pub use warp; |