quick-xml VS exile

Compare quick-xml vs exile and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
quick-xml exile
4 1
1,102 5
- -
9.1 4.8
13 days ago 6 months ago
Rust Rust
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

quick-xml

Posts with mentions or reviews of quick-xml. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-09.
  • What are the scenarios where "Rewrite it in Rust" didn't meet your expectations or couldn't be successfully implemented?
    16 projects | /r/rust | 9 Jun 2023
    Exactly the same experience. In particular I ran into the issue that the only "ergonomic" API (that doesn't require hand-writing a parser) uses serde derive macros, but quick_xml doesn't handle namespaces. After about a day of this I stopped bike-shedding and just used lxml in Python. It works fine (and I have a large XML file, ~2.4Gb).
  • Fastest XML node parsing library in Rust
    2 projects | /r/rust | 8 Apr 2023
    You could try quick-xml.
  • Ask HN: A fast, Rust HTML parser that works?
    4 projects | news.ycombinator.com | 23 Feb 2023
    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.

  • Hey Rustaceans! Got an easy question? Ask here (41/2021)!
    5 projects | /r/rust | 11 Oct 2021
    This is not directly rust related, but I wanted to create some Excel document generator (and reader) library and was wondering if there are good resources available. In my limited research I tinkered with creating small documents, extracting their contents and looking at the xml inside. I‘m able to generate the same xmls using quick-xml.

exile

Posts with mentions or reviews of exile. We have used some of these posts to build our list of alternatives and similar projects.
  • MusicXML and Percussion Notation
    1 project | news.ycombinator.com | 10 Aug 2021
    I've been trying to work on this, specifically for the purpose of a Rust implementation on MusicXML and later MNX. XML is so hard though. First I created a tree parser since I didn't see anything at the time. Maybe there's a better tree/DOM parser now. Don't know. Here's mine https://github.com/webern/exile Proper handling of whitespace is probably the biggest drawback.

    In a private repo I've been trying to use the XSD spec to create a library that represents XSD correctly. This is where things get really hard.

What are some alternatives?

When comparing quick-xml and exile you can also consider the following projects:

xml-rs - An XML library in Rust

crates.io-index - Registry index for crates.io

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

serde-gura - Strongly typed Gura library for Rust

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.

vtkio - Visualization ToolKit (VTK) file parser and writer

tonic-example - Minimal example of using Tonic for client/server gRPC

rust-openssl - OpenSSL bindings for Rust

html5gum - A WHATWG-compliant HTML5 tokenizer and tag soup parser

concat-arrays - A rust macro for concatenating fixed-size arrays