Skip to content

switch to quick_xml #100

Closed
Closed
@2bndy5

Description

@2bndy5

Currently, We're using a library to parse XML (from clang-format output) named serde-xml-rs. I found we can easily migrate to quick_xml instead.

Why?

This idea aims to resolve

  1. quick_xml is a faster XML parser:
    // serde-xml-rs vs serialize feature
    test bench_serde_quick_xml      ... bench:   1,181,198 ns/iter (+/- 138,290)
    test bench_serde_xml_rs         ... bench:  15,039,564 ns/iter (+/- 783,485)
    
  2. quick_xml is actively developed, whereas serde_xml_rs has not seen attention for over 2 years at this point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions