#utf-8 #iterator #chars #read-char

utf8-chars

针对BufRead的字符迭代器和read_char方法

32个版本 (12个稳定版本)

3.0.3 2024年5月18日
3.0.2 2024年2月19日
3.0.1 2023年8月22日
3.0.0 2023年6月23日
0.1.2 2019年9月30日

#197编码

Download history · Rust 包仓库 1223/week @ 2024-05-02 · Rust 包仓库 1397/week @ 2024-05-09 · Rust 包仓库 1289/week @ 2024-05-16 · Rust 包仓库 800/week @ 2024-05-23 · Rust 包仓库 1516/week @ 2024-05-30 · Rust 包仓库 1314/week @ 2024-06-06 · Rust 包仓库 1771/week @ 2024-06-13 · Rust 包仓库 1444/week @ 2024-06-20 · Rust 包仓库 1499/week @ 2024-06-27 · Rust 包仓库 966/week @ 2024-07-04 · Rust 包仓库 1153/week @ 2024-07-11 · Rust 包仓库 1705/week @ 2024-07-18 · Rust 包仓库 1123/week @ 2024-07-25 · Rust 包仓库 1188/week @ 2024-08-01 · Rust 包仓库 1333/week @ 2024-08-08 · Rust 包仓库 1440/week @ 2024-08-15 · Rust 包仓库

每月5,307次下载
16 个crate中使用 (12个直接使用)

MIT/Apache

21KB
330

maintenance: passively maintained

utf8-chars

针对BufRead的字符迭代器和read_char方法。

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

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

依赖项

~69KB