jonwiggins

jonwiggins / xmloxide

Public

A pure Rust reimplementation of libxml2

47
1
100% credibility
Found Mar 01, 2026 at 38 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Rust
AI Summary

A memory-safe Rust library for parsing, validating, querying, and serializing XML and HTML documents, compatible with libxml2.

How It Works

1
🔍 Discover a safe XML helper

You hear about xmloxide, a reliable tool that reads and processes XML files without the risks of old software.

2
📦 Add it to your work

You bring it into your project easily, connecting it so it can handle your files right away.

3
📖 Feed it your XML

You give it your XML or HTML files, and it quickly understands the structure, even fixing small issues.

4
🔍 Search and check

You ask simple questions to find parts, validate rules, or transform the data just how you need.

5
💾 Save or use results

You turn the organized data back into files or pull out exactly what you want for your app.

Perfect XML handling

Your files process smoothly, fast, and securely, making your project stronger and worry-free.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 38 to 47 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is xmloxide?

xmloxide is a pure Rust reimplementation of libxml2, the go-to XML/HTML parsing library used everywhere from browsers to servers. It delivers full parsing (DOM, SAX, pull), XPath 1.0 queries, DTD/RelaxNG/XSD validation, C14N serialization, XInclude, and catalogs—all memory-safe with zero unsafe in the public API. Rust devs get a drop-in crate; C/C++ users get FFI bindings and an xmllint CLI clone.

Why is it gaining traction?

Libxml2 went unmaintained in 2025 with lingering security holes—this steps in as a safe, fast pure Rust alternative matching 100% W3C conformance and libxml2 perf (12% faster SVG parsing, 2x serialization). No global state, thread-safe docs, fuzzing, and benchmarks vs libxml2 hook devs ditching C risks for Rust reliability.

Who should use this?

Rust backend teams processing XML configs, SOAP APIs, or Maven POMs; C/C++ projects like game engines swapping libxml2 for safe FFI; CLI users needing xmllint for validation/XPath without deps.

Verdict

Grab it for new Rust XML work—docs shine, tests crush conformance suites—but 19 stars and 1.0% credibility scream early days. Prototype now; production wait for wider adoption.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.