Crates.io | strseq |
lib.rs | strseq |
version | 0.1.1 |
source | src |
created_at | 2023-09-23 10:03:33.14164 |
updated_at | 2023-09-24 01:38:05.667934 |
description | A string sequence library for Rust |
homepage | |
repository | https://github.com/kang-sw/strseq-rs |
max_upload_size | |
id | 981158 |
size | 36,548 |
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.