thin-string

Crates.iothin-string
lib.rsthin-string
version0.3.0
sourcesrc
created_at2021-08-29 12:50:25.827171
updated_at2024-09-09 16:15:08.780656
descriptionA String with a smaller stack footprint
homepagehttps://github.com/Kl4rry/thin-string
repositoryhttps://github.com/Kl4rry/thin-string
max_upload_size
id443727
size33,556
Axel Kappel (Kl4rry)

documentation

https://docs.rs/thin-string

README

thin-string

ThinString is a mirror of String except it stores length and capacity in the allocation on the heap.
It uses thin_vec internally instead of a Vec. ThinString makes a best effort to support the whole std api where possible.

Compiler support

thin-string requires a nightly toolchain as it currently uses unstable features to mirror the internals of String.

Commit count: 18

cargo fmt