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
License
MIT LicenseFollow quick-xml
Other Useful Business Software
Deploy Apps in Seconds with Cloud Run
Cloud Run is the fastest way to deploy containerized apps. Push your code in Go, Python, Node.js, Java, or any language and Cloud Run builds and deploys it automatically. Get fast autoscaling, pay only when your code runs, and skip the infrastructure headaches. Two million requests free per month. And new customers get $300 in free credit.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of quick-xml!