Skip to main content

Module parse

Module parse 

Source
Expand description

§Parsing Utilities

This module serves as the primary gateway for all parsing and resolution logic within the library. It abstracts the complexities of format-specific grammars into a clean, high-level API.

Currently supported:

  • IP Resolution: Translating strings and keywords into [IpSet] models.

Re-exports§

pub use ip::IS_LAN_SCAN;
pub use ip::IpParseError;
pub use ip::to_set as to_ipset;

Modules§

ip
Network Target Parser

Functions§

to_target_map
Parses a list of target strings (e.g. ["1.1.1.1:80,443", "8.8.8.8"]) into a TargetMap. Combines per-target specified ports, or falls back to global_ports.