lnmp-sanitize 0.5.16

Lenient sanitizer and normalizer for LNMP text inputs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! 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.

mod mode;
mod sanitize;
#[cfg(test)]
mod tests;

pub use crate::mode::SanitizationLevel;
pub use crate::sanitize::{sanitize_lnmp_text, SanitizationConfig};