diff --git a/examples/plugins/altemplate/Cargo.toml b/examples/plugins/altemplate/Cargo.toml index 568f90f6a9..88d44c4f91 100644 --- a/examples/plugins/altemplate/Cargo.toml +++ b/examples/plugins/altemplate/Cargo.toml @@ -9,7 +9,6 @@ crate-type = ["cdylib"] [dependencies] nom7 = { version="7.0", package="nom" } libc = "~0.2.82" -suricata = { path = "../../../rust/" } suricata-sys = { path = "../../../rust/sys" } suricata-ffi = { path = "../../../rust/ffi" } suricata-derive = { path = "../../../rust/derive" } diff --git a/examples/plugins/altemplate/src/template.rs b/examples/plugins/altemplate/src/template.rs index 14a76a9d92..144a34b972 100644 --- a/examples/plugins/altemplate/src/template.rs +++ b/examples/plugins/altemplate/src/template.rs @@ -26,11 +26,11 @@ use std; use std::collections::VecDeque; use std::ffi::CString; use std::os::raw::{c_char, c_int, c_void}; -use suricata::applayer::AppLayerTxData; use suricata_derive::AppLayerEvent; use suricata_ffi::applayer::{ - state_get_tx_iterator, AppLayerEvent, AppLayerResultRust, State, StreamSliceRust, Transaction, - APP_LAYER_PARSER_EOF_TC, APP_LAYER_PARSER_EOF_TS, APP_LAYER_PARSER_OPT_ACCEPT_GAPS, + state_get_tx_iterator, AppLayerEvent, AppLayerResultRust, AppLayerTxData, State, + StreamSliceRust, Transaction, APP_LAYER_PARSER_EOF_TC, APP_LAYER_PARSER_EOF_TS, + APP_LAYER_PARSER_OPT_ACCEPT_GAPS, }; use suricata_ffi::conf::conf_get; use suricata_ffi::{