#extension #postgresql #tokio #small-string #smart-string

stack-string

A wrapper around SmartString which adds support for various extensions

35 releases (2 stable)

1.1.3 Aug 28, 2025
1.1.2 Mar 24, 2025
0.9.0 Apr 21, 2023
0.8.0 Dec 7, 2022
0.2.3 Mar 14, 2021

#323 in HTTP server

Download history 211/week @ 2025-08-23 350/week @ 2025-08-30 47/week @ 2025-09-06 27/week @ 2025-09-13 22/week @ 2025-09-20 66/week @ 2025-09-27 33/week @ 2025-10-04 21/week @ 2025-10-11 19/week @ 2025-10-18 18/week @ 2025-10-25 10/week @ 2025-11-01 23/week @ 2025-11-08 8/week @ 2025-11-15 2/week @ 2025-11-22 24/week @ 2025-11-29 31/week @ 2025-12-06

69 downloads per month
Used in 3 crates

Custom license

83KB
2.5K 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

~1–11MB
~233K SLoC