]> git.proxmox.com Git - proxmox.git/commitdiff
schema: deny unsafe_op_in_unsafe_fn
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 16 Dec 2021 09:17:41 +0000 (10:17 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 16 Dec 2021 09:17:41 +0000 (10:17 +0100)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
proxmox-schema/src/lib.rs

index a4e3ba4c91a3476b2442e16fd95747172619e8ff..4e98443e1c020add5bf394fead50b04a11ed54af 100644 (file)
@@ -6,6 +6,8 @@
 //! possible to use schema definitions to derive configuration file
 //! parsers.
 
+#![deny(unsafe_op_in_unsafe_fn)]
+
 #[cfg(feature = "api-macro")]
 pub use proxmox_api_macro::api;