utilz 0.9.0

utilz provides miscellaneous utilities too small for their own crates.
Documentation
/// Escape the byte sequence using standard ASCII escape notation.
pub fn escape_str(bytes: &[u8]) -> String {
    String::from_utf8(
        bytes
            .iter()
            .flat_map(|b| std::ascii::escape_default(*b))
            .collect::<Vec<u8>>(),
    )
    .unwrap()
}

/// A helper struct returned by [nqs].
pub struct NoQuoteString<'a>(&'a str);

impl std::fmt::Debug for NoQuoteString<'_> {
    fn fmt(&self, fmt: &mut ::std::fmt::Formatter) -> Result<(), ::std::fmt::Error> {
        write!(fmt, "{}", self.0)
    }
}

/// Wrap the provided `&str` in a way that formatting will not quote it.
///
/// Useful for making pretty debug/display calls when used with `debug_struct`.
pub fn nqs(s: &str) -> NoQuoteString<'_> {
    NoQuoteString(s)
}