use-escape
Escaping and unescaping helpers for HTML, XML, JSON, CSV, and basic shell text.
Warning: versions below
0.3.0are experimental and may change as the crate surface is refined.
Example Usage
use ;
let html = escape_html;
let json = escape_json_string;
let unescaped = unescape_html;
let _ = ;
Scope
- HTML, XML, JSON, CSV, and shell-oriented escaping helpers
- lightweight unescaping for common named and numeric forms
- simple detection helpers for whether escaping is needed
Non-Goals
- security-grade shell escaping across all shells
- full HTML, XML, or JSON parsing
- sanitization suitable for security boundaries
License
Licensed under either of the following, at your option:
- MIT License
- Apache License, Version 2.0