#stack #string #diesel #extension #enums #wrapper #support #smartstring

stack-string

A wrapper around SmartString which adds support for various extensions

33 releases

0.8.0 Dec 7, 2022
0.7.4 Jun 8, 2022
0.7.3 Mar 27, 2022
0.4.2 Nov 30, 2021
0.2.3 Mar 14, 2021

#471 in Rust patterns

Download history 25/week @ 2022-10-03 21/week @ 2022-10-10 29/week @ 2022-10-17 59/week @ 2022-10-24 40/week @ 2022-10-31 77/week @ 2022-11-07 28/week @ 2022-11-14 69/week @ 2022-11-21 22/week @ 2022-11-28 56/week @ 2022-12-05 59/week @ 2022-12-12 23/week @ 2022-12-19 19/week @ 2022-12-26 11/week @ 2023-01-02 22/week @ 2023-01-09 16/week @ 2023-01-16

71 downloads per month
Used in 2 crates

Custom license

60KB
2K SLoC

stack-string-rs

codecov

This started out as a wrapper around smartstring::SmartString, adding support for diesel and tokio-postgres types. It has since expanded somewhat and now includes both a wrapper around smartcow (which is a cow type that combines SmartString and str) and SmallString an enum that is either an ArrayString with a const generic length or a heap String.

Dependencies

~0.5–8.5MB
~161K SLoC