3 unstable releases
Uses old Rust 2015
0.1.1 | Nov 12, 2017 |
---|---|
0.1.0 | May 17, 2017 |
0.0.1 | Dec 13, 2015 |
#1735 in Text processing
3,995 downloads per month
Used in 39 crates
(via rustfmt)
93KB
2.5K
SLoC
Utility string data structures for Rust
Currently contains (more welcome):
- Rope - an unbalanced rope - efficient append, insertion, and removal of substrings;
- SrcRope - an unbalanced rope which allows for insertion etc. based on the original positions in the string as well as the current postitions;
- StringBuffer - a String/linked list hybrid which is efficient for appending strings and iteration over characters from the start of the string.
All data structures are unicode (UTF8) based and interact as closely as possible with Rust strings.
TODO document char iterators
TODO
share code between rope and src_rope balanced rope
Dependencies
~165KB