Rust XML

Open-source Rust projects categorized as XML

Top 15 Rust XML Projects

  • quick-xml

    Rust high performance xml reader and writer

    Project mention: Fastest XML node parsing library in Rust | | 2023-04-08

    You could try quick-xml.

  • log4rs

    A highly configurable logging framework for Rust

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • xml-rs

    An XML library in Rust

    Project mention: Hey Rustaceans! Got a question? Ask here! (51/2022)! | | 2022-12-18

    xml-rs is an option but is currently regarded as unmaintained in the rust advisories database. Possibly changing, but the wording in this post doesn't give me good hopes:

  • roxmltree

    Represent an XML 1.0 document as a read-only tree.

    Project mention: Surprises in the Rust JSON Ecosystem | | 2023-01-19

    In regards to the benchmarks, It makes sense to measure serializing/deserializing for parser crates. but since we are talking about dom implementations, metrics like traversal/iteration speed or insert/modification performance would be useful. a good example is roxmltree crate (readonly xml dom) which benches traversal/iteration performance and shows that by only focusing on readonly usecases, it gains substantial performance gains.

  • sxd-document

    An XML library in Rust

  • html5gum

    A WHATWG-compliant HTML5 tokenizer and tag soup parser

    Project mention: Ask HN: A fast, Rust HTML parser that works? | | 2023-02-23

    So I'm doing some web scraping in Rust, and so I will need to parse HTML. [scraper]( (which uses [html5ever]( is doing fine except that it's the bottleneck of my application.

    So I need a faster parser. I've tried [tl]( which would've been perfect except that it doesn't actually work on the HTML I have. When I try to `query_selector` the elements I need, it returns nothing.

    [Kuchiki]( is abandonded.

    I couldn't figure out how to get [lol-html]( to work for me (it's designed for re-writing HTML, whatever that means). It doesn't seem to have an API to extract the inner text of an element.

    [html5gum]( seems to be just an HTML tokenizer, or otherwise just too low-level. I have not yet tried [quick-xml]( but judging from the README, it's pretty low-level too. I mean, if these are the only options left then I will try them. Otherwise, I would love to use a parser that's faster but as ergonomic as `scraper` or `tl`.

    At this point, I would be happy with an Lxml bridge/port of some sort. I don't need to mutate HTML, just parse and read data from it.

  • sxd-xpath

    An XPath library in Rust

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • RustyXML

    A XML parser written in Rust

  • sitewriter

    A rust library to generate sitemaps.

  • fast_xbrl_parser

    An XBRL parser built in Rust that provides a fast, easy, and lightweight way to convert XBRL XML files into JSON or CSV.

  • israel-weather-rs

    gets weather forecast xml from and parses it into rust structs / json

    Project mention: Tauri Mobile – Develop Mobile Apps with JavaScript and Rust | | 2023-03-01

    I used an Android app called Automate (from llama labs) to add Android notifications and UI around a Rust binary compiled for Android

  • exile

    XML in Rust (by webern)

  • cryengine-ui-helper

    Generate .gfx and .xml files for your CRYENGINE UI .swf file in just a few clicks.

    Project mention: [Free] Generate .gfx and .xml files for your CRYENGINE UI .swf file in just a few clicks. | | 2022-09-25

    I'm opened for any feature suggestions. This tool is free and open source (MIT licensed). You will find tool's repository at GitHub:

  • xml-mut

    xml mutation language resembling sql

    Project mention: What's everyone working on this week (17/2023)? | | 2023-04-24

    If I will find some time to spare will work on xml-mut. A simple XML mutation definition language resembling SQL.

  • bevy_xml

    Bevy XML Parser

    Project mention: Bevy_XML | | 2023-05-04


  • CodiumAI

    TestGPT | Generating meaningful tests for busy devs. Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-04.

Rust XML related posts


What are some of the best open-source XML projects in Rust? This list will help you:

Project Stars
1 quick-xml 897
2 log4rs 806
3 xml-rs 426
4 roxmltree 335
5 sxd-document 148
6 html5gum 134
7 sxd-xpath 112
8 RustyXML 97
9 sitewriter 20
10 fast_xbrl_parser 14
11 israel-weather-rs 6
12 exile 5
13 cryengine-ui-helper 1
14 xml-mut 0
15 bevy_xml 0
ONLYOFFICE Docs — document collaboration in your environment
Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises