#utf-8 #iterator #read-char

utf8-chars

Char-by-char iterator and read_char method for BufRead

36 releases (16 stable)

new 3.0.7 May 11, 2026
3.0.6 Nov 15, 2025
3.0.5 Oct 19, 2024
3.0.3 May 18, 2024
0.1.2 Sep 30, 2019

#169 in Encoding

Download history 2069/week @ 2026-01-19 3681/week @ 2026-01-26 4610/week @ 2026-02-02 4466/week @ 2026-02-09 6095/week @ 2026-02-16 6049/week @ 2026-02-23 7108/week @ 2026-03-02 7225/week @ 2026-03-09 8015/week @ 2026-03-16 7422/week @ 2026-03-23 8808/week @ 2026-03-30 9897/week @ 2026-04-06 11200/week @ 2026-04-13 14278/week @ 2026-04-20 12437/week @ 2026-04-27 13792/week @ 2026-05-04

52,915 downloads per month
Used in 62 crates (27 directly)

MIT/Apache

21KB
334 lines

maintenance: passively maintained

utf8-chars

Char-by-char iterator and read_char method for BufRead.

use std::io::stdin;
use utf8_chars::BufReadCharsExt;

fn main() {
    for c in stdin().lock().chars().map(|x| x.unwrap()) {
        println!("{}", c);
    }
}

Dependencies

~66KB