Documentation can be found at https://docs.rs/is_utf8
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;
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.