From cad3834c518b3c309b55d0e76d46d523dd734fe6 Mon Sep 17 00:00:00 2001 From: tupe12334 Date: Wed, 17 Jun 2026 10:07:09 +0300 Subject: [PATCH] chore(lint): enable clippy::dbg_macro Add the clippy::dbg_macro restriction lint (deny) to [lints.clippy] to prevent leftover dbg!() debugging macros from reaching production. 0 violations across lib, bin, and test targets; clippy/build/test all pass. Closes #86 Co-Authored-By: Claude Opus 4.8 (1M context) --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 30b2803..10d01db 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,3 +43,5 @@ nursery = { level = "deny", priority = -1 } cargo = { level = "deny", priority = -1 } # Cannot control transitive dependency version conflicts multiple_crate_versions = "allow" +# Forbid leftover `dbg!` debugging macros from reaching production +dbg_macro = "deny"