Registry / utility / rusticata-macros

rusticata-macros

JSON →
library5.0.0rscratesunverified

Helper macros for the Rusticata project.

# Cargo.toml [dependencies] rusticata-macros = "5.0.0"
INSTALL
IMPORT
SIG · RUSTICATA-MACROS
R
rusticata-macros
utilityrustv5.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

take_until
use rusticata_macros::take_until;

Use the take_until macro for parsing.

use rusticata_macros::take_until; fn main() { let data = b"hello world"; let (remaining, taken) = take_until!(data, 0, |b| b == b' '); println!("{:?}", taken); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
rusticata-macros — cargo add rusticata-macros · libregistry