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")]