High-performance xml pull reader/writer. The reader is almost zero-copy (use of Cow whenever possible) It is easy on memory allocation (the API provides a way to reuse buffers) It supports various encoding (with encoding feature), namespaces resolution, and special characters. Syntax is inspired by xml-rs. When using the serialize feature, quick-xml can be used with serde's Serialize/Deserialize traits. The mapping between XML and Rust types, and in particular the syntax that allows you to specify the distinction between elements and attributes, is described in detail in the documentation for deserialization.

Features

  • Syntax is inspired by xml-rs
  • It remains about 10x faster than serde-xml-rs
  • Supports non utf8 xmls
  • Benchmarking is hard and the results depend on your input file and your machine
  • Zero-copy (use of Cow whenever possible)
  • Easy on memory allocation

Project Samples

Project Activity

See All Activity >

Categories

XML, HTML/XHTML

License

MIT License

Follow quick-xml

quick-xml Web Site

Other Useful Business Software
Go from Data Warehouse to Data and AI platform with BigQuery Icon
Go from Data Warehouse to Data and AI platform with BigQuery

Build, train, and run ML models with simple SQL. Automate data prep, analysis, and predictions with built-in AI assistance from Gemini.

BigQuery is more than a data warehouse—it's an autonomous data-to-AI platform. Use familiar SQL to train ML models, run time-series forecasts, and generate AI-powered insights with native Gemini integration. Built-in agents handle data engineering and data science workflows automatically. Get $300 in free credit, query 1 TB, and store 10 GB free monthly.
Try BigQuery Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of quick-xml!

Additional Project Details

Programming Language

Rust

Related Categories

Rust XML Software, Rust HTML XHTML

Registered

2023-05-02