Crate simdutf8[][src]

Blazingly fast API-compatible UTF-8 validation for Rust using SIMD extensions, based on the implementation from simdjson.

Quick start:

use simdutf8::basic::from_utf8;

println!("{}", from_utf8(b"I \xE2\x9D\xA4\xEF\xB8\x8F UTF-8!").unwrap());

Modules

basic

Pure module for maximum speed on valid UTF-8 at the expense of early error detection and error details.

compat

Compat module for full compatibility with std::from_utf8