A high-performance, zero-allocation XML parser with a TUI for interactive traversal.
- Blazing Fast: Parses large XML files at high speed by leveraging
memmap
andmemchr
. - Zero-Allocation Parsing: The core parser operates without memory allocations for maximum efficiency.
- Interactive TUI: Navigate XML trees interactively with a user-friendly terminal interface.
- Statistics Mode: Get insights into your XML structure, including tag counts and max depth.
xmz
expects an XML file path as its first argument. You can optionally enable TUI mode.
To explore an XML file interactively, run:
./xmz <path/to/your/file.xml> --tui
To see statistics about the XML file, run:
./xmz <path/to/your/file.xml>
To build the project from source, run:
cargo build --release
Pre-built binaries for Windows, macOS, and Linux are available on the Releases page. Download the appropriate archive for your system, extract it, and run the xmz
executable.
The binary is unsigned, so on macOS, you might need to run the following command to allow the system to run it:
xattr -r -d com.apple.quarantine xmz
Made with ❤️ in Rust