These are lints we allow in the Suricata Rust source code for style
reasons.
// SPDX-FileCopyrightText: Copyright 2023 Open Information Security Foundation
// SPDX-License-Identifier: GPL-2.0-only
+// Allow these patterns as its a style we like.
+#![allow(clippy::needless_return)]
+#![allow(clippy::let_and_return)]
+#![allow(clippy::uninlined_format_args)]
+
use clap::Parser;
use clap::Subcommand;
use tracing::Level;
// SPDX-FileCopyrightText: Copyright 2023 Open Information Security Foundation
// SPDX-License-Identifier: GPL-2.0-only
+// Allow these patterns as its a style we like.
+#![allow(clippy::needless_return)]
+#![allow(clippy::let_and_return)]
+#![allow(clippy::uninlined_format_args)]
+
#[cfg(not(target_os = "windows"))]
mod unix;