Small changes and bug fixes:
- Fixed #158: Add option to disable multi-threading support for embedded use.
- Fixed #158: Compilation would fail if
SNITCH_MAX_MESSAGE_LENGTH
andSNITCH_MAX_EXPR_LENGTH
were not the same. - Fixed #158 and #18: Use
std::to_chars
to avoid usingstd::snprintf
which is not always fully implemented. Ifstd::to_chars
isn't available, fallback to our own (slower but portable) implementation. - Fixed #164: Escaped characters could sometimes be truncated incorrectly if hitting the max message length.