7 releases

0.3.0 Sep 9, 2024
0.2.1 Jul 9, 2023
0.2.0 Apr 26, 2023
0.1.3 Aug 29, 2021

#1261 in Data structures

Download history 20/week @ 2024-07-25 3/week @ 2024-08-01 100/week @ 2024-09-05 32/week @ 2024-09-12 12/week @ 2024-09-19 15/week @ 2024-09-26 6/week @ 2024-10-03

283 downloads per month

MIT license

33KB
967 lines

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.

Dependencies

~140–300KB