From 56fdfab2c40b88fe7c0c05c454fc61b9e6185794 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Wed, 17 Dec 2025 11:27:18 -0300 Subject: [PATCH] Suppress warnings for test scaffolding code (allow dead_code) --- src/lib.rs | 4 ++++ src/main.rs | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index e267b3a..14f8e64 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,7 @@ +#![allow(dead_code)] +#![allow(unused_imports)] +#![allow(unused_variables)] + pub mod bot; pub mod desktop; pub mod fixtures; diff --git a/src/main.rs b/src/main.rs index 9785843..6c5168e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,7 @@ +#![allow(dead_code)] +#![allow(unused_imports)] +#![allow(unused_variables)] + use anyhow::Result; use std::env; use std::path::PathBuf; @@ -516,7 +520,7 @@ async fn run_browser_demo() -> Result<()> { // Use CDP directly via BrowserService let debug_port = 9222u16; - + let mut browser_service = match services::BrowserService::start(debug_port).await { Ok(bs) => bs, Err(e) => {