From f217e249cbef8229bb5da5cbdc2528d6e17b0e32 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Mon, 27 Apr 2026 17:26:18 +0200 Subject: [PATCH] rust: format ffi files Ticket: 3836 --- .github/workflows/builds.yml | 2 +- rust/src/ffi/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index af50e1e985..cced152b6c 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -389,7 +389,7 @@ jobs: - run: cargo fmt --check working-directory: rust/derive - run: rustfmt --check rust/src/dns/*.rs rust/src/applayertemplate/*.rs rust/src/asn1/*.rs - rust/src/bittorrent_dht/*.rs rust/src/enip/*.rs + rust/src/bittorrent_dht/*.rs rust/src/enip/*.rs rust/src/ffi/*.rs - name: Check if Cargo.lock.in is up to date run: | cp rust/Cargo.lock rust/Cargo.lock.in diff --git a/rust/src/ffi/mod.rs b/rust/src/ffi/mod.rs index e97e6c98c6..cdd57a1967 100644 --- a/rust/src/ffi/mod.rs +++ b/rust/src/ffi/mod.rs @@ -17,6 +17,6 @@ //! Module that exposes C bindings to the Suricata Rust library. -pub mod hashing; pub mod base64; +pub mod hashing; pub mod strings;