#random-access #unicode-characters #position #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

#1761 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

~50–260KB