utf8-stream 0.0.0

Lightweight crate that provides Utf8Stream that "streams" over utf8 chunks and derefs to string slices
Documentation
  • Coverage
  • 33.33%
    3 out of 9 items documented3 out of 8 items with examples
  • Size
  • Source code size: 18.39 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.68 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • gabrielfalcao

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"]
);