Crate features / quick-xml
Feature flags · quick-xml 0.42.0 · from crates.io 2026-10-24
quick-xml features: what each one does, and the line to copy
Short answerquick-xml 0.42.0 has 6 features. Nothing is on by default: turn on what you use. It needs Rust 1.86 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
async-tokio | tokio | |
encoding | encoding_rs | |
escape-html | nothing else (a switch the code checks) | |
overlapped-lists | nothing else (a switch the code checks) | |
serde-types | serde/derive | |
serialize | serde |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version quick-xml declares (rust-version), and the release that changed it:
- 0.26.0 (2022-10-23): Rust 1.46
- 0.27.0 (2022-12-25): Rust 1.52
- 0.31.0 (2023-10-23): Rust 1.56
- 0.40.0 (2026-05-11): Rust 1.79
- 0.42.0 (2026-08-22): Rust 1.86
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p quick-xml --precise <version>, or use resolver 3, which picks compatible versions for you.
More on quick-xml
Real downloads, dependents and alternatives: quick-xml crate data (1.5M real downloads a day, 2,687 dependents).
Security record: quick-xml advisories.
docs.rs feature list · crates.io · license MIT · edition 2024
Up next
Before you depend on itquick-xml crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?