strseq
is a Rust library designed for handling multiple immutable string segments efficiently. It offers a lean approach to represent string hierarchies without constant delimiter checks or allocating distinct strings for individual tokens.
Compact Storage with StringSequence
:
Shared Sequences with SharedStringSequence
:
StringSequence
.Mutable Operations with MutableStringSequence
:
In your Cargo.toml
, add following:
strseq = "0.1.0"
serde
: Enables serialization and deserialization of StringSequence
and SharedStringSequence
, MutableStringSequence
using Serde. All defined structs are represented as list of strings.
We welcome contributions, feedback, and issues on our GitHub repository.