From 3dde52e5ce543bb3471cf41baf5ea35d0456344f Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 11 Jul 2024 10:29:18 +0200 Subject: [PATCH] log: deny(unsafe_op_in_unsafe_fn) and feature(doc_cfg) Signed-off-by: Wolfgang Bumiller --- proxmox-log/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proxmox-log/src/lib.rs b/proxmox-log/src/lib.rs index f956d746..ac60081c 100644 --- a/proxmox-log/src/lib.rs +++ b/proxmox-log/src/lib.rs @@ -1,3 +1,6 @@ +#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] +#![deny(unsafe_op_in_unsafe_fn)] + use std::{ cell::{Cell, RefCell}, env,