From 1ddedc94ab53955ca33e57cdfaa34fec6eeb2a7c Mon Sep 17 00:00:00 2001 From: Tunglies <77394545+Tunglies@users.noreply.github.com> Date: Sun, 17 Aug 2025 11:37:36 +0800 Subject: [PATCH] chore: update Cargo.toml clippy configuration --- src-tauri/Cargo.toml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index dc774f68..2b5de404 100755 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -172,12 +172,14 @@ large_const_arrays = "warn" #default_numeric_fallback = "warn" # Mutex and async lints - strict control -#async_yields_async = "deny" # Prevents missing await in async blocks -#mutex_atomic = "deny" # Use atomics instead of Mutex -#mutex_integer = "deny" # Use AtomicInt instead of Mutex -#rc_mutex = "deny" # Single-threaded Rc with Mutex is wrong -#unused_async = "allow" # Too many false positives in Tauri/framework code - +async_yields_async = "deny" # Prevents missing await in async blocks +mutex_atomic = "deny" # Use atomics instead of Mutex +mutex_integer = "deny" # Use AtomicInt instead of Mutex +rc_mutex = "deny" # Single-threaded Rc with Mutex is wrong +unused_async = "deny" # Too many false positives in Tauri/framework code +await_holding_lock = "deny" +large_futures = "deny" +future_not_send = "deny" # Common style improvements #redundant_else = "allow" # Too many in existing code #needless_continue = "allow" # Too many in existing code