Skip to content

ioma8/xmz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xmz

CI License: MIT

A high-performance, zero-allocation XML parser with a TUI for interactive traversal.

Features

  • Blazing Fast: Parses large XML files at high speed by leveraging memmap and memchr.
  • 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.

Usage

xmz expects an XML file path as its first argument. You can optionally enable TUI mode.

TUI Mode

To explore an XML file interactively, run:

./xmz <path/to/your/file.xml> --tui

Stats Mode

To see statistics about the XML file, run:

./xmz <path/to/your/file.xml>

Building

To build the project from source, run:

cargo build --release

Download Binaries

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

About

Zero-allocation XML parser written in rust ❤️

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages