utf8next 0.1.1

A simple function for getting the next character and its length in bytes from a string.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
A micro-crate for getting the next char in a string slice.

```rust
use utf8next::{
    NonEmtpy,
    next_char_with_len,
}
if let Some(non_empty) = NonEmpty::new("hello, world") {
    let (chr, chr_len) = next_char_with_len(non_emtpy);
    assert_eq!(chr, 'h');
    assert_eq!(chr_len, 1);
} else {
    panic!("String was empty.");
}
```