Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises Learn more →
Top 15 Rust XML Projects
-
You could try quick-xml.
-
-
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.
-
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
-
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.
-
-
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.
-
-
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.
-
-
-
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.
-
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-...
-
-
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-25I'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
-
If I will find some time to spare will work on xml-mut. A simple XML mutation definition language resembling SQL.
-
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.
Rust XML related posts
- Ask HN: A fast, Rust HTML parser that works?
- Surprises in the Rust JSON Ecosystem
- What are some less popular but well-made crates you'd like others to know about?
- MusicXML and Percussion Notation
- Sitewriter - A rust library to generate sitemaps.
- fast-float - a super-fast float parser in Rust
-
A note from our sponsor - ONLYOFFICE
www.onlyoffice.com | 30 May 2023
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 |