rust/ffi: add flow lifecycle callback wrappers - v12#15318
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #15318 +/- ##
==========================================
- Coverage 82.66% 82.63% -0.03%
==========================================
Files 993 994 +1
Lines 271004 271064 +60
==========================================
- Hits 224015 223986 -29
- Misses 46989 47078 +89
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
WARNING:
Pipeline = 31179 |
1 similar comment
|
WARNING:
Pipeline = 31179 |
Something up? These changes are non-functional to Suricata proper. |
|
I'll rerun it. |
|
WARNING:
Pipeline = 31181 |
|
Weird, the logging changed with #15315 but the issue doesn't show there. |
| working-directory: examples/plugins/rust | ||
| run: cargo build | ||
| run: | | ||
| cargo fmt --check |
There was a problem hiding this comment.
do you want to use the rustfmt.toml ?
like -- --config-path ../../../rust/rustfmt.toml
I do that for the applayer plugin
There was a problem hiding this comment.
No. If a user uses this as a template and copies it somewhere, they are not going to have that rustfmt.toml available, and will automatically have formatting differences. So I think it's best to keep the default formatting, OR we put a rustfmt.toml in there. But I don't think we should prescribe our formatting to plugin authors.
|
Replaced by #15334 |
From my FFI backlog, add nice Rust wrappers around the flow lifecycle
callbacks.
Ticket: https://redmine.openinfosecfoundation.org/issues/8446
Remaining in the backlog: