nmapxmlparser

Crates.io

nmap_xml_parser parses Nmap XML output into Rust. For example:

rust use nmap_xml_parser::NmapResults; let content = fs::read_to_string(nmap_xml_file).unwrap(); let results = NmapResults::parse(&content).unwrap();

Please refer to the documentation for more information.