| Crates.io | thin-string |
| lib.rs | thin-string |
| version | 0.3.0 |
| created_at | 2021-08-29 12:50:25.827171+00 |
| updated_at | 2024-09-09 16:15:08.780656+00 |
| description | A String with a smaller stack footprint |
| homepage | https://github.com/Kl4rry/thin-string |
| repository | https://github.com/Kl4rry/thin-string |
| max_upload_size | |
| id | 443727 |
| size | 33,556 |
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.
thin-string requires a nightly toolchain as it currently uses unstable features to mirror the internals of String.