merge_whitespace
This crate contains procedural macros for removing multiple consecutive whitespaces from a given string literal, replacing them with a single space.
Example
The example below uses an optional quotation character to keep quoted text ranges un-merged, as well as an optional escape character to ensure that quotation character literals are kept as-is.
use merge_whitespace;
const QUERY: &str = merge_whitespace!;
Alternatively, the merge_whitespace_utils::merge_whitespace function can be used to process variable input.