aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar René Kijewski <kijewski@library.vetmed.fu-berlin.de>2022-01-05 19:41:40 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-01-06 13:05:24 +0100
commitb7b5ff0633092006205ccfca9febab0978c0c957 (patch)
treec89fee7e1d4448a0dd99d63dfcb852a85bb7c08a
parent9dfe4cb39a62c543c8680194cf586aa486066ba1 (diff)
downloadaskama-b7b5ff0633092006205ccfca9febab0978c0c957.tar.gz
askama-b7b5ff0633092006205ccfca9febab0978c0c957.tar.bz2
askama-b7b5ff0633092006205ccfca9febab0978c0c957.zip
Add `#![forbid(unsafe_code)]` to all crates except askama_escape
Diffstat (limited to '')
-rw-r--r--askama/src/lib.rs1
-rw-r--r--askama_actix/src/lib.rs1
-rw-r--r--askama_axum/src/lib.rs1
-rw-r--r--askama_derive/src/lib.rs1
-rw-r--r--askama_gotham/src/lib.rs1
-rw-r--r--askama_mendes/src/lib.rs1
-rw-r--r--askama_rocket/src/lib.rs1
-rw-r--r--askama_shared/src/lib.rs1
-rw-r--r--askama_tide/src/lib.rs1
-rw-r--r--askama_warp/src/lib.rs1
10 files changed, 10 insertions, 0 deletions
diff --git a/askama/src/lib.rs b/askama/src/lib.rs
index db28e8c..3c7f072 100644
--- a/askama/src/lib.rs
+++ b/askama/src/lib.rs
@@ -59,6 +59,7 @@
//! in the configuration file. The default syntax , "default", is the one
//! provided by Askama.
+#![forbid(unsafe_code)]
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
diff --git a/askama_actix/src/lib.rs b/askama_actix/src/lib.rs
index b4c4ac7..c4317c4 100644
--- a/askama_actix/src/lib.rs
+++ b/askama_actix/src/lib.rs
@@ -1,3 +1,4 @@
+#![forbid(unsafe_code)]
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
diff --git a/askama_axum/src/lib.rs b/askama_axum/src/lib.rs
index 725c56f..21217ff 100644
--- a/askama_axum/src/lib.rs
+++ b/askama_axum/src/lib.rs
@@ -1,3 +1,4 @@
+#![forbid(unsafe_code)]
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
diff --git a/askama_derive/src/lib.rs b/askama_derive/src/lib.rs
index 514761a..3557267 100644
--- a/askama_derive/src/lib.rs
+++ b/askama_derive/src/lib.rs
@@ -1,3 +1,4 @@
+#![forbid(unsafe_code)]
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
diff --git a/askama_gotham/src/lib.rs b/askama_gotham/src/lib.rs
index b585148..1241c9c 100644
--- a/askama_gotham/src/lib.rs
+++ b/askama_gotham/src/lib.rs
@@ -1,3 +1,4 @@
+#![forbid(unsafe_code)]
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
diff --git a/askama_mendes/src/lib.rs b/askama_mendes/src/lib.rs
index 7315c95..baaa49f 100644
--- a/askama_mendes/src/lib.rs
+++ b/askama_mendes/src/lib.rs
@@ -1,3 +1,4 @@
+#![forbid(unsafe_code)]
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
diff --git a/askama_rocket/src/lib.rs b/askama_rocket/src/lib.rs
index 800e72f..33bd779 100644
--- a/askama_rocket/src/lib.rs
+++ b/askama_rocket/src/lib.rs
@@ -1,3 +1,4 @@
+#![forbid(unsafe_code)]
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
diff --git a/askama_shared/src/lib.rs b/askama_shared/src/lib.rs
index ea742e2..0768ff3 100644
--- a/askama_shared/src/lib.rs
+++ b/askama_shared/src/lib.rs
@@ -1,4 +1,5 @@
#![cfg_attr(feature = "cargo-clippy", allow(unused_parens))]
+#![forbid(unsafe_code)]
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
diff --git a/askama_tide/src/lib.rs b/askama_tide/src/lib.rs
index d74b759..2854cb6 100644
--- a/askama_tide/src/lib.rs
+++ b/askama_tide/src/lib.rs
@@ -1,3 +1,4 @@
+#![forbid(unsafe_code)]
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
diff --git a/askama_warp/src/lib.rs b/askama_warp/src/lib.rs
index 90bf6c6..4220efc 100644
--- a/askama_warp/src/lib.rs
+++ b/askama_warp/src/lib.rs
@@ -1,3 +1,4 @@
+#![forbid(unsafe_code)]
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]