#utf-8 #byte #valid #sequence #determine #avx #sse

is_utf8

Provides functions to determine if a sequence of bytes is valid utf-8

6 releases

0.1.4 Jan 28, 2020
0.1.3 Jan 8, 2020
0.1.2 Nov 25, 2019
0.1.1 Nov 17, 2019
0.1.0 Nov 16, 2019

#1296 in Text processing

Download history 26/week @ 2024-02-26 6/week @ 2024-03-11 95/week @ 2024-04-01

101 downloads per month

MIT/Apache

5MB
1.5K SLoC

is_utf8

Documentation

Documentation can be found at https://docs.rs/is_utf8

Usage

Add this to your Cargo.toml:

[dependencies]
is_utf8 = "0.1"

and this to your crate root (if you're using Rust 2015):

extern crate is_utf8;

License

This project is licensed under either of

at your option.

No runtime deps