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 | reddit.com/r/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)! | reddit.com/r/rust | 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: https://github.com/netvl/xml-rs/issues/221

  • roxmltree

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

    Project mention: Surprises in the Rust JSON Ecosystem | reddit.com/r/rust | 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? | news.ycombinator.com | 2023-02-23

    So I'm doing some web scraping in Rust, and so I will need to parse HTML. [scraper](https://docs.rs/scraper/latest/scraper/) (which uses [html5ever](https://github.com/servo/html5ever)) is doing fine except that it's the bottleneck of my application.

    So I need a faster parser. I've tried [tl](https://docs.rs/tl/latest/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](https://docs.rs/kuchiki/latest/kuchiki/) is abandonded.

    I couldn't figure out how to get [lol-html](https://github.com/cloudflare/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](https://github.com/untitaker/html5gum) seems to be just an HTML tokenizer, or otherwise just too low-level. I have not yet tried [quick-xml](https://github.com/tafia/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 ims.gov.il and parses it into rust structs / json

    Project mention: Tauri Mobile – Develop Mobile Apps with JavaScript and Rust | news.ycombinator.com | 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 https://github.com/barakplasma/israel-weather-rs#running-on-...

  • 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. | reddit.com/r/cryengine | 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: https://github.com/Flone-dnb/cryengine-ui-helper

  • xml-mut

    xml mutation language resembling sql

    Project mention: What's everyone working on this week (17/2023)? | reddit.com/r/rust | 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 | reddit.com/r/bevy | 2023-05-04

    Repository: https://github.com/rayanmargham/bevy_xml

  • 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

Index

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
www.onlyoffice.com