utf8-chars

Crates.ioutf8-chars
lib.rsutf8-chars
version3.0.3
sourcesrc
created_at2019-09-05 17:26:32.066706
updated_at2024-05-18 10:15:12.571766
descriptionChar-by-char iterator and `read_char` method for `BufRead`.
homepage
repositoryhttps://github.com/A1-Triard/utf8-chars
max_upload_size
id162476
size21,560
Warlock (A1-Triard)

documentation

https://docs.rs/utf8-chars/

README

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);
    }
}
Commit count: 113

cargo fmt