utf8-stream

Crates.ioutf8-stream
lib.rsutf8-stream
version0.0.0
created_at2025-06-26 02:27:02.591543+00
updated_at2025-06-26 02:27:02.591543+00
descriptionLightweight crate that provides Utf8Stream that "streams" over utf8 chunks and derefs to string slices
homepagehttps://github.com/gabrielfalcao/utf8-stream
repository
max_upload_size
id1726789
size18,891
Gabriel Falcão (gabrielfalcao)

documentation

https://docs.rs/utf8-stream

README

utf8-stream

Lightweight crate that provides Utf8Stream that "streams" over utf8 chunks and derefs to string slices.

Example

use charstream::Utf8Stream;

let stream = Utf8Stream::new("red❤️heart");
assert_eq!(
    stream.map(String::from).collect::<Vec<String>>(),
    vec!["r", "e", "d", "❤️", "h", "e", "a", "r", "t"]
);
Commit count: 0

cargo fmt