use ;
/// Read a file to a string using `simdutf8` for faster UTF-8 validation.
///
/// This function is faster than `fs::read_to_string` which uses `std::str::from_utf8`
/// internally. It validates UTF-8 using SIMD instructions when available.
///
/// # Errors
///
/// Returns an error if:
/// - The file cannot be read
/// - The file contents are not valid UTF-8