From 9bc014b96fa8532baf2d90e55695d511b1bfa343 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sat, 9 Jul 2022 20:05:47 +0100 Subject: [PATCH] forbid unsafe in all crates --- actix-identity/src/lib.rs | 1 + actix-redis/src/lib.rs | 1 + actix-session/src/lib.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/actix-identity/src/lib.rs b/actix-identity/src/lib.rs index 5c172a64e..9ef232a52 100644 --- a/actix-identity/src/lib.rs +++ b/actix-identity/src/lib.rs @@ -86,6 +86,7 @@ //! [`IdentityMiddlewareBuilder::visit_deadline`]: config::IdentityMiddlewareBuilder::visit_deadline //! [`IdentityMiddlewareBuilder::login_deadline`]: config::IdentityMiddlewareBuilder::login_deadline +#![forbid(unsafe_code)] #![deny(rust_2018_idioms, nonstandard_style, missing_docs)] #![warn(future_incompatible)] diff --git a/actix-redis/src/lib.rs b/actix-redis/src/lib.rs index 26a94a72f..1c183fa81 100644 --- a/actix-redis/src/lib.rs +++ b/actix-redis/src/lib.rs @@ -1,5 +1,6 @@ //! Redis integration for `actix`. +#![forbid(unsafe_code)] #![deny(rust_2018_idioms, nonstandard_style)] #![warn(future_incompatible)] diff --git a/actix-session/src/lib.rs b/actix-session/src/lib.rs index 917121429..db8271281 100644 --- a/actix-session/src/lib.rs +++ b/actix-session/src/lib.rs @@ -133,6 +133,7 @@ //! [`RedisSessionStore`]: storage::RedisSessionStore //! [`RedisActorSessionStore`]: storage::RedisActorSessionStore +#![forbid(unsafe_code)] #![deny(rust_2018_idioms, nonstandard_style)] #![warn(future_incompatible, missing_docs)] #![doc(html_logo_url = "https://actix.rs/img/logo.png")]