Skip to main content

Crate lnmp_sanitize

Crate lnmp_sanitize 

Source
Expand description

Lenient sanitization layer for LNMP text inputs.

The sanitizer performs lightweight whitespace normalization, quote/escape repair, and optional boolean/number canonicalization before handing text to the strict LNMP parser.

Structs§

SanitizationConfig
Configuration options for sanitization.

Enums§

SanitizationLevel

Functions§

sanitize_lnmp_text
Leniently sanitizes LNMP-like text. When no changes are required the input is returned by reference to avoid allocations.