Decision Workspace
xmlsafe vs quick-xml vs nornir-escape
Side-by-side comparison of Rust crates
A streaming XML writer that protects you from XML injections through type safety.
High performance xml reader and writer
The ONE shared markup-escaping primitive for the nordisk constellation — XML/SVG entity escaping (`xml` → `& < > "` become `& < > "`, allocation-free `Cow` when the input is already clean). REUSE (LAW #5): seven BYTE-IDENTICAL `xml_escape`/`svg_escape` copies grew independently across nornir (viz `diagram`/`coverage_metrics_svg`, `arch`, `mimir`, `nornir-introspect`), edda (`nornir-testmatrix` coverage SVG) and Skidbladnir (`msi` WXS) — this leaf owns the canon so every SVG/XML emitter escapes the same four entities identically. std-only, ZERO runtime deps. Domain-coupled escapers (typst markdown→typst conversion, markdown table cells, asset-name slugs) STAY in their conductor (L5a).
Core Metrics
| xmlsafe | quick-xml | nornir-escape | |
|---|---|---|---|
| Health Score | 32 | 72 | 52 |
| Total Downloads | 9.0K | 460.2M | 356 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 30.7K | 8 |
| Releases | 8 | 104 | 2 |
| Last Updated | 1869d ago | 48d ago | today |
| Age | 5y 1m | 10y 8m | 2m |
Health Breakdown
Technical Details
| xmlsafe | quick-xml | nornir-escape | |
|---|---|---|---|
| Version | 0.5.3 | 0.42.0 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 0 | 13 | 1 |
| Crate Size | 6KB | 233KB | 15KB |
| Features | 0 | 7 | 2 |
| Yanked % | 100.0% | 3.9% | 0.0% |
| Edition | 2018 | 2024 | 2021 |
| MSRV | — | 1.86 | — |
| Owners | 1 | 3 | 1 |
Links
Quick Verdict
- •quick-xml leads with a health score of 72/100, but none of the options score above 80.
- •quick-xml is depended on by 30.7K crates — strongest ecosystem trust.
- •⚠ xmlsafe has not been updated in over a year.