#string #inline #no_std

nightly no-std istring

A replacement for String that allows storing short strings of length up to sizeof() - 1 without a heap allocation

15 releases

Uses old Rust 2015

0.2.1 Sep 12, 2020
0.2.0 Sep 12, 2020
0.1.13 Oct 20, 2018
0.1.12 Jun 23, 2018
0.1.5 Jul 23, 2017

#158 in Text processing

Download history 26/week @ 2020-05-30 13/week @ 2020-06-06 13/week @ 2020-06-20 13/week @ 2020-06-27 13/week @ 2020-07-04 26/week @ 2020-07-11 26/week @ 2020-08-08 26/week @ 2020-08-15 1/week @ 2020-08-22 26/week @ 2020-08-29 40/week @ 2020-09-05 26/week @ 2020-09-12

61 downloads per month

MIT license

21KB
609 lines


lib.rs:

A replacement for String that allows storing strings of length up to sizeof() - 1 without a heap allocation

That means on 32bit machines: size_of::() == 12 bytes, inline capacity: 11 bytes on 64bit machines: size_of::() == 24 bytes, inline capacity: 23 bytes

No runtime deps