lnmp-sanitize

Crates.iolnmp-sanitize
lib.rslnmp-sanitize
version0.5.16
created_at2025-11-19 11:12:19.526291+00
updated_at2025-12-19 10:02:36.679042+00
descriptionLenient sanitizer and normalizer for LNMP text inputs
homepage
repositoryhttps://github.com/lnmplang/lnmp-protocol
max_upload_size
id1939909
size43,977
Halil Esen (Madraka)

documentation

README

lnmp-sanitize

FID Registry: See registry/fids.yaml for official Field IDs.

Lenient sanitizer for LNMP text inputs. This crate performs lightweight whitespace cleanup, escape repair, and basic normalization so that downstream strict parsers can accept slightly malformed inputs from LLMs or user-written payloads.

The API is intentionally streaming-friendly and returns a Cow<'a, str> to avoid unnecessary allocations when the input already matches the expected format.

Commit count: 0

cargo fmt