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

#989 in Data structures

Download history 3/week @ 2024-06-29 22/week @ 2024-07-27 1/week @ 2024-08-03 113/week @ 2024-09-07 22/week @ 2024-09-14 13/week @ 2024-09-21 15/week @ 2024-09-28 2/week @ 2024-10-05

57 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–305KB