# tafia/quick-xml

Rust high performance xml reader and writer

Repository: https://github.com/tafia/quick-xml
Canonical: https://ross.abutalabs.com/products/quick-xml
Language: Rust
License: MIT
License Family: permissive
Topics: xml-parser, writer, serialization, deserialization, html, xml, pull-parser, performance-xml
Last push: 2026-08-23T17:45:47+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 3871, "days_push": 10, "days_rel": 11, "gap_med": 34.5, "n_releases_24m": 21}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1556, forks 290 (observed 2026-08-28T04:05:03.252381+00:00)

## What it is
quick-xml is a high-performance XML pull reader and writer library for Rust, featuring near zero-copy parsing with Cow types and buffer reuse. It supports multiple encodings, namespace resolution, entity unescaping, and optional serde-based serialization/deserialization.

## Use cases
- parse large xml files fast in rust
- read xml config files with low memory allocation
- write xml documents programmatically
- deserialize xml into rust structs with serde
- parse html-like markup
- stream-process xml events without loading whole document

## When to choose
- you need maximum xml parsing performance in Rust
- you want zero-copy or low-allocation parsing
- you need serde integration for xml
- you need encoding or namespace support

## When to avoid
- you need DOM-style tree access rather than pull events
- you need full XML schema validation
- you are not working in Rust

## Facets
- artifact type: library
- maturity: stable
- function: parser, serialization, web-scraping
- domain: parsers, web-development, developer-tools
- platform: rust, cross-platform
- tags: xml, pull-parser, zero-copy, serde-support, html-parsing

## Member repositories
- tafia/quick-xml (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:03.252381+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:30:00.008232+00:00, confidence not recorded.
  - readme: https://github.com/tafia/quick-xml (fetched 2026-08-28T04:05:03.252381+00:00, sha 3e240230016f)
  - registry_crates: https://crates.io/api/v1/crates/quick-xml (fetched 2026-08-29T11:29:56.821910+00:00, sha a72bb3276ca0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
