mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-18 09:52:13 +08:00
clash-verge-draft and clash-verge-logging did not inherit [workspace.lints], so cargo's missing_lints_inheritance warned and the strict clippy set never applied to them. Inheriting the lints surfaced six errors, now fixed: - draft: drop the data lock before cloning the snapshot and before returning in with_data_modify (significant_drop_tightening) - draft: require T: Send + Sync on acquire_data_modify_permit so its future is Send (future_not_send) - draft bench: scope an allow for the runtime-init panic - logging: make Logger::new const (missing_const_for_fn) - logging: return the builder directly from generate_file_log_writer, which never failed (unnecessary_wraps) The three unused-dependency warnings that remain under --all-features are cfg artifacts, not dead deps: tauri-build is only called when the clippy feature is off, tauri-plugin-devtools is compiled out when tokio-trace is enabled alongside tauri-dev, and clash-verge-logging in clash-verge-signal is only referenced by the Linux-only body of that crate.