#random-access #position #unicode-characters #file #line-ending

random_access_unicode

Provide random access to the unicode characters in a file

7 releases

0.2.5 Dec 31, 2021
0.2.4 Dec 31, 2021
0.1.0 Dec 30, 2021

#1416 in Text processing

GPL-3.0 license

6KB
87 lines

A Rust crate that provides random access to the unicode characters in a file

To provide slightly better performance than just scanning the string it maintains a buffer of line ending positions.

Dependencies

~51–260KB