1
2
3
4
5
6
7
8
mod de; pub use de::*;

#[cfg(test)] mod tests;

unsafe fn from_utf8_unchecked(s: &[u8]) -> &str {
	debug_assert!(std::str::from_utf8(s).is_ok(), "Assumed string was valid UTF-8 {:?}", String::from_utf8_lossy(s));
	std::str::from_utf8_unchecked(s)
}