#string #tokio-postgres #extension #diesel #cow #smart-string #smartcow

stack-string

A wrapper around SmartString which adds support for various extensions

33 releases

0.9.0 Apr 21, 2023
0.8.0 Dec 7, 2022
0.7.4 Jun 8, 2022
0.7.3 Mar 27, 2022
0.2.3 Mar 14, 2021

#1643 in Database interfaces


Used in 3 crates

Custom license

61KB
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.6–14MB
~207K SLoC