From: Jeff Lucovsky Date: Thu, 25 Aug 2022 14:44:50 +0000 (-0400) Subject: detect/stream_size: Rename detect.rs to stream_size.rs X-Git-Tag: suricata-7.0.0-beta1~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab4d0f7f4a9a30ac9675d82ba8b3373c428a3773;p=thirdparty%2Fsuricata.git detect/stream_size: Rename detect.rs to stream_size.rs This commit renames detect.rs to stream_size.rs to reflect its content. --- diff --git a/rust/src/detect/mod.rs b/rust/src/detect/mod.rs index 04b2a5ce37..84bd28e286 100644 --- a/rust/src/detect/mod.rs +++ b/rust/src/detect/mod.rs @@ -16,9 +16,9 @@ */ pub mod byte_math; -pub mod detect; pub mod error; pub mod iprep; pub mod parser; +pub mod stream_size; pub mod uint; pub mod uri; diff --git a/rust/src/detect/detect.rs b/rust/src/detect/stream_size.rs similarity index 99% rename from rust/src/detect/detect.rs rename to rust/src/detect/stream_size.rs index 335e9cb2d3..5902e88e51 100644 --- a/rust/src/detect/detect.rs +++ b/rust/src/detect/stream_size.rs @@ -15,13 +15,13 @@ * 02110-1301, USA. */ +use super::uint::*; use nom7::bytes::complete::{is_a, take_while}; use nom7::character::complete::{alpha0, char, digit1}; use nom7::combinator::{all_consuming, map_opt, map_res, opt}; use nom7::IResult; -use super::uint::*; -use std::ffi::{CStr}; +use std::ffi::CStr; use std::str::FromStr; #[repr(u8)]